users@ejb-spec.java.net

[ejb-spec users] [jsr345-experts] Re: Review request: EDR books uploaded to java.net project page

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Wed, 11 Jan 2012 12:50:43 -0800

Hi Antonio,

Antonio Goncalves wrote:
> Hi all,
>
> Here are a few comments/questions (mostly about Interceptor and
> Transaction specification) :
>
> * Will interceptors still be inside the EJB spec or will there be a
> seperate spec ? It feels like JPA 1.0 when it was bundled with EJBs.
> Now that interceptors can be applied to managed beans, couldn't it be
> move to the Java EE spec instead of the EJB (like the Managed Bean and
> Transaction support)?

There is a note (still marked XXX to be filled in if there is an update
to the Interceptors spec) under 1.5:

"The Interceptors document defines the contracts and requirements for
the use and implementation of interceptors. These contracts, while
required by the core EJB specification, are described in a way that is
independent of EJB in order to faciliate their use by other enterprise
Java technologies. Future revisions to the Interceptors
specification[38] will be undertaken independently of EJB [XXX To be
confirmed]."

Should I remove the text in []?

> * Chapter 6 (Persistence) is blank and just refers to the JPA
> specification. Why don't we do the same for interceptors and support
> for transaction ? They could be left "blank" and just refer the
> seperate interceptor and transaction spec.

Transactions chapter will probably stay as the new annotations will be
different, with the ref to the JTA spec, and may be some generic text
replaced with the pointers to that spec. But the interceptors chapter
might be a good idea as you are not the first one looking for the
clarity in this area.

What do others think?

thanks,
-marina
>
> Antonio
>
>
> On Tue, Jan 3, 2012 at 21:54, Marina Vatkina
> <marina.vatkina_at_oracle.com <mailto:marina.vatkina_at_oracle.com>> wrote:
>
> Happy New Year everybody!
>
> This is a friendly reminder that I'm still waiting for the reviews.
>
> Best,
> -marina
>
>
> Marina Vatkina wrote:
>
> Experts,
>
> I uploaded EDR versions of both books of the EJB 3.2 spec.
> Please review the changes before the books go to the JCP site
> for an official submission. If you don't have any comments,
> please let me know if you are ok with the EDR in its current
> state.
>
> The books have the change bars (the Optional Chapters changes
> are very minor) and all the changes are listed in the Revision
> History sections.
>
> Other than all the cleanups and clarifications (thank you very
> much to everybody who helped with this activity), the
> following had been added to/changed in the spec (the
> corresponding parts of the revision history are prepended with
> *New:*) :
>
> * Added asynchronous session bean invocations and
> non-persistent EJB Timer Service support to EJB 3.2 Lite.
> * Removed restriction to obtain the current class loader;
> changed ‘must not’ to ‘should exercises caution’ when using
> the Java I/O package.
> * Added support for the lifecycle callback interceptor methods
> of stateful session beans to execute in a transaction context
> determined by the bean’s transaction management type and any
> applicable transaction attribute.
>
> Have a nice reading!
>
> -marina
>
>
>
>
>
>
> --
> Antonio Goncalves
> Software architect and Java Champion
>
> Web site <http://www.antoniogoncalves.org> | Twitter
> <http://twitter.com/agoncal> | Blog
> <http://feeds.feedburner.com/AntonioGoncalves> | LinkedIn
> <http://www.linkedin.com/in/agoncal> | Paris JUG <http://www.parisjug.org>