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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

petmagdyCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java EE

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.