• Post Reply Bookmark Topic Watch Topic
  • New Topic

Compare EJB to a physical system!

 
Naren Chivukula
Ranch Hand
Posts: 577
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm studying the book 'MasteringEJB2'. Slowly I'm understanding the topic. I want somebody to brief the entire concept of EJB to some physical system so that I can explain in much more descriptive manner to a non-computer professional person easily. Plzz do use ur creativity to explain this. I'm not thorough in EJB to think.

I thank u,
Narendranath.
 
C Chavan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Consider it as washing machine. load the clothes (code) in it, add detergent (home/remote interfaces), specify cycles (deployment descriptors) and press start button (deploy). washing machine (container) will do the rest of work (transaction, pooling).
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A remote client only ever talks to a stub, never directly to a bean:

client --> stub --> bean

An analogy:

person --> remote control --> TV set
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!