Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
Java interview part 1
Java interview part 2
Java interview part 3
Java interview part 4
Java interview part 5
Core java
JDBC
JSP
EJB
JNI
Servlets
Struts
Java threading
Java web services
J2EE
J2ME
JMS
Internationalization
JavaScript
RMI
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 
More links
JavaServer Faces 
OpenCms Application Overview 
EJB 3 Entities 
Oracle Web RowSet 
Books on Java
Java EE 5 Development with NetBeans 6 
OpenCms 7 Development 
EJB 3 Developer Guide 
JDBC 4.0 and Oracle JDeveloper for J2EE Development 

EJB Stateless and Stateful beans

NEXT>>

Describe the life cycle for Stateful beans.

Answer

Between the client and the session bean, the state of the conversation can be maintained using a stateful session bean. The instance variables contain a state only during the invocation by a client method.

It implements ‘javax.ejb.SessionBean’ interface and is deployed with the declarative attribute ‘stateful’.

They have instance fields that can be initialized and modified by the client with each method invocation. The bean can use the conversational states as its business process methods.

NEXT>>



More Related Links
Explain EJB in brief.

Answer - EJB is a standard for developing server side in JAVA.....

What are the kinds of EJB's?

Answer - There are 3 kinds of EJB's - Session beans, Entity Beans, Message-driven beans...

What is Passivation and activation in EJB?

Answer - In case of stateful session beans, we need to store the client conversation....

What is a Stateful Session bean?

Answer - Between the client and the session bean, the state of the conversation can be maintained using a stateful.....

What is stateless session bean?

Answer - A stateless session bean is an enterprise bean that does not maintain conversational state specific to a client session......

 
Copyright © 2008 CareerRide.com. All rights reserved.