Re: Custom Resource Factory
On Aug 22, 2008, at 4:30 PM, Dain Sundstrom wrote: On Aug 20, 2008, at 6:47 PM, David Blevins wrote: When webbaps boot, we export all the Tomcat configured resources as OpenEJB objects so they are available for injection. What we don't do is log a message when we do that which would be really handy right now at least I don't think we do (maybe on debug?) I'll implement that this weekend when I take a look at the other Tomcat bugs. Implemented. Here is an example message from the openejb.log file: 2008-08-23 16:01:28,113 - INFO - Importing a Tomcat Resource with id 'UserDatabase' of type 'org.apache.catalina.UserDatabase'. As for the other problem we are only importing global resources. It is a bit more tricky to import application level resources, because Tomcat does not differentiate between actual resource instances and references to global resources. I'll take a look at that next week, unless someone else beats me to it. -dain
Re: Functional testing with OpenEJB + Jetty + Selenium
> if anyone has improvements or suggestions, please do let me know. > If possible, please add more comments in the code.
Docs: EJB 3.1 Singleton documentation
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/