This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
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.