grab our rss feed  Follow us on twitter

s2sgateway

Practical Learning of Programming languages such us j2ee,java,jsp

To Download Our Web-Application Free E-book Enter your Mail Address Below

Enter your E-mail Address to Subscribe Tutorials and Free Projects:

  Powered by FeedBurner

TCS Aptitude questions 2010

Hai readers i would like to help you more by providing some latest questions given by friends who attend the interview
These are some of example questions asked in the TCS recruitment drive happened in AUG2010,
There are total of 35 questions and 1hour is given, as these tests are online based.
In this test most of the questions are
1.Problems on age (most of them)
2.Probability bases questions both permutation and combination don’t worry they give a link to find the formulas
3.Some questions are statement questions
4.Some other GRE Barrons paragraph based questions
In most of the questions they have added some story so it is tough for you to understand the questions,so neglect the story and concentrate on data only.
All the Best

Free windows 7 E-book and Magazine Download Now

Hi all,There is an amazing and useful offer i am going to share with you guys
Just register in the below link and get

Free Windows 7 E-book and Magazine

Remember to fill all the details because incomplete forms are not processed.
This E-book is a vital need for students, faculty, staff and administrators in education today is effective, productive access to and control of technology. Learn how Windows 7 can help maximize results with a scarce budget and people resources for schools and campuses.



GET MORE FREE E-BOOKS
Free ORACLE MAGAZINE

Happy Weekend

JSF introduction

Hi all,Today i want to give some introduction about another leading technology in j2ee environment JSF(java server faces).
JSF is a server-side technology for developing web applications,It is also an MVC framework for ensuring applications are maintained in proper and simple way,It is an event driven framework,and uses xml file faces-config.xml

Advantage of JSF

1.It gives standard valuable component for creating user interface
2.It has many tag libraries for accessing and manipulating the components
3.JSF automatically saves the form data and republish and repopulates the form when it is displayed at client side
4.For each request many events are handled by JSF
5.Reusability is the biggest advantage when it comes to use several forms in same page

So we have seen some introduction from next tutorial we see examples about JSF

TCS Recruits Freshers 2009-2010 batches Apply now

TCS is going to recruit freshers of 2009 and 2010 batches of B.E,B.Tech,MCA

etc so just login to TCS careers site apply and get a DTReference No.
Follow the method goto http://careers.tcs.com->Select Entry Level->Direct Applicant->Select Eng/PG Graduate->and get DT Ref No.

If you unable to attend below interview venue comment here so that i will inform you about other venue later

Attend the interview on 28aug2010 at Namakkal

Address
Muthayammal Engineering College
Rasipuram,
Namakkal,
ph:04287-226387/220837

All the Best

How to get Free backlinks for our site

Today i am going to tell you guys about how to get free backlinks for our site,Getting backlinks from a related site is very important for getting page rank in google and getting alexa rank as well.
Below are the sites which give you backlinks once you submitted your website,you may wonder what is the use of checking our whois information it is one of the site which stores information about our site once we check our site info so that it appears in search engine as well.

http://www.frontpagecontent.com/back-link-builder.php
http://www.statbrain.com/
http://www.builtwith.com/
http://snapshot.compete.com/
http://www.aboutus.org/
http://www.quantcast.com/
http://www.cubestat.com/
http://whois.tools4noobs.com/
http://www.alexa.com/ 1
http://www.alexa.com/ 2
http://www.siteadvisor.cn/
http://whois.domaintools.com/
http://www.aboutdomain.org/
http://www.whoisya.com/
http://www.who.is/whois-com/
http://www.robtex.com/dns/
http://www.zimbio.com/
http://whois.ws/
http://whoisx.co.uk/
http://www.wikifox.de/
http://searchanalytics.compete.com/
http://www.protect-x.com/
http://www.feedest.com/
http://www.keyworddir.info/

so submit today and get free backlinks.Happy weekend

Struts hiberanate integration tutorial part2

Today i am going to give you a complete working struts-hibernate integration project.To see the part1 struts-hibernate tutorial click here
This project uses the hibernate plugin to create the session factory and uses hibernate mapping file hibernate.hbm.xml to create the necessary table values
The hibernte mapping xml file contains the below values

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
<hibernate-mapping auto-import="true" default-lazy="false">
<class name="com.s2sgateway.Marks" table="marks">
<id name="id" type="java.lang.Integer" column="Id" unsaved-value="null">
<generator class="native" />
</id>
<property
name="last_name" type="java.lang.String"
column="Last_name" not-null="true" length="100"/>
<propertyname="first_name" type="java.lang.String"
column="First_name"not-null="true"length="100"/>
<property name="subject1" type="java.lang.Integer"
column="subject1" not-null="true"/>
<property name="subject2" type="java.lang.Integer"
column="subject2" not-null="true"/>
<property name="subject3" type="java.lang.Integer"
column="subject3" not-null="true"/>
<property name="total" type="java.lang.Integer"
column="Total" not-null="true"/>
</class>
</hibernate-mapping>

