Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Converting to a Server

 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic