File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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: 3704
    
    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
 
jQuery in Action, 2nd edition
 
subject: PortableRemoteObject Narrow