Community
Participate
Working Groups
The EJB 3.1 specification introduces new types of session beans - Singleton. The Session Bean wizard should be updated to create Singleton session beans well.
Decommitting Java EE 6 support for WTP 3.1
We've added this on the GlassFish plugin (as well as the capability of adding local EJBs inside a Web Application Project). Once this is done at the WTP level, we can simplify our plugin. Feel free to ask for testing on our plugin adapter for GlassFish v3.
ludo, raccah, do you wish to contribute to WTP the modification of the Session Bean wizard that enables generation of Singleton beans? I see this is implemented in the Glassfish server adapter.
Yes, we would like to do so if possible. We are investigating the details on our side and hope to have a decision in the beginning of the new year.
Created attachment 158608 [details] patch I attach a patch that implements the enhancement. The 'Singleton' option is added to the 'State type' drop-down list. If 'Singleton' is selected for EJB projects with version lower than 3.1, then a validation error is shown and the wizard cannot finish.
The patch is committed to HEAD and the change will be available with this week's I-build. ludo, raccah, I will appreciate if you test the I-build and give your feedback.