Types of EJB
By: aathishankaran Printer Friendly Format
Types of EJB:
There
are three types of Enterprise Java Beans namely:
v
Session
Beans
v
Entity
Beans
v
Message
driven beans
1) Session Beans
Session
beans are intended to allow the application author to easily implement portions
of application code in middleware and to simplify access to this code.
Session
beans are divided into two types:
a)
Stateless Session Bean
b)
State full Session Bean
a)
Stateless Session Bean
Stateless Session Bean is intended to be simple and “light weight”
components. The client, thereby
making the server highly scalable, if required, maintains any state.
Since no state is maintained in this bean type, stateless session beans
are not tied to any specific client, hence any available instance of a stateless
session bean can be used to service a client.
b)
State
full Session Bean
State full Session Bean provides easy and transparent state management on the server side. Because state is maintained in this bean type, the application server manages client/bean pairs. State full session beans can access persistent resources on behalf of the client, but unlike entity beans, they do not actually represent the data.
Most Viewed Articles (in EJB ) |
Latest Articles (in EJB) |
Comment on this tutorial
- 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
Archived Comments
1. Excellent
View Tutorial By: Dev at 2008-08-01 02:41:25
2. pretty good explanation
View Tutorial By: Prithwi at 2009-11-26 07:28:33
3. this article is very good for the beginners. I am
View Tutorial By: manoj kumar palbabu at 2009-12-02 10:44:04
4. This is a good written article!
It gave me
View Tutorial By: Anders Branderud at 2010-01-10 03:24:25
5. good work, it gives the important informations
View Tutorial By: khalid at 2010-11-09 13:03:12
6. Bad article ! What about the explanation of Messag
View Tutorial By: Manish at 2011-05-24 04:44:03
7. Awesome............
View Tutorial By: Amol at 2011-06-11 05:32:49
8. what about the remaining explanation......do anyth
View Tutorial By: raki at 2011-11-07 10:47:25
9. i appreciate the article for being straight to the
View Tutorial By: shey-poun at 2011-12-14 06:39:51
10. thank you man.
View Tutorial By: Hariharan at 2012-08-03 01:39:16
11. Incomplete article; Singleton session bean? And re
View Tutorial By: vaibhav sakpal at 2013-08-29 07:35:37
12. what is this where is rest of bean explanation
View Tutorial By: aaaaaab at 2015-05-05 05:03:47
13. Very helpful. thank you very much.
View Tutorial By: java beans at 2016-01-06 10:48:40