jsr236-experts@concurrency-ee-spec.java.net

[jsr236-experts] Re: Updated Early Draft posted

From: Frederick W Rowe <frowe_at_us.ibm.com>
Date: Wed, 15 Aug 2012 12:02:23 -0400

Here are a couple of typos/ errors we noticed in the new draft.

Under 3.1.1.2.3, there is a reference to component-managed that needs to
be removed:
"The ManagedExecutorService is component-managed and is therefore managed
by the servlet instance lifecycle."

The example under 3.2.1.1.1.3 has a minor typo:
@Resource(name-"concurrent/ScheduledLoggerExecutor")
should be:
@Resource(name="concurrent/ScheduledLoggerExecutor")

In section 3.3.3.1.1, there is a typo,
"All objects created by a ContextFactory instance"
should be
"All objects created by a ContextService instance"

3.5.1 Item 5 has some extra text at the end that should have been
removed:
"Tasks submitted to the master executor are owned by the
executor instance. If the master executor becomes unavailable, the
submitted tasks are
cancelled."

In 3.5.1, there appears to be a section labeling problem with
"Distributable with Affinity Requirements" subsection there is a single
"1" in front of the section name.


Regards,

Fred Rowe
WebSphere Architect
IBM Software Group




Anthony Lai <anthony.lai_at_oracle.com>
08/07/2012 02:08 PM
Please respond to
jsr236-experts


To
jsr236-experts_at_concurrency-ee-spec.java.net
cc

Subject
[jsr236-experts] Updated Early Draft posted






Dear experts,

I have posted an updated version of the early draft document with the
following changes:

Updated section 2.3.1 to not require callback methods as contextual
invocation points, and added new configuration parameter
Contextual-Callback in sections 3.1.4.1 and 3.2.4.1.
In sections 3.1.4.1 and 3.2.4.1, clarified behavior when both Context and
ThreadFactory configuration attributes are specified.
Removed component-managed ManagedExecutorService and
ManagedScheduledExecutorService.
Moved applicable shutdown behavior of component-managed
ManagedExecutorService and ManagedScheduledExecutorService to sections
3.1.6.1 and 3.2.6.1.
Updated example in section 3.3.1.2.3 to reflect API change in
ContextService.
Added more details to ManagedThreadFactory shutdown mechanism in section
3.4.4.
Updated section 3.5 to make Distributable ManagedExecutorService optional.

Updated section 3.5.1 to require Trigger to be Serializable.
Removed requirements in section 3.5.1 that defines behavior when master or
slave eecutor becomes unavailable.
Managed Object in section 4 is made optional.
Fixed more typos.
Updated more code examples to use resource injection instead of JNDI
lookup.

APIs and Javadocs on the java.net project site have also been updated with
changes related to the ManagedThreadFactory shutdown issue.

The document can be found at
http://java.net/projects/concurrency-ee-spec/downloads/download/EE%20Concurrency%20Utilities-Aug6.pdf


A version with marks showing what have been updated can be found at
http://java.net/projects/concurrency-ee-spec/downloads/download/EE%20Concurrency%20Utilities-Aug6-delta.pdf


Thanks everyone for the comments and suggestions so far. Please continue
to send any comments, concerns, and suggestions to the list.

Regards
Anthony