I almost agree, but one point of clarification: iBATIS is not ORM,
which is a way to map tables and views to Java beans.

iBATIS is SQL mapping, and there are a few key differences. First and
foremost is that you can map from anything to anything.

Not just tables and views to beans, but also queries or stored
procedures to beans or Maps or even XML - one way to look at iBATIS is
just as JDBC made simple. No more connection /statement/resultset
resource management, no more indexed parameter mapping, no more
StringBuilder SQL statement builders. Just simple (or complex) SQL
mapped to java objects.

For some interesting reading on why I use tools like iBATIS instead of
ORM tools, here are some articles on the topic...

http://www.codinghorror.com/blog/archives/000621.html

http://blogs.tedneward.com/2006/06/26/The+Vietnam+Of+Computer+Science.aspx

Larry


On 7/29/06, Tomi NA <[EMAIL PROTECTED]> wrote:
On 7/29/06, Phil (waex) <[EMAIL PROTECTED]> wrote:
> Hi,
> Sorry for if this question is slightly off topic, I'm revisiting my work
> practices at the moment and I'm considering the usage of various frameworks
> to replace hand coding.
> I was wondering if any of the users in the list use Ibatis in production /
> commercial systems for data persistence to RDB, or if someone have some
> dreadful stories prevent me from looking further into it. It looks to me
> that it is quite easy to use and the learning curve is not as steep as
> Hibernate for instance.

Use whatever ORM technology you like - iBatis, Hibernate, Cayenne -
just don't fall back to writing volumes of mixed Java or JSP and SQL
code.
You'll always be able to handcode (e.g. in stored procedures) a couple
of critical points of your application, but for most applications,
you'll be jumping for joy working with clean OO code, leaving all the
gory details (sql injection, statement construction etc.) to the ORM
framework.

Cheers,
t.n.a.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to