Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PortableRemoteObject Narrow

 
Nikhil Jain
Ranch Hand
Posts: 389
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Scott Selikoff
author
Saloon Keeper
Posts: 4020
18
Eclipse IDE Flex Google Web Toolkit
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's considered good form for casting but as you saw it can work both ways.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic