• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

PortableRemoteObject.narrow()

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why is PortableRemoteObject.narrow() is required?
Very urgent
thanks in advance
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It is required for interoperability with RMI-IIOP. Every J2EE Application Server that implements EJB 2.0 is required to support RMI-IIOP.
If you are using an Application Server that supports a proprietary protocol (such as t3 for WebLogic) then using PortableRemoteObject.narrow() is not strictly necessary. However, for portability reasons it should still be used.
BTW, this only applies to Remote interfaces. Local interfaces do not need to use PortableRemoteObject.narrow().
 
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chris Mathews:
It is required for interoperability with RMI-IIOP. Every J2EE Application Server that implements EJB 2.0 is required to support RMI-IIOP.
If you are using an Application Server that supports a proprietary protocol (such as t3 for WebLogic) then using PortableRemoteObject.narrow() is not strictly necessary. However, for portability reasons it should still be used.


Thanks cris,
Am i right in concluding that portableremoteObject.narrow is mandatory if my appserver implements ONLY rmi-iiop.
I didnot get how t3 is used by weblogic.
william
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic