aspose file tools*
The moose likes OO, Patterns, UML and Refactoring and the fly likes Command pattern implimentation in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "Command pattern implimentation in java" Watch "Command pattern implimentation in java" New topic
Author

Command pattern implimentation in java

eddy kh
Greenhorn

Joined: Sep 27, 2012
Posts: 1
A person is working in Stocks Trading business. He wants to automate his business and has asked you to develop a Stock Trade System for him.
Your client creates some orders for buying and selling stocks. Then the orders are sent to the agent. The agent takes the orders and places them to the Stock Trade system. The agent keeps an internal queue with the order to be placed. Let's assume that the Stock Trade system is closed each Monday, but the agent accepts orders, and queue them to be processed later on.


Can anyone help how to implement it through the command pattern in java?
Narender Reddy Soma
Greenhorn

Joined: Jun 05, 2010
Posts: 23
I dont see a reason why Command pattern only has to be implemented in this scenario. Any specific reason for choosing Command pattern there?
Junilu Lacar
Bartender

Joined: Feb 26, 2001
Posts: 4991
    
    8

eddy kh wrote:Can anyone help how to implement it through the command pattern in java?

Welcome to the Ranch!

You will have better luck if you first ShowSomeEffort (←click) then ask specific questions about any difficulty you might be having. Good luck!


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Command pattern implimentation in java