Class BuyerMDB

  • All Implemented Interfaces:
    MessageListener

    public class BuyerMDB
    extends Object
    implements MessageListener
    This class will listen for market events and cause further bidding to occur. Note that this is mostly a technology demonstration and not a great architectural demonstration. It would be best to restrict this class to only the async/JMS interface and move all detailed processing and business logic to lower level classes. Architecturally, MDBs should be restricted to just interface adaption. If you place too much business logic here it becomes harder to test and reuse.