Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ejb-dev] [External] : [VOTE] Handling of PortableRemoteObject.narrow
  • From: Ed Bratt <ed.bratt@xxxxxxxxxx>
  • Date: Tue, 9 Mar 2021 08:29:24 -0800
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=obJ5v/Aefza8YW38tPEYHYOA+Y/UZl4irVvBNpmoLcg=; b=GX0kyGLMKNOMy+hvUdM/cCvR3SR9VkIkmIa3xW4V46BnL9MoBFhsdq6WopOwR2ujX5AdAIeDUBBJ0/zi5E8UFrdnd/bWloCalZ4FcR94gFaTcgk0wJVF6D3jOlUPlECIPWU/yw33eUOlf81l0i/90wZvt/xWC1Ui09nKTF3X472lM4gQZUGWEgWa4WCrbwAmavSUF7kuh/bN4Sztey87ooc4C8EwKKlzGGj40yNN3l0+yqkHyFIdr98ltj/DNxUmkQVQzvdkUkRrZomRlvAD6IGfzV2GevCxrCLYaHg/zZI+qxp64atmwdpDFYgCNS6Wf3UeV8Aff88EqETiKNfQLA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=R9szt12LOvDhmNip7iH8NVmJ9eHBpilbxc2+y+AyRYmrzsyA34BAyOxYQSduadaPbu3nNbqb75yooCcY31MBmsogb5ER17rlIh/FApKSmJ7/Bc4VVbwFK/vp5LBmMWw0VBa7Y9V9AvVG5LPTULtZbeqoyAqRb7Nd3kaLr6IPrWwy65Zlob4tqlIXec1f+rIZoTrN3lXJrkkAE6b4uaSkgAIdZXEpanYXNBORDKicycH/ikJaxQokUNRLDnyAaQ59BMCgyTtObJfUn81nBmUHGo9pVVNTbEx7hqsWtl2Bajwe0ReqvbVWZ092xesEo1XWXS7YJ7uPzbxpB4KR7HFcgw==
  • Delivered-to: ejb-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/ejb-dev/>
  • List-help: <mailto:ejb-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/ejb-dev>, <mailto:ejb-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/ejb-dev>, <mailto:ejb-dev-request@eclipse.org?subject=unsubscribe>
  • User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

A little late and probably inconsequential, but we (Oracle) would be happy with Option B. However, it looks like A is the clear favorite.

Sorry, I was supposed to send this last week.

-- Ed

On 3/1/2021 7:50 PM, David Blevins wrote:
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.




Back to the top