dev@glassfish.java.net

Re: how to find EJB 3.0 instance from J2EE container

From: Kenneth Saks <Kenneth.Saks_at_Sun.COM>
Date: Mon, 29 Sep 2008 11:27:18 -0400

On Sep 26, 2008, at 6:04 PM, Jim Jiang wrote:

> Yes, and the J2EE 1.4 application is deployed on another container.

There are two issues : a) how to access a bean class written using the
3.0 API from a 2.x client
and b) how to do a remote lookup across application server instances

For a), you'll need to expose a 2.x remote view from your EJB 3.0
session bean class.
Take a look at this EJB Tech tip on compatibility and migration :

http://java.sun.com/mailers/techtips/enterprise/2007/TechTips_Feb07.html#1

For b), see this entry from the EJB FAQ :

https://glassfish.dev.java.net/javaee5/ejb/EJB_FAQ.html#cross-
appserverremoteref

>
>
> Thanks!
>
> Kenneth Saks wrote:
>> Hi Jim,
>>
>> Are you asking how to access a bean written to the EJB 3.0 API from
>> a J2EE 1.4 application?
>>
>> On Sep 26, 2008, at 4:43 AM, Jim Jiang wrote:
>>
>>> EJB 3.0 instance is deployed on Application Server 9.1, and J2EE
>>> container is Sun application server 8.1.
>>> Could anyone provide the sample code for this?
>>>
>>> Jim
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>