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".
Learn all you can
Learn all you can about the company or organization; learn as much as you can so that your questions are sophisticated and knowledgeable during the interview. Employers expect you to arrive knowing background information about the organization
Write a comment