Interview :: EJB
1) What is EJB?
2) What are the types of Enterprise Bean?
3) What is session bean?
4) What is stateless session bean?
5)
Write down the steps for the creation of stateless EJB?
- Create a local interface.
- The interface is to be used by the client application.
- In case the EJB client environment is the same, use @Local annotation.
- In case the EJB client environment is different, use @Remote annotation.
- Create a stateful session bean.
- To signify a stateful bean, use @Stateful annotation.
6) What is stateful session bean?
7) What is singleton session bean?
Singleton session bean is instantiated only once for the application. It exists for the life cycle of the application.
8) What is JMS?