Hi Allen,
Just a quick question to you, what is the JNDI name that you have specified
in your XML descriptors which you are looking up by the name
java:comp/env/ejb/simpleSession
That will help me associate the names for my beans as well.
Thanks heaps.
Devraj
At 19:04 27/06/01 -0400, you wrote:
>try {
> InitialContext ctx = new Initialcontext();
> Object o = ctx.lookup("java:comp/env/ejb/simpleSession");
> simpleSessionHome home =
>(simpleSessionHome)PortableRemoteObject.narrow(o, simpleSessionHome.class);
> simpleSession bean = home.create();
> .
> .
> .
>}
>catch(....
>
>Al
>
>----- Original Message -----
>From: Devraj Mukherjee <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Cc: JBoss List Serve <[EMAIL PROTECTED]>
>Sent: Wednesday, June 27, 2001 6:48 PM
>Subject: [JBoss-user] Client code example
>
>
> > Is someone able to send me a chunk of their client code which creates a
> > object of their Session bean after doing a lookup.
> >
> > Devraj
> >
> >
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>_______________________________________________
>JBoss-user mailing list
>[EMAIL PROTECTED]
>http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user