Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ee4j-community] Tomitribe commitment to EE4J

> On Oct 14, 2017, at 11:24 AM, arjan tijms <arjan.tijms@xxxxxxxxx> wrote:
> > The former EJB should just be services that could be applied to any CDI bean. 
> By that do you mean that you'd like to see @Asynchronous to remain in the EJB spec, but in a CDI version? 
> Since @Transactional moved to JTA, I think it might be a better idea to move @Asynchronous to the Concurrency spec. Not sure about @Pooled though, but @Schedule and @Lock probably should be best at home in the Concurrency spec as well.

I'm not entirely sure.  I have very mixed feelings about simply moving annotations around.  @Transactional is at least a different name than @TransactionAttribute.

I repeatedly mistakenly import JAX-RS's @Produces when I meant to use CDI's @Produces and don't notice till deploy time.  If I'm sleepy it takes me a while to put it together because imports are collapsed and hidden in the way IntelliJ is configured by default.

Many people frequently import the Java EE @ManagedBean when they mean to import the JSF @ManagedBean.

The concern I'd have is we could easily poison the well of EE by moving annotations around and improving them in a new package leaving an increasingly large number of confusing traps for people fall into, get frustrated with and drive them away.  Doing this because we don't like the EJB package feels like EJB creating one more mess for us.  A mess that only people in the know will understand.


Back to the top