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