using this mapping file you can create required no of columns to your project
The hibernate configuration file is as follows

<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate
Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<property name="hibernate.connection.driver_class">
com.mysql.jdbc.Driver</property>
<property name="hibernate.connection.url">jdbc:mysql://localhost/s2sgateway</property>
<property name="hibernate.connection.username">root</property>
<property name="hibernate.connection.password">root</property>
<property name="hibernate.connection.pool_size">10</property>
<property name="show_sql">true</property>
<property name="dialect">
org.hibernate.dialect.MySQLDialect</property>
<property name="hibernate.hbm2ddl.auto">update</property>
<!-- Mapping files -->
<mapping resource="/com/s2sgateway/Marks.hbm.xml"/>
</session-factory>
</hibernate-configuration>

In this file the mapping file marks is mapped as resource to create the table and the hibernate.hb.2ddl.auto is set to update so table once created then values is updated thereafter
The action file contains the code needed to call the session factory from the hibernate plugin for hibernate plugin to work simply add these statement in struts-config.xml file

<plug-in className="com.s2sgateway.HibernatePlugIn">
</plug-in>

The hibernate plugin file is included in example project you are about to download at the end of this tutorial.The plugin create the mapping and opens the session from there values are get and marks are added


package com.s2sgateway;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.ServletContext;
import java.util.List;
import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;
import com.s2sgateway.HibernatePlugIn;
import com.s2sgateway.Marks;
import org.hibernate.SessionFactory;
import org.hibernate.Session;
public class AddMarksPageAction extends Action {
public ActionForward execute(
		ActionMapping mapping,
		ActionForm form,
		HttpServletRequest request,
		HttpServletResponse response) throws Exception{
AddMarksPageActionForm formObj = (AddMarksPageActionForm)form;
ServletContext context = request.getSession().getServletContext();
/*Retrieve Session Factory */
SessionFactory _factory = (SessionFactory)
context.getAttribute(HibernatePlugIn.SESSION_FACTORY_KEY);
/*Open Hibernate Session */
Session session = _factory.openSession();
try {
			//Inserting Marks to Table
			Marks marks = new Marks();
      			marks.setFirst_name(formObj.getFirstname());
			marks.setLast_name(formObj.getLastname());
       			marks.setEnglish(formObj.getEnglish());
         		marks.setMaths(formObj.getMaths());
           		marks.setPhysics(formObj.getPhysics());
			marks.setTotal(new Integer(formObj.getEnglish().intValue()
+formObj.getMaths().intValue()+formObj.getPhysics().intValue()));
session.beginTransaction();
session.save(marks);
 session.getTransaction().commit();

		} catch(Exception e) {
          		session.getTransaction().rollback();
		}

		//Fetching result list
		List result=session.createQuery("from Marks order by total desc").list();
request.setAttribute("result",result);
/*Close session */
session.close();
return mapping.findForward("success");
}
}

The index file get the values in the struts-html.tld,html:text box and call the struts-config.xml action and then it is transferred to action file to process the values and display the values in the same page.
Download the complete Project Here strutshibernates2sgateway
Any doubt ask us by comments.

Fresher IT Jobs and Experienced IT Jobs apply now

Hai all, this post is specially for job seekers who are searching to find a suitable job.Finding a correct and suitable job is not so easy in this part of the world so,i decide to provide the latest job information for all you guys.So, register and upload your resume today to get a job in no time.

POST YOUR RESUME TODAY

Fresher IT jobs Webdesigners and PHP programmers

One of our partner company requires Fresher IT jobs Webdesigners and PHP programmers

Company ith
Experience 0-7

Industry IT / Computers – Software
Job Category IT – Software
Skills webdesigners, php, marketing
Location :India-Delhi-New Delhi011
APPLY HERE AND POST RESUME

Freshers job ASP.net/visual basic developer needed

Designation :ASP.Net / Visual Basic Developer
Company :MetaSys Software
Experience :1-4
Industry :IT / Computers – Software
Job Category :IT – Software
Skills :ASP.Net, Visual Basic
Location :India-Maharashtra-mumbai
Job Profile:

To develop and implement applications on .Net platform and Visual Basic. Experience of developing applications on Visual Basic, ASP.Net 2.0 and web applications with MS SQL Server 2005 is essential.
Even if you are not eligible for the above job post your resume to get more job
APPLY HERE AND POST RESUME

Fresher jobs seo optimizer needed 0-1 years

Designation :Search Engine Optimizer
Company :D eo Volente
Experience :0-1
Industry :IT / Computers – Software
Job Category :Graphic / Web Design
Skills :Search Engine Optimization, Google Web Promotion,Yahoo, MSN, Web Optimisation
APPLY HERE AND POST RESUME