-
1. Re: JBoss2.4.4 and Local Interfaces - Required or not??
earlgrey Apr 15, 2002 3:15 AM (in response to rocketman)> I am curious to know exactly what optimization
> techniques JBoss employs for RMI...
pass by reference is activated by default in standardjboss.xml (serialization is bypassed):
<container-invoker-conf>
4444
True
</container-invoker-conf>
lars -
2. Re: JBoss2.4.4 and Local Interfaces - Required or not??
bbohnet Apr 16, 2002 12:03 AM (in response to rocketman)Sort of a newbie question here,
I am a little confused with this remote and local interface topic.
In my situation, having jboss and tomcat on the same machine, must I access the beans using the remote interface?(which is indicated in the ejb specs as quite alot of overhead)
My understanding is that there are two instances of the jvm on the same server(jboss & tomcat) which WOULD require using the remote interface.
So, how do you setup a servlet or an app to use the local interface?
Or, is this local interface usage provided within specific containers, like jrun etc?
thanks
Brian
> Hi,
>
> I am curious to know exactly what optimization
> techniques JBoss employs for RMI... is there any need
> to implement local interfaces within JBoss when all
> beans use the same VM? Does JBoss optimize inVM
> remote calls in someway, effectively negating the use
> of local interfaces (in this particular case)?
>
> Thanks,
> Abe -
3. Re: JBoss2.4.4 and Local Interfaces - Required or not??
andreas Apr 16, 2002 3:12 AM (in response to rocketman)> Sort of a newbie question here,
> I am a little confused with this remote and local
> interface topic.
> In my situation, having jboss and tomcat on the same
> machine, must I access the beans using the remote
> interface?(which is indicated in the ejb specs as
> quite alot of overhead)
You can't access local interfaces from jsp layer, because You can only define references to local interfaces in the env-namespace of a ejb.
The ejb spec. does not forbid access from other components except ejb's to local interfaces. But a proprietary solution for the references is needed. Jboss 3.0 will provide this (or does it today), as well global references to local interfaces in the ejb layer. The You would have to define the references in jbossweb.xml respective jboss.xml.
> My understanding is that there are two instances of
> the jvm on the same server(jboss & tomcat) which
> WOULD require using the remote interface.
No, if You use the integrated versions jboss/jetty or jboss/tomcat, only one VM run on Your server.
> So, how do you setup a servlet or an app to use the
> local interface?
See jboss 3.0 doku. I do not use it by now.
> Or, is this local interface usage provided within
> specific containers, like jrun etc?
> thanks
> Brian
> > Hi,
> >
> > I am curious to know exactly what optimization
> > techniques JBoss employs for RMI... is there any
> need
> > to implement local interfaces within JBoss when
> all
> > beans use the same VM? Does JBoss optimize inVM
> > remote calls in someway, effectively negating the
> use
> > of local interfaces (in this particular case)?
> >
> > Thanks,
> > Abe
> -
4. Re: JBoss2.4.4 and Local Interfaces - Required or not??
bbohnet Apr 16, 2002 10:27 AM (in response to rocketman)Thanks for all the information, it will help us out.