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