aspose file tools*
The moose likes Distributed Java and the fly likes Client/Server Socket Programming Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Client/Server Socket Programming " Watch "Client/Server Socket Programming " New topic
Author

Client/Server Socket Programming

Daniel Afonso
Greenhorn

Joined: Jan 27, 2011
Posts: 16

HI. I have to make an application wich the objective is to make a pair of purchase orders and sales orders. An order can be bought or sold and has a price (maximum / minimum respectively) and a quantity. Orders are stored by the system to be done pairing between buyer and seller. The quantities may be different, an order can go running over time until it is complete. The system must allow customers to go submitting orders even before the previous ones are complete, and should inform customers even partial executions of orders.

Can somebody give me tips about wich architecture to use? And some tutorials please. I'm new no Java Socket Programming for Distributed Systems
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12671
    
    5
I would say that your primary problem has to do with data architecture and not with client/server socket programming. Getting a message from one part of the system to another could be done by existing Java mechanisms, no need to reinvent the wheel by getting bogged down in sockets.

Look into JMS Java Message Service and JavaSpaces.


Bill

Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client/Server Socket Programming
 
Similar Threads
HEEEELP! FREE PUNCH AND PIE!
Missing Entity bean Instances
Please help fix my design!
TreeSet sorting dropping elements
Understanding the DAO Pattern