Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Server and client communication

843790Aug 17 2009 — edited Aug 31 2009
Hi all.

I've developed a quite comprehensive client-server system, and is now confronting the task of getting the network communication right.
What I've got is:

1. A server application, that communicates with a local database.
2. Client applications, that communicate with the server.

I've written a TCP server for the server, that sets up a session for each connecting client.

My question now is, how should the client and server communicate?
The communication will be vast, both requesting for custom class information and sending custom classes. The clients should be asked to login as well.

I've had a look at RMI, but I don't feel its appropriate for session based communication with multiple clients. Perhaps I'm wrong?

Thanks in advance.
Jonas
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2009
Added on Aug 17 2009
8 comments
199 views