EJB Tutorials
Resin 3.0

Features
Installation
Configuration
Web Applications
IOC/AOP
Resources
JSP
Quercus
Servlets and Filters
Databases
Admin (JMX)
CMP
EJB
Amber
EJB 3.0
Security
XML and XSLT
XTP
JMS
Performance
Protocols
Third-party
Troubleshooting/FAQ

Tutorials
Burlap Clients
Hessian Clients
CORBA/IIOP Server
Scrapbook

Stateless Session Hello
Entity Bean Home methods
Local Session Counter
Message Bean
EJB
EJB
Stateless Session Hello

Stateless Session Hello

This example creates a stateless session bean. A stateless session bean is similar to a servlet without sessions. The server bean itself can have state, but doesn't remember the client from one request to the next.

Entity Bean Home methods (ejbHome)

The EJB 2.0 spec adds home methods to entity beans. Applications can define methods callable from the home interface. In other words, there's no need to create or find an entity bean instance just to execute an entity method. The home methods resemble static Java methods or methods in a stateless session bean.

Local Session Counter

This example creates a local counter using a session bean. Session beans have a similar API to stateless session beans, but have internal state. In other words, they're like servlets sessions.

EJB Message Bean

EJB message beans are used to process message received through JMS. The message-driven bean server processes messages as they become available. The Resin-EE server calls the bean's onMessage() method with each new message.


EJB
EJB
Stateless Session Hello
Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.
Resin® is a registered trademark, and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.