EJB Tutorials
Types of EJB

- 2007-02-20
- Comments
- aathishankaran
- 296
There are three types of Enterprise Java Beans namely session beans, entity beans and message driven beans. This tutorial briefly explains these types of EJB.
Read More
Difference Between Session and Entity Beans

- 2008-08-25
- Comments
- Paul Allen and Joseph Bambara
- 296
A session bean is an EJB that is created by a client and usually exists only for the duration of a single client-server session. A session bean usually performs operations such as calculations or database access on behalf of the client. While a session bean may be transactional, it is not recoverable if a system crash occurs. Session bean objects can be stateless or they can maintain a conversational state across methods and transactions. If a session bean maintains a state, the EJB container manages this state if the object must be removed from memory. However, persistent data must be managed by the session bean object itself.
Read More
Difference Between Stateful and Stateless Session Beans

- 2008-08-25
- Comments
- Paul Allen and Joseph Bambara
- 296
Session beans can either be stateful or stateless. With stateful beans, the EJB container saves internal bean data during and in between method calls on the client’s behalf. With stateless beans, the clients may call any available instance of an instantiated bean for as long as the EJB container has the ability to pool stateless beans. This enables the number of instantiations of a bean to be reduced, thereby reducing required resources.
Read More
Required Classes/Interfaces That Must Be Provided for an Enterprise JavaBeans Component

- 2008-08-25
- Comments
- Paul Allen and Joseph Bambara
- 296
Here we review the component architecture of EJBs. We also cover the required classes and interfaces for EJB, which include the home and remote interfaces, the XML deployment descriptor, the business logic (bean) class, and the context objects. While these names may or may not be meaningful to you at this point, you will soon understand how each of these pieces fits into the EJB component model.
Read More
Managing Security in EJB

- 2008-08-25
- Comments
- Paul Allen and Joseph Bambara
- 296
To simplify the development process for the enterprise bean provider, the implementation of the security infrastructure is left to the EJB container provider and the task of defining security policies is left to the bean deployer. By avoiding putting hard-coded security policies inside bean code, EJB applications gain flexibility when configuring and reconfiguring security policies for complex enterprise applications. Applications also gain portability across different EJB servers that may use different security mechanisms.
Read More
Most Viewed Articles on EJB |
Latest Tutorials |
- Data Science
- Android
- AJAX
- ASP.net
- C
- C++
- C#
- Cocoa
- Cloud Computing
- HTML5
- Java
- Javascript
- JSF
- JSP
- J2ME
- Java Beans
- EJB
- JDBC
- Linux
- Mac OS X
- iPhone
- MySQL
- Office 365
- Perl
- PHP
- Python
- Ruby
- VB.net
- Hibernate
- Struts
- SAP
- Trends
- Tech Reviews
- WebServices
- XML
- Certification
- Interview
categories
Related Tutorials
Required Classes/Interfaces That Must Be Provided for an Enterprise JavaBeans Component
Difference Between Session and Entity Beans
Archived Comments
1. I need to know the parameters that we need to pass
View Tutorial By: puru at 2008-09-08 00:33:46
2. i can saved when i run the program...
but w
View Tutorial By: kathleen ashley at 2010-08-02 05:22:46
3. Thanks for this section. Clears most of my doubts.
View Tutorial By: Melvin at 2008-07-05 04:54:19
4. It's simply nice.
View Tutorial By: ghani at 2011-07-01 07:18:35
5. finally i got it !!! thanks a lot!!! you really he
View Tutorial By: maher at 2010-11-11 02:44:07
6. Thanks ,got useful information on toString().
View Tutorial By: jaffar at 2011-08-01 10:15:04
7. hi all,
I have run the code downloaded fro
View Tutorial By: raghu at 2008-12-26 22:40:12
8. why 27's example is prone to a deadlock ? when pro
View Tutorial By: kaka at 2011-08-14 00:59:41
9. thank you
well explained
View Tutorial By: Alexandre Ogrodovski at 2012-12-10 21:13:37
10. hi Emiley J.,
i am geting this error while
View Tutorial By: jugal at 2009-02-20 02:14:23