Spring: Integrating iBATIS
O'Reilly Book Excerpts: Spring: A Developer's Notebook

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."

But don't be afraid: with the responsibility of SQL comes some significant power, and Spring is designed to make iBATIS easier through the use of templates. In this excerpt, the authors walk you through installing iBATIS and integrating it with your Spring application. They show you how to take SQL statements you've written and map them to beans for iBATIS' use. Finally, they discuss the advantages and disadvantages of iBATIS and why it is the way it is, calling it "an elegant compromise between full OR and JDBC."

As with all books in the Developer's Notebook series, you'll get the information in a straightforward, factual style, with the details you need to get the job done. In other words: "All lab, no lecture."

Download Integrating iBATIS from Spring: A Developer's Notebook (PDF, 136 KB).


View catalog information for Spring: A Developer's Notebook

Return to ONJava.com.

Close    To Top
  • Prev Article-Java:
  • Next Article-Java:
  • Now: Tutorial for Web and Software Design > Java > JDOnJDBCnSQLJ > Java Content
    Photoshop Tutorial
     

    Special Effect

      3D Effect
      Photoshop Articles
    Programming Tutorial
     

    C/C++ Tutorial

      Visual Basic
      C# Tutorial
    Database Tutorial
     

    MySQL Tutorial

      MS SQL Tutorial
      Oracle Tutorial
    Geek Tutorial
     

    Blogging Tutorial

      RSS Tutorial
      Podcasting Tutorial
    Graphic Design Tutorial
      Coreldraw Tutorial
      Illustrator Tutorial
      3D Tutorials
    Webmaster Articles
     

    Domain Service

      Web Hosting
      Site Promotion
    Java Tutorial/ Articles
     

    Java Servlets

      JavaEE Tutorial
     

    JavaBeans Tutorial

    XML Tutorial/ Articles
     

    XML Style

      AJAX Tutorial
      XML Mobile
    Flash Tutorial/ Articles
     

    Flash Video

      Action Script
      Flash Articles
    OS Tutorial/ Articles
      Linux Tutorial
      Symbian Tutorial
      MacOS Tutorial
    Personal Tech
      Hardware Tutorial
      Software Tutorial
      Online Auction