This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 12769
    
    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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Client/Server Socket Programming