- Stateless Session Hello
This example creates a
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
method with each new message.
|Copyright © 1998-2006 Caucho Technology, Inc. All rights reserved.|
Resin® is a registered trademark,
and HardCoretm and Quercustm are trademarks of Caucho Technology, Inc.