JavaSpartans
Java J2ee Struts Hibernate Spring Interview Questions Java J2ee Struts Hibernate Spring Interview Questions
23 Results; Time:0.031 Sec; Page : 1 ; Results From 1 to 10. Results Per Page

1. What are the advantages of EJB ?

EJB (Enterprise Java Beans)is standard for building server side component in Java.
It specifies an agreement between components and application server that enables any application to run on any application server.

Following are the different kind of EJBs:
Session bean.
Entity bean.
Message Driven beans.

Session beans are of two types:
Stateless session beans : These beans do not maintain state across method calls.
Stateful session beans : These beans hold client state across method invocations.

Using Session beans you can create highly scalable and secured enterprise application using object pooling techniques.

Message driven beans can be used for receiving messages from different systems.
Using Message driven beans you can create a highly scalable listener which can read messages and process accordingly.

2. What is an EJB ?

EJB (Enterprise Java Beans)is standard for building server side component in Java. It specifies an agreement between components and application server that enables any application to run on any application server.

3. What are the types of EJB ?

Following are the different kind of EJBs:
Session bean.
Entity bean.
Message Driven beans.

4. Explain about different Transactional Attributes in EJB

There are 6 Transactional Attributes are there.
Required;
RequiresNew;
Mandatory;
NotSupported;
Supports;
Never

5. Can you tell me the steps for how to create and execute and run the EJB simple stateless session application in websphere application server6.0 and Ide is RAD6.0

Please Answer this

6. How do you say that session beans are non persistent and entity beans are persistent ?


7. What are different type of Session beans?

Session beans are of two types: Stateless session beans : These beans do not maintain state across method calls. Statefull session beans : These beans hold client state across method invocations.

8. What are the usage of different type of beans?

Message driven beans can be used for receiving messages from different systems Entity beans represent data persistent data. Session beans should only implement business logic.

9. What are the limitation of Local objects?

Local objects mrashal data by reference rather than by value. They will only work if you are calling objects in same process.

10. What is Passivation and Activation in EJB?

The process of saving conversational data (data needed to be saved during client conversation) to hard disk is called passivation. The process of swapping data from hard disk to bean is called activation.

Java J2ee Struts Hibernate Spring Interview Questions
23 Results; Time:0.031 Sec; Page : 1 ; Results From 1 to 10. Results Per Page
Menu - javaspartans.com - Java J2ee Struts Spring Hibernate Interview Questions
Hostens.com - A home for your website
Ads By Google