EJB Interview Questions and Answers
EJB : What are different callback methods in Entity beans?

What are different callback methods in Entity beans?

The bean class implements a set of callback methods that allow the container to notify the events in....
Category: EJB Date: 11/9/2010 10:12:02 AM
EJB : When to use Stateful session bean?

When to use Stateful session bean?

When the bean's state represents the interaction between the bean and a specific client, and when th....
Category: EJB Date: 11/9/2010 9:39:01 AM
EJB : What are ejbLoad and ejbStore methods of Entity Bean?

What are ejbLoad and ejbStore methods of Entity Bean?

ejbLoad method is primarily used for data retrievals. ejbStore is used for updating data.
Category: EJB Date: 11/9/2010 6:44:02 AM
EJB : What is a Stateful Session bean?

What is a Stateful Session bean?

Stateful session bean acts as a server-side extension of the client that uses it , and maintain the ....
Category: EJB Date: 11/8/2010 12:45:01 PM
EJB : Why BMP is not much portable compared to CMP?

Why BMP is not much portable compared to CMP?

Because when we are changing the database we need to rewrite the SQL for supporting the new database....
Category: EJB Date: 11/8/2010 9:50:01 AM
EJB : What are different types of entity beans?

What are different types of entity beans?

1-Container Managed Persistence (CMP). 2- Bean managed persistence (BMP).
Category: EJB Date: 11/8/2010 4:02:01 AM
EJB : When to use a stateless session bean?

When to use a stateless session bean?

When the bean's state has no data for a specific client, and when in a single method invocation, the....
Category: EJB Date: 11/8/2010 1:07:01 AM
EJB : What is the default transaction attribute in EJB?

What is the default transaction attribute in EJB?

The default transaction attribute is 'supports'
Category: EJB Date: 11/7/2010 10:45:02 PM
EJB : What are remove methods of Entity Bean?

What are remove methods of Entity Bean?

Remove methods allow the client to remove an Entity bean by specifying either Handle or a Primary Ke....
Category: EJB Date: 11/7/2010 4:24:02 PM
EJB : What is EJB?

What is EJB?

EJB (Enterprise JavaBeans) is the server-side component architecture for J2EE platform.where it is a....
Category: EJB Date: 11/7/2010 12:57:00 PM
EJB : What are the different transaction attributes?

What are the different transaction attributes?

1: Not Supported 2: Required 3: Supports 4: RequiresNew 5: Mandatory 6: Never
Category: EJB Date: 11/7/2010 4:46:02 AM
EJB : What is Session Bean?

What is Session Bean?

The session bean performs the task shielding the client from the complexity of the business logic. W....
Category: EJB Date: 11/6/2010 6:57:01 PM
EJB : What are the advantages of EJB?  

What are the advantages of EJB?  

1: It helps in building enterprise applications easily. 2: Developers of EJB needs to focus on busi....
Category: EJB Date: 11/6/2010 4:35:01 PM
EJB : What are ejbActivate and ejbPassivate methods of Entity Bean?

What are ejbActivate and ejbPassivate methods of Entity Bean?

The ejbPassivate() is invoked by the container before the beans is passivated and ejbActivate() is i....
Category: EJB Date: 11/6/2010 1:41:02 PM
EJB : Can't I just create some of my JavaBeans in the JSP using a scriptlet?

Can't I just create some of my JavaBeans in the JSP using a scriptlet?

Struts is designed to encourage a Model 2/MVC architecture. But there is nothing that prevents you f....
Category: EJB Date: 11/6/2010 10:46:02 AM
2 3 
Recent Answers
How do you declare destructor in c#?
kumar answered: by implementing finalize and dispose method