[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-11-04 Thread rafaelcba
Hi All! Is possible force Call-By-Value on local invocations made cross EARs with isolated class loaders deployed on same JBoss? I have that scenario: Two EARs deployed on same JBoss AS: App1.ear - META-INF (descriptors) - lib/lib.jar (ClassA.class) - EJB.jar (MyBean1) App2.ear - META-INF

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-11-01 Thread edek234
I meant an interceptor, not a filter. The EJB interceptor. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186197#4186197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186197

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-11-01 Thread edek234
Actually I'm not an expert, if there is abetter way of doing this, please let me know. I would write a filter, recoding execution times in ThreadLocal, and dump it into logs in a Servlet fillter (unless you are trying to profile WebServices). Browsers: there is a lot going on in the browser, li

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-10-30 Thread mrfarhankhan
Would you suggest any profiler thats best for this purpose ? Secondly, I'v noticed that the application renders slow on IE as compared to FireFox browser. Any tips ? Farhan ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185889#4185889 Reply to the post :

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-10-30 Thread PeterJ
The first step in performance tuning is gathering performance data so that you can identify the bottleneck (that is, where things are running too slowly). With the bottleneck identified, you can fix that. Without knowing where your bottleneck is, you will not be able to get any performance impro

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-10-30 Thread mrfarhankhan
Thanks for the reply. I'm using JSF, EJB3, JBoss4.2.2.GA. I have several stateless EJB deployed on JBOSS, on the same machine. I have updated now and using the local interfaces instead of the remote interfaces. Also, I have done JBoss tunning and slimming as mentioned in this link http://www.

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-10-29 Thread ALRubinger
Not that if invoking upon a Remote interface within the same JVM, pass-by-value semantics apply to fit spec (as Jaikiran noted) but the network stack is bypassed (for efficiency). S, ALR View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185519#4185519 Reply to

[jboss-user] [EJB 3.0] - Re: How does JBoss handle Local and Remote interfaces

2008-10-29 Thread jaikiran
For remote interfaces the params and return values are serialized/deserialized. Whereas calls through local interfaces don't involve these steps. So if you are using the beans within the same JVM, then its better to use local interfaces. View the original post : http://www.jboss.com/index.htm