• Post Reply Bookmark Topic Watch Topic
  • New Topic

remote interface  RSS feed

 
kri shan
Ranch Hand
Posts: 1487
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In EJB, our bean class does not implement the remote interface. But we are calling the methods of remote interface. How does the method call to the remote interface is calling the method of our bean class?
 
Vijayanand Viswanathan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The EJB Container is responsible for doing so. Each call on the EJBObject(Remote Interface) is intercepted by the EJB Container and delegated to the appropriate Bean Class. In doing so the EJB Container may uses the services available such as Transaction Service, Security etc, which frees the developer from all the plumbing work
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!