J2EE EJB server or container

The EJB server provides an environment that supports the execution of applications developed using Enterprise JavaBeans™ (EJB) components. It manages and coordinates the allocation of resources to the applications. Enterprise beans typically contain the business logic for a J2EE application.

The EJB server must provide one or more EJB containers. An EJB container manages the enterprise beans contained within it. For each enterprise bean, the container is responsible for registering the object, providing a remote interface for the object, creating and destroying object instances, checking security for the object, managing the active state for the object, and coordinating distributed transactions. Optionally, the container can also manage all persistent data within the object. 

Enterprise JavaBeans technology supports both transient and persistent objects. A transient object is called a session bean, and a persistent object is called an entity bean.

A session bean exists only for the duration of a single client/server session. A session bean performs operations such as accessing a database or performing calculations. Session beans can be transactional, but normally are not recoverable following a system crash. Session beans can be stateless, or they can maintain conversational state across methods and transactions. A session bean must manage its own persistent data. More on session object persistence (new window).

An entity bean is an object representation of persistent data maintained in a permanent data store, such as a database. An entity object can manage its own persistence, or it can delegate its persistence to its container. See:

bulletBean-managed persistence (new window)
bulletContainer-managed persistence (new window)

 

 

Web Services and Service-Oriented Architectures
Online articles>
Consulting
Mentoring
Speaking
Suggested programs
Stencils for the Savvy Manager's Guide
Links
Mail list
Privacy policy
Sitemap
Contact
Web Services articles
XML standards and vocabularies
Application server articles>
Database concepts and standards
Object database articles
Relational database articles
Object-relational mapping articles
XML database articles
XML middleware articles
Article Sponsorship
Reprint policy
Application server definition>
When an application server should be used
Application server achitectures
J2EE architecture solutions
Article suggestions
J2EE web server or container
J2EE EJB server or container>
J2EE application program interfaces (APIs)
Session object persistence
Container-managed persistence (CMP)
Bean-managed persistence (BMP)

Related recent articles from Google News


SYS-CON Media

Sun Releases GlassFish 3 Preview
eWeek,  NY - May 8, 2008
SAN FRANCISCO?Sun Microsystems rolled out a preview release of the latest version of its application server, Sun Glassfish Enterprise Server Version 3, ...
JavaOne: AMD cites Java improvement efforts InfoWorld
GlassFish Community Delivers Two New Servers, Partner Initiative ... System News
Sun and Liferay launch web-presentation platform ZDNet UK
Business Wire (press release) - PR Newswire (press release)
all 51 news articles

SpringSource launches Java application server
Computerworld, MA - May 5, 2008
By Chris Kanaracus May 5, 2008 (IDG News Service) SpringSource, maker of the Spring Framework for Java development, has announced a new application server ...

SYS-CON Media

Network Operations 2.0 Helps JBoss Manage Itself Better
InformationWeek, NY - May 7, 2008
The agents enable a detailed audit trail of any changes to the middleware to be established, allowing managers to rollback an application server or other ...
Marry open source and commercial services with JBoss ComputerWeekly.com
Red Hat Continues Middleware Industry Momentum Consumer Electronics Net
all 34 news articles

Sun Java System Web Server / Application Server JSP Information ...
Secunia, UK - May 8, 2008
Sun has acknowledged a vulnerability in Sun Java System Web Server and Sun Java System Application Server, which can be exploited by malicious people to ...

Reinventing the Java application server
CMSWatch, MD - May 7, 2008
Just when you thought the Java application server market was pretty well saturated (if not in actual decline), along comes a brand new entrant with ...

More related news: "application server" - Google News

Related books at Amazon.com


Expert One-on-One J2EE Design and Development (Programmer to Programmer)
by Rod Johnson
Average Customer Review: 5 stars based on 33 reviews.
Customer Review: I thoroughly enjoyed reading this book, particularly well-thought out design guidelines for developing J2EE application with or without EJB. The author introduced several best practices particularly the concepts and usage of Spring and Hibernate based j2ee development is quite helpful. In addition to this book, I find patterns and b...

J2EE Web Services: XML SOAP WSDL UDDI WS-I JAX-RPC JAXR SAAJ JAXP
by Richard Monson-Haefel
Average Customer Review: 4 stars based on 30 reviews.
Customer Review: Perfect book for a beginer. The book starts from basics to leads complex points in a balanced manner.

Core J2EE Patterns: Best Practices and Design Strategies (2nd Edition) (Core Series)
by Deepak Alur, Dan Malks, John Crupi
Average Customer Review: 4.5 stars based on 40 reviews.
Customer Review: This book is about using patterns for the J2EE platform, using best practices to design applications that use JSP, Servlet, EJB components, and JMS technologies, preventing reinvention of the wheel when it comes to design and the J2EE platform, and finally identifying bad practices in existing designs and refactoring those designs. ...

Core Security Patterns: Best Practices and Strategies for J2EE(TM), Web Services, and Identity Management (Core Series)
by Christopher Steel, Ramesh Nagappan, Ray Lai
Average Customer Review: 4.5 stars based on 32 reviews.
Customer Review: This is a great book - by far the best security design book for Java and J2EE (including Java SE 6 and Java EE 5) I have read to date. When I first heard about my coworkers talking about this book, I thought "oh great, another J2EE book!" Much to my surprise, this book is not just a how-to security API or patterns recipe book but mu...

Expert One-on-One J2EE Development without EJB
by Rod Johnson, Juergen Hoeller
Average Customer Review: 4.5 stars based on 28 reviews.
Customer Review: By now a classic, this book eloquently expressed how the Corba component design committees came up with an EJB specification that was not an ideal cornerstone for all J(2)EE applications. Although very fit for selected purposes the early EJB specs had to evolve to EJB 3 to really leverage the power of Java. Fundamentals of component...

More related books: Search Amazon.com for "application server"

 

Copyright © 2000-2008 Barry & Associates, Inc. All Rights Reserved.
You can use this material for your work or classes. Click here for our reprint policy.
www.service-architecture.com

 

 Information on becoming a sponsor

 

 

Google

 

Barry & Associates, Inc.