dev@glassfish.java.net

Re: A question about EJB Invocation

From: Marina Vatkina <marina.vatkina_at_oracle.com>
Date: Mon, 22 Apr 2013 20:17:36 -0700

Hi Tang,

On 4/22/13 6:50 PM, Tang Yong wrote:
> 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

This is the EJB.next specification feature request.
>
> If yes and not supporting such feature, I want to know why the jira is
> still open? :)

It will remain open until an EJB spec expert group decides what to do
about it spec-wise.

HTH,
-marina
>
> 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              
>>> −−−−−−−−−−−−−−−−−−−−−−
>>>
>>
>>