Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Message Facade Pattern !

843829Jan 18 2002 — edited Jan 21 2003
hi -

In one of the project designs that I was studying, the message facade pattern is used heavily. That is each request is submitted on to a JMS queue to which a MDB is attached. This is quiet in synch with the Message Facade pattern. But here the servlet is made to wait for the response until MDB finishes processing, i.e., the request which is actually synchronous is processed by asynchronous means but finally making it look like synchronous.

So I want to know how far this design is better as compared to traditional Session Facade in the given scenario of
synchronous requests ? I thought Message Facade pattern is useful only when the requests can be asynchronously processed. Isn't it ?

TIA
-Nikhil.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 18 2003
Added on Jan 18 2002
3 comments
394 views