This is a tutorial on IBatis . IBatis is a persistence framework which enables mapping SQL queries to POJOs (Plain Old Java Objects). The SQL queries are decoupled from an application by putting the queries in XML files. Mapping of the retrieved objects is automatic or semi-automatic.
IBatis couples objects with stored procedures or SQL statements using a XML descriptor.iBatis provides a set of APIs which can be used to call these statements written in an XML file. Also since IBatis gives you the power to write any SQL query in the XML file, there is nothing that IBatis cannot achieve, thus making it a very good persistence framework.IBatis is simple to learn and anyone who can write SQL queries can very well work on this.
With IBatis you can write Inline queries, Dynamic SQL, Stored Procedures. Ibatis supports calling stored procedures directly; Also Ibatis makes sure that the SQL queries are very loosely coupled to the application code.
Ibatis also supports lazy loading, joins, and caching.
Ibatis is different as it does not bind fields to columns but binds parameters and results to the SQL statements. Also performance of IBatis is good, and it is portable across various platforms.
Click Here to download iBatis from Ibatis website. Once downloaded , just unzip the contents in a folder .Go to the folder where you have unzipped the folder and you can find the following jars in the “lib” folder . ibatis-common-2.jar ibatis-sqlmap-2.jar ibatis-dao-2.jar
Also Read : IBatis vs Hibernate ? Which one to choose?
Introduction to IBatis Tutorial -Part 2
IBatis Tutorial – Sample Application Step 1



5 comments
Ibatis Tutorial - Sample Application Step 3 - Golmuri says:
August 17, 2008 at 3:44 pm (UTC 5.5)
[...] Read : IBatis vs Hibernate ? Which one to choose? IBatis Tutorial – Sample Application Step 4 Introduction to IBatis Tutorial -Part 1 Share and [...]
Like or Dislike:
1
0
Rutuja says:
August 26, 2008 at 12:09 pm (UTC 5.5)
That was knowledgeable!!
Like or Dislike:
1
1
Rajneesh says:
May 6, 2010 at 10:31 am (UTC 5.5)
Thanks for sharing your knowledge . I am using ibatis on one of our client project.
Like or Dislike:
1
0
Lucille Rockenbach says:
May 13, 2010 at 10:36 am (UTC 5.5)
I was looking for this the other day. i dont usually post in forums but i wanted to say thank you!
Like or Dislike:
2
1
Rupesk says:
July 28, 2010 at 3:41 pm (UTC 5.5)
Looks good
Like or Dislike:
0
0