Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes OO, Patterns, UML and Refactoring and the fly likes session facade and message facade Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Engineering » OO, Patterns, UML and Refactoring
Bookmark "session facade and message facade" Watch "session facade and message facade" New topic

session facade and message facade

ajay verma
Ranch Hand

Joined: Dec 10, 2007
Posts: 37
what is same in the both(session facade and message facade).
what is difference between the both(session facade and message facade)?
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 31680

Both are facades - interfaces to more functionality. The session facade is for session beans and the message facade is for message driven beans.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Peer Reynders

Joined: Aug 19, 2005
Posts: 2922
Just don't assume that the Session/Message Facade pattern is a special case of the Facade pattern.

"Session Facade" and "Message Facade" are names for patterns which only apply to Enterprise Java.

"Facade" is a general design pattern with somewhat different intent, motivation, applicability, and consequences. So the Session/Message Facade patterns have much less in common with the Facade pattern than the name may imply.

See: [Session Fa�ade/POJO Fa�ade] VS [Application Service]
I agree. Here's the link:
subject: session facade and message facade