Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ejb-dev] Delegate EJB features to Specs with More Affinity.

Interestingly, I just documented this very issue here on the CDI GitHub: https://github.com/eclipse-ee4j/cdi/issues/424#issuecomment-615975513. I think all of the EJB features I referenced are valuable and I have seen them in broad usage - even today.

I am not a 100% sure when we should begin to seriously discuss this, but I am pretty sure the focus right now need to be getting Jakarta EE 9 out the door.

Reza Rahman
Jakarta EE Ambassadors, Author, Blogger, Speaker

Please note views expressed here are my own as an individual community member and do not reflect the views of my employer.

On 4/18/2020 6:17 PM, Rhuan Henrique wrote:
Hi all,

The EJB has being questioned about its benefits to this new era of Jakarta EE and what can we expect to its future.  In my opinion EJB has many interesting feature and can be useful today as well. Thus, I made a survey in Twiiter with community to ask about your opinion. Many persons said EJB is not necessary today, but 50% said EJB has interesting feature that can be useful today. With this, I published this survey in this post: https://developers.redhat.com/blog/2019/10/22/jakarta-ee-whats-in-store-for-enterprise-javabeans/

In this survey, some people propose another way, which is to obtain the interesting features of the EJB and distribute them to other specifications with more affinity. I liked this proposal and would like to start a discussion about it here.Ex.: Getting the MDB and delegate this feature to JMS.

These are some interesting features in my opinion:
  • Asynchronous Invocation
  • Stateless EJB pool
  • @Startup to  call a method at startup time
  • EJB Timer
  • Singleton
  • Message-driven bean (MDB)
  • Transaction management
Let me know if you think it has another interesting feature to nowadays.

If you agree those features can be distributed to another specs I would like to start to mapping each feature can be delegated to each spec.

I think distributing those features we can have those feature in a lighter technology and those features can be adopt easier by some projects that use some Jakarta EE specs but don't use the EJB. As an example we can quote Quarkus and Microprofile, that use CDI and can adopt some of those features, whether delegated to CDI.

Regards,
Rhuan Rocha

_______________________________________________
ejb-dev mailing list
ejb-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/ejb-dev



Back to the top