ejb@glassfish.java.net

Re[2]: Connecting to Glassfish from remote web container

From: AKostylev <akostylev_at_ipian.kazan.ru>
Date: Fri, 4 Aug 2006 10:15:54 +0400

Hello, Kenneth.
Thank you for your answer.
I'm trying to connect to Session bean placed at Glassfish from Resin.
So those stand-alone client steps fro FAQ are working for console application,
but not for web application placed at Resin web container.

So what I'm trying to do:

Context ic = (Context)new InitialContext();
Object object = ic.lookup(Converter.class.getName());

So as I said, this code is working when launching at standalone
console application but not at jsp page at Resin web container.
What should I do?
Thank you.


> AKostylev wrote:

>>Hello.
>>
>>How should I connect to Session bean at Glasshfish from remote web
>>container (for example. Resin)? Methods for standalone client are not
>>workin for this case.
>>
> Do you mean you tried the stand-alone client steps outlined in the EJB
> FAQ and encountered
> an error? If so, can you post the details. Thanks.

> --ken

>>
>>
>>
>>
>>





-- 
С уважением,
 AKostylev                          mailto:akostylev_at_ipian.kazan.ru