I'm new to JMS and i wandered if i can to use Messages to inform the rest of the program about changes in the Modell. Currently, my SessionBean methods contains lot of code to inform other SessionBeans, that something was changed. The methods grown to hunderts of lines and code is duplicated all over the application. Are are the MessageBeans good solution?
- Posted by: peno ivanov
- Posted on: October 09 2006 08:03 EDT
- Re: Is JMS suitable for implementing the Observer pattern by arijit dey on October 09 2006 09:24 EDT
Offcourse you can implement Observer Pattern with JMS, by creating a Publish-Subscribe channel you can get along with the pattern. For any more resources, feel free to ask. cheers, http://javaicillusion.blogspot.com/