Which statement about session beans is true?

Options
- In both stateless and statefull session classes, the bean provider must write the method public void remove()
- The method << remove >> in the component interface can be accessed only by the remote clients
- The bean’s handle must be provided by the client, in order to ask the EJBHome for removing a session bean
- None of the above


CORRECT ANSWER : The bean’s handle must be provided by the client, in order to ask the EJBHome for removing a session bean

Discussion Board
Session bean EJB

Session bean is used to encapsulates the business methods and logic that can be invoked application wise by a client over some medium like locally, remotely or by using any other web service. Session bean's method is invoked by the client to access an application that is deployed in the server. Session bean performs the work for the client and it is provided by the client to ask EJBHome for removing a session bean. Session bean consists of two states:

1) Stateful session bean
2) Stateless session bean

Rohit Sharma 08-22-2014 09:30 AM

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement