This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes PortableRemoteObject Narrow Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "PortableRemoteObject Narrow" Watch "PortableRemoteObject Narrow" New topic
Author

PortableRemoteObject Narrow

Nikhil Jain
Ranch Hand

Joined: May 15, 2005
Posts: 385
Is PortableRemoteObject requried for EJB3.

I had created a session bean & deployed it on JBOSS Server. I created a stand alone client. I did not do any narrowing but it still worked. I modified by code, to include the narrowing part. It also worked. So is this narrowing required in EJB 3


SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Scott Selikoff
author
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3739
    
  10

It's considered good form for casting but as you saw it can work both ways.


[OCA 8 Book] [Blog]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PortableRemoteObject Narrow