Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ejb-dev] [VOTE] Handling of PortableRemoteObject.narrow

Hi,

I'm just an outsider listening in, but I think Option A is the way to go as long as we have people using PortableRemoteObject.narrow.

Edwin

On Fri, 5 Mar 2021 at 05:22, sawamura.hiroki@xxxxxxxxxxx <sawamura.hiroki@xxxxxxxxxxx> wrote:

I’m not sure if I fully understand the discussion so far, but I would vote for A.

We still have a lot of customers using PortableRemoteObject.narrow.

 

Best Regards,

Hiroki

 

Begin forwarded message:

 

From: David Blevins <dblevins@xxxxxxxxxxxxx>

Subject: [VOTE] Handling of PortableRemoteObject.narrow

Date: March 1, 2021 at 7:50:07 PM PST

To: ejb developer discussions <ejb-dev@xxxxxxxxxxx>

 

Here's the vote as promised last week.  I think I can predict the outcome based on recent conversation, but as we had some miscommunication here an explicit choice / request for input from everyone would be very good.

As noted in the discussion, the javax.rmi.PortableRemoteObject class has been removed from the JDK so there is some explicit action needed from us to guarantee the portability of applications on JDK 11.

A. PortableRemoteObject.narrow must remain a requirement for users and servers that support EJB 2.x remote interfaces, which is part of the Enterprise Beans 2.x API optional group.  Signature tests will be added to the TCK to verify servers that implement the Enterprise Beans 2.x API optional group are compliant.  No specification changes in the Platform or Enterprise Beans specs would be needed for this approach.

B. PortableRemoteObject.narrow is removed, required for no one, and servers deal with this under the covers as they do for EJB 3.0 remote interfaces.  The section of the Platform spec that states PortableRemoteObject.narrow will be updated for Jakarta EE 9.1  Enterprise Beans spec would be updated at some later date to reflect this is no longer needed.  The PortableRemoteObject.narrow calls in the TCK would be removed.

Both options are orthogonal to if a server does or does not support COBRA.

Let's aim to keep this open for 72 hours so this can be definitively wrapped up Friday morning.


--
David Blevins
http://twitter.com/dblevins
http://www.tomitribe.com

 

_______________________________________________
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