EJB Tutorials
Types of EJB

- 2007-02-20
- Comments
- aathishankaran
- 155
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
- 156
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
- 206
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
- 147
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
- 145
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
Subscribe to Tutorials
Related Tutorials
Required Classes/Interfaces That Must Be Provided for an Enterprise JavaBeans Component
Difference Between Session and Entity Beans
Archived Comments
1. thanks for your tutorial, but how to us it?
View Tutorial By: Desman Gea at 2014-07-18 16:54:41
2. Finally a tutorial that clearly explains why Hasht
View Tutorial By: Lisa Ander at 2011-10-27 20:33:15
3. where do i download the DOM and SAX jar?
View Tutorial By: David at 2011-11-11 03:04:11
4. really very excellent example....ThanQ...:)
View Tutorial By: Tulasi at 2010-08-17 00:41:21
5. Wow, Problem resolved ....
View Tutorial By: Muhammad Farrukh at 2011-08-29 21:02:09
6. Assume scenario:
- i have set connection po
View Tutorial By: Dan at 2012-02-22 09:48:46
7. Thank you, that was short and enough :)
View Tutorial By: Bilal korir at 2014-05-20 21:37:12
8. There is another similar discussion on use of tern
View Tutorial By: Syed Mamun Raihan at 2008-09-10 11:29:42
9. thanks. that was fair enough. :)
View Tutorial By: Mustafa at 2010-05-16 10:12:33
10. static concept was clearly explained with some exa
View Tutorial By: Rajkumar s ,m.p.patti,rasipuram. at 2012-03-28 16:17:31