Issue Details (XML | Word | Printable)

Key: CONCURRENCY_EE_SPEC-17
Type: Improvement Improvement
Status: Closed Closed
Resolution: Works as designed
Priority: Major Major
Assignee: anthony.lai
Reporter: anthony.lai
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
concurrency-ee-spec

References should be required, instead of recommended, to be bound in the java:comp/env/concurrent sub context

Created: 02/Nov/12 07:09 PM   Updated: 27/Dec/12 07:24 PM   Resolved: 04/Dec/12 08:33 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:
Participants: anthony.lai


 Description  « Hide

From Adam Bien

Section 3.1.1 says
This specification recommends, but does not require, that all resource environment references be organized in the appropriate subcontext of the component's environment for the resource type. For example, all ManagedExecutorService references should be bound in the java:comp/env/concurrent subcontext.

It should be required. Otherwise developers could not rely on that.



anthony.lai added a comment - 04/Dec/12 08:33 PM

Linda, the Java EE 7 spec lead, pointed out that chapter 5 of the platform spec recommends but not requires various resource types to be organized into the corresponding subcontext. JSR 236 should be consistent with the platform spec.