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
lcoolsinghAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
petmagdyConnect With a Mentor Commented:
JDO is not correspondent or competing with JDBC JDO is competing with EJB Entity beans, JDO is an object that presents a Presistant entity, which means it is needed to be stored into database and JDO uses JDBC to store its data into database. for more information refer to those links:

http://www.jguru.com/faq/view.jsp?EID=1078764

http://www.javaolympus.com/J2SE/Database/JDO/JDO.jsp
0
 
lcoolsinghAuthor Commented:
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
0
 
petmagdyCommented:
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
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
lcoolsinghAuthor Commented:
Im going to be developing a standalone desktop information system, surely JDBC would be appriopiate 4 this?

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

From novice to tech pro — start learning today.