1 Reply Latest reply on Jul 1, 2009 5:42 PM by vony jon

    Improve Remote interfaces (marshaling unmarshaling...)

    mariqn nenchev Novice

      Hi,

      I have some strange problem. I need to minimize the execution time of remote ejb method invokation. I have Tomcat that comunicates with jboss and use ejbs for business logic. In my struts action i lookup remote interface(takes 8-10 ms??!?!) and the ejb method in tomcat is done for ~200ms, but in jboss it is ~100ms. I dig about that and it seems that the remote interfaces are doing marshaling serializing and unmarshaling, So may be those 100ms go into that? There are no network problems. How to improve that? And one other thing is it save to look up all interfaces on app start up and push them in some global hash and use them in the whole app in order to skip the 8-10 ms lookup every time?