-
1. Re: Jboss 2.4.4 & Local Interfaces
niranjan2202 Jul 10, 2002 6:57 AM (in response to cybertimo)There are 2 solutions to the problem:
1. If you only want to avoid the performance impact of remote method calls, use the 'optimize' option of JBoss jboss.xml.
2. If you want to use local interfaces because you want to use the application with other application servers, then you can try the following. It worked for me.
Use only <ejb-local-ref> tag to refer to other EJBs behind the session facade. With this you can use local interfaces and it also makes your code more portable.
Niranjan -
2. Re: Jboss 2.4.4 & Local Interfaces
niranjan2202 Jul 10, 2002 6:59 AM (in response to cybertimo)There are 2 solutions to the problem:
1. If you only want to avoid the performance impact of remote method calls, use the 'optimize' option of JBoss jboss.xml.
2. If you want to use local interfaces because you want to use the application with other application servers, then you can try the following. It worked for me.
Use only <ejb-local-ref> tag to refer to other EJBs behind the session facade. With this you can use local interfaces and it also makes your code more portable.
Niranjan -
3. Re: Jboss 2.4.4 & Local Interfaces
niranjan2202 Jul 10, 2002 7:00 AM (in response to cybertimo)There are 2 solutions to the problem:
1. If you only want to avoid the performance impact of remote method calls, use the 'optimize' option of JBoss jboss.xml.
2. If you want to use local interfaces because you want to use the application with other application servers, then you can try the following. It worked for me.
Use only <ejb-local-ref> tag to refer to other EJBs behind the session facade. With this you can use local interfaces and it also makes your code more portable.
Niranjan -
4. Re: Jboss 2.4.4 & Local Interfaces
marc.fleury Jul 10, 2002 10:46 AM (in response to cybertimo)There is no need to use local interfaces in the session facade case. The reason is that the 2.x and 3.x series optimize the communication away. What this means is that they both behave the same. Don't bother then.
A better venue to learn all of this is one of our trainings (in this case the advanced training) where we cover all of those little tricks. Patterns are a piece of bullcrap, getting the stuff to run well is an art. Sorry for the shameless plug but really we spend 4 days talking about that.