aspose file tools
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 The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "PortableRemoteObject Narrow" Watch "PortableRemoteObject Narrow" New topic

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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3740

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:
subject: PortableRemoteObject Narrow