An Oracle blog about Java Technology

IBatis working under GlassFish - More frameworks sought...

Guest Author

IBatis logo

I had not heard about IBatis until I saw it mentioned yesterday in
Samuel's blog.
But then today I saw it also mentioned in the
OnJava survey, so I thought it would be worth a look.
From their web site, iBATIS Data Mapper is a framework for using database with both Java and .NET applications that couples objects with stored procedures or SQL statements using a XML descriptor. They claim they are simpler than traditional object relational mapping tools, but I have no separate testimonials yet.

I think it would be useful to get two types of feedbacks to this posting. One is, do you like IBatis? The other is, do you have other frameworks that you are currently running on


Join the discussion

Comments ( 2 )
  • Leo Chan Thursday, December 8, 2005
    I am currently using iBatis in two of my j2EE projects. I do like it because it is very flexible to map relational tables to objects. You can use it with complex sqls, dynamic sqls, stored procedures, views, etc. It is basically allow you to map your sql output to a JavaBean object. The downside is that you have to do all the mapping yourself. You have to have a individual mapping for insert, delete, select and update statement. The upside is that it is just so flexible that you can map it however you want. This also allow you to do performance tuning in the SQL statement.
  • Christopher Elkins Thursday, December 8, 2005
    Yesterday I tried to get a webapp that uses Hibernate 3.0.5 running on b29 but failed miserably because GlassFish apparently adds ASM 2.x to the classpath. Hibernate 3.0 relies on CGLIB 2.x, which relies on ASM 1.x, which is API-incompatible with ASM 2.x, so my app experiences an unrecoverable error during context initialization.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.