User not logged in - login - register
Home Calendar Books School Tool Photo Gallery Message Boards Users Statistics Advertise Site Info
go to bottom | |
 Message Boards » » Using RMI to access a MySQL Database using Java Page [1]  
marilynlov7
All American
650 Posts
user info
edit post

Lets say I have a mySQL database on Server A. Lets say I have a Java application to interact with that database on Server B, which uses a JDBC driver to connect to the database server on Server A. Let us also say that for security reasons, Server A and the mySQL server will only accept requests from Server B, and no other remote computers.

So lets say I want to access that database on Server A, from a computer that isn't Server A or Server B, call it Client C. Could I use Java's RMI to access the database methods from the DB class on Server B from Client C?

11/15/2005 12:16:05 PM

Incognegro
Suspended
4172 Posts
user info
edit post

the real question is

why is the security policy that restrictive

11/15/2005 1:08:24 PM

qntmfred
retired
40816 Posts
user info
edit post

OMH4X!!1

11/15/2005 1:35:42 PM

philihp
All American
8349 Posts
user info
edit post

Yes.

Provided Server B exposes the methods for you to run, and you don't mind that Server B could be a potential bottleneck and your system would depend not only on the availability of Server A (to Server B), but also for the availability of Server B from Server C. You do know how big that can of beans is you're opening up with Java RMI, right? Just wanna get it out there so you know that you can't just say "oh, i'll use RMI, and it will solve my problem". You'll have to have a service/process/thing running on Server B that is waiting for Server C to talk to it.

^^it just is. assume if it were simple enough to change, it would have been done. i'm guessing there would be a lot of red tape in the way of changing that.

11/15/2005 2:26:49 PM

 Message Boards » Tech Talk » Using RMI to access a MySQL Database using Java Page [1]  
go to top | |
Admin Options : move topic | lock topic

© 2024 by The Wolf Web - All Rights Reserved.
The material located at this site is not endorsed, sponsored or provided by or on behalf of North Carolina State University.
Powered by CrazyWeb v2.39 - our disclaimer.