A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java 8 in Action
this week in the
EJB and other Java EE Technologies
Joined: May 15, 2005
Jul 01, 2008 23:06:00
requried for EJB3.
I had created a session bean & deployed it on
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
SCJP 1.4, SCWCD 1.4, SCBCD 1.5
Joined: Oct 23, 2005
Jul 02, 2008 07:42:00
It's considered good form for casting but as you saw it can work both ways.
Down Home Country Coding with Scott Selikoff
I agree. Here's the link:
subject: PortableRemoteObject Narrow
is PortableRemoteObject. really needed?
ClassCast exception working with Remote session bean
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014