Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Data access object for beginner

 
Vasundhara Sahi
Greenhorn
Posts: 17
Firefox Browser IntelliJ IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Martin Vajsar
Sheriff
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
Firefox Browser IntelliJ IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 17
Firefox Browser IntelliJ IDE Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic