• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Persistence Question

 
Patrick Mugabe
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We have been working on quite a big project using JDBC and webservices running on axis. Recently we have decided to use the glassfish application server and my question is which persistence method would you recommend, CMP, hibernate or TopLink.
[ October 23, 2006: Message edited by: Patrick Mugabe ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.

Anything will be better than straight JDBC.

I am biased, because I work for JBoss.

Mark
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mark Spritzler:
Yes. Anything will be better than straight JDBC.


Well put, Mark.

I would recommend using JPA. That way you can choose the persistence provider that best suits your needs and not be locked into any particular one. Glassfish ships with TopLink Essentials but there are also blogs that show how to easily plug Hibernate in if you choose to do that. Either way, and whichever product you choose, if you stick to using the JPA API you will be in good shape for the future.

-Mike
(TopLink Architect)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic