Summary: | Optional local business interfaces for EJB 3.1 beans | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [WebTools] WTP EJB Tools | Reporter: | Kaloyan Raev <kaloyan> | ||||||||
Component: | jst.ejb | Assignee: | Kaloyan Raev <kaloyan> | ||||||||
Status: | RESOLVED FIXED | QA Contact: | Kaloyan Raev <kaloyan> | ||||||||
Severity: | enhancement | ||||||||||
Priority: | P3 | CC: | ludo, raccah | ||||||||
Version: | unspecified | Keywords: | plan | ||||||||
Target Milestone: | 3.2 M6 | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Whiteboard: | JavaEE6 | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 241666 | ||||||||||
Attachments: |
|
Description
Kaloyan Raev
2008-07-22 10:14:01 EDT
Decommitting Java EE 6 support for WTP 3.1 We've added this on the GlassFish plugin. 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. Created attachment 154964 [details]
patch - warning for no business interface
As a matter a fact, until now there was no check in the wizard that validates if there is any business interfaces configured for the bean.
This patch added such validation for EJB 3.0 project. The message "No business interface configured. Clients will not be able to access this bean. " appears if there is no business interfaces selected. This validation is not active for EJB 3.1 projects.
Committed to HEAD and released to build. Forgot to resolve the bug. Reopening this bug. I have just compared the current solution with the one implemented in the Glassfish server adapter. I see that I missed to consider section 4.9.8 (Session Bean's No-Interface View) from the EJB 3.1 specification. More specifically the @LocalBean annotation and its usage. Nevetheless, the committed patch with the warning is still valid. raccah, do you wish to contribute the No-interface checkbox to the WTP Session Bean wizard and the logic for generating the @LocalBean annotation in the bean's source code? 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 159894 [details]
No-interface checkbox
This patch introduces a new checkbox - No-interface. If checked, it includes the @LocalBean annotation in the generated bean stub. There is also appropriate validation implemented in the wizard.
Created attachment 159902 [details]
Context help documentation
This patch updates the context help of the session bean wizard.
All patches committed and released to HEAD. adding cc |