This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread 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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "Client/Server Socket Programming " Watch "Client/Server Socket Programming " New topic

Client/Server Socket Programming

Daniel Afonso

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

Joined: Mar 22, 2000
Posts: 13037
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.

I agree. Here's the link:
subject: Client/Server Socket Programming
It's not a secret anymore!