Link to home
Start Free TrialLog in
Avatar of lcoolsingh
lcoolsingh

asked on

JDO

Hey all,

Just wanted to know if JDO is alternative to JDBC? I.e which is the best to use for database conectivity?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of petmagdy
petmagdy
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lcoolsingh
lcoolsingh

ASKER

Hi again,

Thanks for the reply... Basically im goin to be doin alot of database work with java, so would you recommend me using JDBC? Or is their some other database API/Interface for example that i can use with java for accessing data from a database?

Thanks
In all cases u will use JDBC but I recommend that u use a persistance technology to ease the development and increase ur productivity, if ur application server is J2EE 1.3 complaint go for the EJB model (Session + entity beans) and use the paterns found at:

http://java.sun.com/blueprints/patterns/index.html

if not their is a lot of alternative persistance technologies like:
1- hibernate refer to http://www.hibernate.org/
2- Toplink refer to http://otn.oracle.com

Good luck
Im going to be developing a standalone desktop information system, surely JDBC would be appriopiate 4 this?

Thanks
Yes and u can Adopt JDO too
If your datastructures are simple, you can just use plain object serialization or XML to save your persistant data.