File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Distributed Java and the fly likes Converting to a Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Converting to a Server" Watch "Converting to a Server" New topic

Converting to a Server

Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

I have a program that has the database access code built into the client. So you basically point the client at the database through the JDBC driver, and start using it.

What I want to do is convert this into a client-server program. So the server code will access the database directly, and the client will instead connect to the server.

With this in mind I have a few questions.

1. What are efficient ways to communicate between client and server? RMI?
2. What about security and login to server? (not extremely important)
3. Does this have anything to do with application servers like JBOSS?
4. Does EJB play any role here?
5. What about scalability?

Currently my program uses Eclipse + Hibernate/JDO + JDBC database.

Thanks for any tips/pointers.
Mr. C Lamont Gilbert
Ranch Hand

Joined: Oct 05, 2001
Posts: 1170

Looks like RMI with SSL should be good enough for me. I do not really need scalability at this point. Now I need to find out whats better. RMI communication over the network, or JDBC?
I agree. Here's the link:
subject: Converting to a Server
It's not a secret anymore!