Ibatis Tutorial – Sample Application Step 2

August 8th, 2008 by admin Leave a reply »

Step 2: Create a package and a java object .



package com.Employee
import java.io.Serializable;
public class Employee implements Serializable {
private int employeeID;

private String firstName;
private String lastName;
private String email;

public int getEmployeeID() {
return employeeID;
}
public void setEmployeeID(int employeeID) {
this.employeeID = employeeID;
}
…..

}


Similarly have a getter and setter for other attributes as well .

Also Read : IBatis vs Hibernate ? Which one to choose?
IBatis Tutorial – Sample Application Step 3
Introduction to IBatis Tutorial -Part 1

Related Posts with Thumbnails
Share :
  • Digg
  • del.icio.us
  • StumbleUpon
  • Technorati
  • BlinkList
  • IndianPad
  • Reddit
  • Print
  • email
  • Facebook
  • Furl
  • Mixx
  • NewsVine
  • Socialogs
  • Add to favorites
  • blogmarks
  • Blogosphere News
  • Blogplay
  • blogtercimlap
  • FriendFeed
  • Google Bookmarks
  • LinkArena
  • LinkedIn
  • Live
  • MySpace
  • RSS
  • Twitter
  • Webnews.de
  • Wikio
  • Yahoo! Buzz

Advertisement

Leave a Reply