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.