[Advanced-java] java persitence
Mahesh Geeniga
maheshg at 3veni.com
Wed Jun 18 19:25:19 2003
Hi,
What is the best (performance wise) way for making java objects persistent ?
After searching the net, i found lots of ways for saving the state of
objects.
But my application needs a fast method for saving and retrieving data
and i am not sure about which approach to use.
- I do not want to use java serialization, because i want something
faster and more efficient.
- JDO looks promising, but i have read that it is slower than straight
JDBC by about 20-30%.
Has anybody used it extensively and what was your experience?
- straight forward and direct mapping of java objects to database tables
using JDBC seems like the fastest way to do it.
But i want to explore other options before i commit myself to
writing and maintaining all the SQL code.
Any suggestions or pointers to other ways of persistence are welcome.
thanks,
Mahesh