[Advanced-java] java persitence
Mahesh Geeniga
maheshg at 3veni.com
Wed Jun 18 19:35:17 2003
http://directory.google.com/Top/Computers/Programming/Languages/Java/Databases_and_Persistence/Object_Persistence/
The above link has a whole list of different ways to achieve persistence.
Has anybody tried the different options and what is their favorite method ?
Mahesh
Mahesh Geeniga wrote:
> 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
>
> _______________________________________________
> Advanced-java mailing list
> Advanced-java@lists.xcf.berkeley.edu
> http://lists.xcf.berkeley.edu/mailman/listinfo/advanced-java
>