Ok, I have gotten the ejb to deploy correctly, but I am getting a class cast
exception when I am trying to acquire the home interface of my person bean.
try
{
System.out.println( "Starting to look for the person bean" );
Object o = ctx.lookup( "person.PersonHome" );
System.out.println( "Found " + o.getClass().toString() );
PersonHome phome = (PersonHome)o;
System.out.println( "Found the person home interface" );
}
catch( Exception e )
{
...
}
The type of class returned by the lookup is PersonBeanHomeImpl_ServiceStub
Does this ring a bell for anyone?
Scott
===========================================================================
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".
- Primary key class in container managed entity bean, int... Scott Ellis
- Re: Primary key class in container managed entity ... Juan Pablo Lorandi
- Re: Primary key class in container managed entity ... Scott Ellis
- Re: Primary key class in container managed ent... Jorgen Thelin
- Re: Primary key class in container managed ent... Bill Messick
- Re: Primary key class in container managed entity ... Juan Pablo Lorandi
- Re: Primary key class in container managed entity ... Ram Komarraju
- Re: Primary key class in container managed entity ... Ram Komarraju
- Re: Primary key class in container managed entity ... Scott Ellis
- Re: Primary key class in container managed entity ... Scott Ellis
- SV: Primary key class in container managed entity ... Scott Ellis
- SV: Primary key class in container managed entity ... Kaj Bjurman
- Re: Primary key class in container managed entity ... Scott Ellis
- Re: Primary key class in container managed entity ... Tim Shaw
- Re: Primary key class in container managed entity ... Scott Ellis
- Re: Primary key class in container managed entity ... bants 73
