wood burning stoves 2.0*
The moose likes Java in General and the fly likes Retrieving objects from a server. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Retrieving objects from a server." Watch "Retrieving objects from a server." New topic

Retrieving objects from a server.

Antonio Principato

Joined: May 21, 2012
Posts: 10
I am not really sure of the best way to go about this but let me explain my goal. I want the client to store reference numbers. Say the client passed an integer to the server and lets say the number was 1234. I want the server to send back the object that corresponds to 1234. I need the method to accept multiple clients at once.
Jeff Verdegan

Joined: Jan 03, 2004
Posts: 6109

With out any more to go on in terms of requirements, constraints, use cases, scale, etc., it sounds like a good case for a database. However, the "server" could take any form you need it to.
Antonio Principato

Joined: May 21, 2012
Posts: 10
I figured a database would be the best way to go about it but I'm not sure where to start. There seems to be many different approaches to this and i was wondering if someone can show me the way. The client would start and prompt a user for login credentials (I assumed i can just create a database just to authorize logins) as the user logs in the client receives the object from the server.
I agree. Here's the link: http://aspose.com/file-tools
subject: Retrieving objects from a server.
Similar Threads
load balancing in RMI
Single ArrayList populating two different Tables
how to use java to retrieve sth that is particular to a specific computer?
The Unreferenced interface and the lock
I woke up today and took a photo of a deer in my pajamas