iBatis « Database JDBC « Java Articles

Java Articles
1. Build Deploy
2. Class
3. Core Library
4. Data Types
5. Database JDBC
6. Design
7. Development
8. File Input Output
9. Graphics Desktop
10. J2EE Enterprise
11. J2ME Wireless
12. JVM
13. Language
14. Library Product
15. Network
16. Security
17. SOA Web Services
18. Test
19. Web Development
20. XML
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
Photoshop Tutorial
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Articles » Database JDBC » iBatis 
1. Spring: Integrating iBATIS
"iBATIS seems to get left out of a lot of discussions of object-relational (OR) frameworks, often in favor of the very popular Hibernate. But as Spring: A Developer's Notebook authors Bruce Tate and Justin Gehtland note, iBATIS walks a very different path than many OR frameworks: "iBATIS makes no attempt to hide SQL from you at all. In fact, it embraces SQL.""

2. iBatis DAO
"iBatis Data Access Object (DAO) is an open source framework now hosted by Apache and targeted at solving these type of problems. It provides you with an infrastructure for creating applications based on the DAO pattern. What this means is that you can create a XML file and declare that XMLContactDAO.java is the implementation class for ContactDAO, which knows how to read and write contacts in an XML file instead of a RDBMS. SQLMapContactDAO is an implementation class that knows how to interact with the CONTACT table using SQL Maps as its persistence framework. Inside your application, you ask the DAO framework for an implementation of ContactDAO for XML, and it will provide you with an XMLContactDAO object. Also, the DAO framework provides you with a uniform interface to handle transaction management, irrespective of what persistence mechanism you use. It will also take care of the low-level details of connection management and initializing persistence frameworks."

3. Wake Up to iBATIS, the Hibernate Alternative for Spring
"Currently, the vast majority of Spring documentation recommends using Hibernate to infuse your Spring application with a data-persistence layer. While Hibernate is certainly an excellent technology, it is not always the right choice. Fortunately, Spring empowers developers with the ability to easily switch between component technologies, and the persistence layer is no exception. This article explores a lesser-known Java persistence solution?iBATIS, describing the situations in which it shines and actually may be a superior technology to Hibernate for your Spring development."

4. Comment lines: Roland Barcia: Tired of hand coding JDBC? Use iBatis as a data mapping framework instead
"There is an object relational mapper out there that is a hidden gem. Instead of creating a full domain model, its job is to map Java objects directly to SQL statements. This framework is called iBatis, and its goal is to implement 80% of the JDBC boilerplate code you would otherwise have to do yourself. In addition, it provides a simple mapping and API layer that lets developers quickly develop data access code."

5. Using iBatis SQL Maps for Java Data Access
"A JavaBean is passed to this SQL Maps statement. The bean's properties are referenced with the syntax #{property}#. The executeUpdate method is used to insert, update, or delete from a database."

6. Improve persistence with Apache Derby and iBATIS, Part 1: Initial configuration, semantics, and a simple test
"The iBATIS database-mapping framework -- a popular Java framework for object-relational (OR) mapping -- is now an Apache open source project. This tutorial is the first in a three-part series demonstrating how to combine Apache Derby's power as a small-footprint embeddable database with iBATIS and use this combination to improve persistence in your database-driven Java applications. In Part 1, you learn about iBATIS's advantages as a persistence mechanism and focus on the iBATIS Data Mapper framework."

w_w___w__.__j___a___v_a__2_s___.c___o_m_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.