Browse Today's favorites or All time favorites.
Please Sign In or Register to share and submit your questions.
Java Queries
Complete java interview questions library
Home » Interview Questions » EJB Interview Questions » Can an EJB client invoke a method on a bean directly?
Can an EJB client invoke a method on a bean directly?
An EJB client should never access an EJB directly. Any access is done through the container. The container will
intercept the client call and apply services like transaction, security etc prior to invoking the actual EJB. This
relationship between the EJB and the container is like "don't call us, we will call you".
Do not see interviews as the chance
Do not see interviews as the chance, think it as an opportunity to present you to a company. It is a chance for you to prove yourself in front of the interviewer, so you should come with full preparation of questions you need answers...
Write a comment