dev@glassfish.java.net

Re: A question about EJB Invocation

From: Tang Yong <tangyong_at_cn.fujitsu.com>
Date: Tue, 23 Apr 2013 10:50:18 +0900

Hi Marina,

Thanks your reply!

Marina Vatkina wrote:
> Hi Tang,
>
> GlassFish does not support accessing EJBs across different applications
> through a local interface, but there had been done some performance
> improvements awhile ago for accessing remote EJBs in the same VM.
I see.

In addition, I want to ask whether you said above is the same as the
following jira?

https://java.net/jira/browse/EJB_SPEC-22

If yes and not supporting such feature, I want to know why the jira is
still open? :)

Thanks
--Tang

>
> -marina
>
> On 4/19/13 10:59 PM, Tang Yong wrote:
>> Hi Marina, Mahesh,
>>
>> I have a question about EJB Invocation,
>>
>> [Background]
>>
>> EAR(War) --> standalone EJB
>>
>> The War and EJB are not in the same application, however, they are
>> deployed in the same server instance(DAS), and EJB is deployed in a
>> standalone way.
>>
>> [Question]
>> I use Portable Global JNDI names to call the EJB from WAR. However, in
>> order to invocate the EJB successfully, I must change my EJB interface
>> view from local to remote.So, I have a question as following:
>>
>> Since War and EJB are deployed in the same server instance, whether can
>> still use local interface view rather than using remote view? After all,
>> using remote view will bring some performance lost.
>>
>> Thanks
>> --Tang
>>
>> −−−−−−−−−−−−−−−−−−−−−−
>> Tang Yong
>> Senior Engineer
>> Glassfish Team Developer(OSGi&OSGi-JavaEE)
>> OSGi Alliance Supporter
>> Blog: http://osgizone.typepad.com/tangyong/
>>
>> Nanjing Fujitsu NanDa Software Tec CO.,LTD
>> http://www.fujitsu.com/cn/fnst
>> Tel: +86-25-86630566-8310
>> Fax: +86-25-83317685              
>> −−−−−−−−−−−−−−−−−−−−−−
>>
>
>
>

-- 
−−−−−−−−−−−−−−−−−−−−−−
Tang Yong
Senior Engineer
Glassfish Team Developer(OSGi&OSGi-JavaEE)
OSGi Alliance Supporter
Blog: http://osgizone.typepad.com/tangyong/
Nanjing Fujitsu NanDa Software Tec CO.,LTD
http://www.fujitsu.com/cn/fnst
Tel: +86-25-86630566-8310
Fax: +86-25-83317685              
−−−−−−−−−−−−−−−−−−−−−−