This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes servlets & RMI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets & RMI" Watch "servlets & RMI" New topic

servlets & RMI

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
How to access database in remote server through a request to servlet page?(Servlets+RMI)Anybody pls help me with coding!!!1
Ajan Balakrishnan
Ranch Hand

Joined: Jan 04, 2001
Posts: 71
This is sample code i used for testing. I think this will give you a basic idea of how these things work. You can modify the code to suit your need
Interface Code

RMI Client Code

Implentation Code. Here is where you can make your database calls.

RMI server

FYI, UDBConnection,TmachineCmpntBean,TOutageLogBean are my connection and DB query beans
Let me know if this helps

[This message has been edited by Ajan Balakrishnan (edited March 15, 2001).]
I agree. Here's the link:
subject: servlets & RMI
Similar Threads
Need help urgently: problems compiling servlets
Request for interview questions
Request for interview questions
Skills Wanted by Employers