Bug 241668 - Singleton session beans
Summary: Singleton session beans
Status: RESOLVED FIXED
Alias: None
Product: WTP EJB Tools
Classification: WebTools
Component: jst.ejb (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 3.2 M6   Edit
Assignee: Kaloyan Raev CLA
QA Contact: Kaloyan Raev CLA
URL:
Whiteboard: JavaEE6
Keywords: plan
Depends on:
Blocks: 241666
  Show dependency tree
 
Reported: 2008-07-22 10:16 EDT by Kaloyan Raev CLA
Modified: 2010-02-09 12:01 EST (History)
2 users (show)

See Also:


Attachments
patch (16.37 KB, patch)
2010-02-09 11:57 EST, Kaloyan Raev CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kaloyan Raev CLA 2008-07-22 10:16:13 EDT
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.
Comment 1 Kaloyan Raev CLA 2009-02-02 04:49:23 EST
Decommitting Java EE 6 support for WTP 3.1
Comment 2 ludo CLA 2009-12-17 21:36:52 EST
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.
Comment 3 Kaloyan Raev CLA 2009-12-23 09:00:48 EST
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.
Comment 4 raccah CLA 2009-12-23 12:51:10 EST
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.
Comment 5 Kaloyan Raev CLA 2010-02-09 11:57:50 EST
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.
Comment 6 Kaloyan Raev CLA 2010-02-09 12:01:32 EST
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.