Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RMI examples using JDBC  RSS feed

 
Kavita Ghia
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends,
I am looking for some good source code which uses RMI/JDBC simultaneously so that I can develop my own project in RMI
using JDBC.I have tried out programs using RMI only but
have no experience in using RMI and JDBC simultaneously.
Can you direct me to a sight which explains this 3-tier application in depth.
Thanks in advance.
A JavaRanch folk,
Kavita.
 
Jerry Pulley
Ranch Hand
Posts: 221
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kavita,
I don't really see any interaction between the RMI and JDBC API's. You could build a data layer class that uses JDBC to converse with the DBMS, and then make that class remoteable (by implementing the interface and providing the exceptions). Making a class remote is pretty much independent of what the class actually does.
jply
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!