wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Saloon Keeper

Joined: Oct 23, 2005
Posts: 3697
    
    5

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


My Blog: Down Home Country Coding with Scott Selikoff
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PortableRemoteObject Narrow
 
Similar Threads
casting problem
is PortableRemoteObject. really needed?
ClassCast exception working with Remote session bean
PoratableRemoteObject
Conversions