I would like to apologize to anyone on the list who I've offended
by asking this question. But I'd rather be ignored than insulted
for future reference.
Thanks to those who replied. :)
Craig H.
-----Original Message-----
From: srinath mandalapu [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 22, 2001 1:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Initial Context Question
Please do your homework before posting such stupid questions to the entire
mail list. I don't think you can learn EJB by posting questions to
EJBINTEREST mail group. Better to get some good books on EJB and go through
them before posting any silly questions to EJB.
-- Sri
----- Original Message -----
From: "Craig Herder" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 22, 2001 1:42 PM
Subject: Initial Context Question
> Hi,
>
> I am new to EJB. Could someone explain the following statement(s) in
terms
> of why
> I need to typecast a generic object into the home interface type, using
the
> narrow
> method? What's going on behind the scene here?
>
> Object boundObject = context.lookup("java:comp/env/ejb/HelloHome");
> helloHome = (HelloHome) PortableRemoteObject.narrow(boundObject,
> HelloHome.class);
>
> TIA,
>
> Craig Herder
>
>
===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
body
> of the message "signoff EJB-INTEREST". For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".