Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

unable to figure out  RSS feed

 
Naveen Megharaj
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
In our project we are making use of EJB 2.1.
I know that a Stateless Session Bean has three files:
*) Component interface - Used to declare our business methods.
*) Home interface - Used to declare life cycle methods.
*) Implementation class - Consists of implementation of life cycle methods as well as the Business methods.

So when we invoke a business method using the Component interface reference object, the business method of the Implementation class will be called. MY DOUBT IS THAT - HOW IS THIS HAPPENING?? AS THE IMPLEMENTATION CLASS IS NOT IMPLEMENTING THE COMPONENT INTERFACE. !!!
I was told that the Container will look after all these things internally. But i want to know- how the container is performing this task??? Can anybody help me in this regard

Thanks in advance
naveen
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is all handled magically by code in the application server. If you want to learn more, I suggest that you download the source code for JBoss and start studying. Good luck!

http://docs.jboss.org/jbossas/jboss4guide/r5/html/apc.html
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!