aspose file tools*
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "Retrieving objects from a server." Watch "Retrieving objects from a server." New topic
Author

Retrieving objects from a server.

Antonio Principato
Greenhorn

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
Bartender

Joined: Jan 03, 2004
Posts: 6109
    
    6

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
Greenhorn

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.