Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-platform-dev] : Re: Proposed language to drop BMP and CMP in the Platform specification



On Tue, Jun 21, 2022, 3:02 PM Tracy Burroughs <tkb@xxxxxxxxxx> wrote:

What about the Embedded EJB Container?  I thought there were two optional features that were preventing other vendors from ratification of Jakarta EE 10:

1. CMP and BMP Persistence
2. Embedded EJB Container


Has Embedded EJB Container also already been removed from the platform specification?

Going forward, does this mean:

Jakarta EE 11 / EJB 4.1 – the above 2 optional features will move to deprecated for removal
Jakarta EE 12 / EJB 5.0 – the above 2 deprecated features may finally be removed

Or would it be possible to remove these 2 features in Jakarta EE 11 / EJB 5.0?

As per https://jakarta.ee/specifications/platform/9.1/jakarta-platform-spec-9.1.html#a2331, EE 11 could remove both of them (as EE 10 could as well).

Scott




Tracy Burroughs  (tkb@xxxxxxxxxx)

WebSphere Application Server Development

IBM Rochester, Dept AAW, Bldg H315/050-2

2800 37th Street NW, Rochester MN 55901-4441

 

From: jakartaee-platform-dev <jakartaee-platform-dev-bounces@xxxxxxxxxxx>
Sent:
Tuesday, June 21, 2022 12:35 PM
To: jakartaee-platform developer discussions <jakartaee-platform-dev@xxxxxxxxxxx>; Ivar Grimstad <ivar.grimstad@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [jakartaee-platform-dev] [External] : Re: Proposed language to drop BMP and CMP in the Platform specification

 

I think, we can breath a bit easier -- I didn't look closely enough. CMP and BMP (spelled out) ARE already listed as removed from the platform. The text below text might help clarify for vendors that want to continue supporting these persistence

ZjQcmQRYFpfptBannerStart

This Message Is From an External Sender

This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

I think, we can breath a bit easier -- I didn't look closely enough. CMP and BMP (spelled out) ARE already listed as removed from the platform. The text below text might help clarify for vendors that want to continue supporting these persistence modes -- but the text already states they are not required in EE 10.

So, we can either just leave this for clarification later, or I'm happy to merge this text in sometime this week.

Current references:

  • 2.7.22 Jakarta Enterprise Beans
  • Text at the end of Section 9.7
  • 12.1.1.1 Removed Technologies

I would also recommend we file an issue against Enterprise Java Beans to track deprecation / removal of these persistence modes.

-- Ed

On 6/21/2022 10:25 AM, Ivar Grimstad wrote:

+1

 

On Tue, Jun 21, 2022 at 7:22 PM Scott Stark <starksm64@xxxxxxxxx> wrote:

We favor this change.

 

On Jun 21, 2022 at 12:12:48 PM, Ed Bratt <ed.bratt@xxxxxxxxxx> wrote:

In the Platform Specification, I find that EJB CMP and BMP are only mentioned in section 12.2.1, Jakarta Persistence. The entire text of that section is:

12.2.1. Jakarta Persistence

Jakarta Persistence provides a much richer set of modeling capabilities and object/relational mapping capabilities than EJB CMP entity beans and is significantly easier to use.

Support for EJB CMP and BMP entity beans has been made optional with the Java EE 7 release. Support for EJB CMP 1.1 entity beans has been optional since Java EE 5. Applications are strongly encouraged to migrate applications using EJB entity beans to Jakarta Persistence.

As we had previously discussed dropping requirements in CMP and BMT, but this not implemented, I propose the text be modified as following:

12.2.1. Jakarta Persistence

Jakarta Persistence provides a much richer set of modeling capabilities and object/relational mapping capabilities than EJB CMP entity beans and is significantly easier to use.

Support for Jakarta EJB CMP was made optional in Java EE 5 and BMP was made optional in Java EE 7. In Java EE 10, these persistence modes are no longer required by the platform. Compatible products may continue to support these persistence modes in Jakarta EE 10. Compatible products supporting Enterprise Java Beans CMP and BMP must meet the requirements described in the Enterprise Java Beans specification for CMP and BMP and pass the appropriate compatibility tests included in the Jakarta EE 10 Platform TCK. These tests are supported in the Jakarta EE 10 Platform TCK. Enterprise Java Beans, CMP and BMP will be deprecated for removal in a future release.

GlassFish does currently support these modes, and it is my hope that this will allow us to maintain the feature for products that wish to continue using it -- announce the deprecation (hopefully in EE 11) -- and finally allow us to certify compatible implementations that do not include support for BMP and CMP.  No changes would be made to the EJB specification and the feature still exists and is defined by the component specification. We're just removing the Platform requirement.

If there is general agreement in this direction, I could start a PR to begin our discussion on this text. If someone else would like to pick this up, I'm happy to step back or put this on hold for EE 11.

-- Ed

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

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


 

--

Ivar Grimstad

Jakarta EE Developer Advocate | Eclipse Foundation Eclipse Foundation - Community. Code. Collaboration. 



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

Back to the top