All,

We've implemented the new EJB 3.1 javax.ejb.Singleton bean type. Singletons are a new type of Session bean being added to the EJB 3.1 specification. They provide some much needed functionality to the world of EJB and will be part of the coming OpenEJB 3.1 release.

http://openejb.apache.org/singleton-beans.html

http://openejb.apache.org/singleton-example.html

Enjoy the first ever @Singleton bean implementation!

A large part of our motivation for implementing this early is to gather feedback for the specification itself. This is one of those rare times where you can not only give feedback about our implementation but about the actual API as well!

Give it a try and let us know what you think!

-David

Example source code: svn co 
http://svn.apache.org/repos/asf/openejb/trunk/openejb3/examples/simple-singleton/


Reply via email to