This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Client/Server Socket Programming

 
Daniel Afonso
Greenhorn
Posts: 16
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic