This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes JDBC and the fly likes Data access object for beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Data access object for beginner" Watch "Data access object for beginner" New topic
Author

Data access object for beginner

Vasundhara Sahi
Greenhorn

Joined: Mar 21, 2012
Posts: 17

Hello All,

Please guide me to a Java JDBC DAO tutorial for beginner.

There are some great ones but too tough for me.

Thanks alot.

Truth be told .....I am a Java noob....
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

Welcome to the ranch, Vasundhara!

I'd suggest to try this one. If there is something unclear, we'll be glad to help.
Vasundhara Sahi
Greenhorn

Joined: Mar 21, 2012
Posts: 17

Martin Vajsar wrote:Welcome to the ranch, Vasundhara!

I'd suggest to try this one. If there is something unclear, we'll be glad to help.



Thanks Martin,

So my guess is DAO is advanced Java - JDBC.

Is it correct ??
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

DAO most often stands for Data Access Object design pattern. If you mean something different, please say so.

DAO and JDBC are independent of each other. You can use the DAO design pattern with different languages, not only Java. Similarly, you can use JDBC in ways different from the DAO design pattern, though using DAO has may advantages in portability and maintainability of resulting code.

Therefore, you can also learn about DAO and JDBC in any order you like. I know about this description of DAO, though it is a bit terse. There might be other good tutorials, but I don't want to recommend them since I haven't read them. DAO is not conceptually that difficult, so I thought you're more interested in the JDBC bit.
Vasundhara Sahi
Greenhorn

Joined: Mar 21, 2012
Posts: 17

Martin Vajsar wrote:DAO most often stands for Data Access Object design pattern. If you mean something different, please say so.

DAO and JDBC are independent of each other. You can use the DAO design pattern with different languages, not only Java. Similarly, you can use JDBC in ways different from the DAO design pattern, though using DAO has may advantages in portability and maintainability of resulting code.

Therefore, you can also learn about DAO and JDBC in any order you like. I know about this description of DAO, though it is a bit terse. There might be other good tutorials, but I don't want to recommend them since I haven't read them. DAO is not conceptually that difficult, so I thought you're more interested in the JDBC bit.



Martin thanks a lot , again for the detailed reply.

Focussing on JDBC fro now.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data access object for beginner