i'd like to know how i can configure the J2EE engine to pass ejb parameters by reference, instead of by value. is this a config thing or really an ejb programming thing?
we have a j2ee application deployed on WAS 6.40 J2EE Engine. In a nutshell, our app is made up of a few stateless session beans and bunch of servlets. each bean is packaged in its own .jar file. all the ejb jars and the single web app .war file are packaged into one .ear file. we deploy this .ear file using the Visual Administrator tool. in short, everything should reside on the same jvm.
one of our beans invokes methods of another bean. we have various logging and monitors placed in the code. i've noticed that there are a lot (i mean really a lot) of serialization happening when cross bean border calls are made. this causes serious performance degradation.
the same app works fine under weblogic. running exactly the same test reveals no serialization between the bean calls. weblogic seems to automatically pass params by reference when the client and bean are on the same jvm.
???my question is: can i configure J2EE Engine to behave the same? in other words, when the client and the bean are on the same jvm, is there a configuration property i can set somewhere to enable param passing by reference?
btw, our beans only have remote and home interfaces today, no local or local home interfaces. could this be the key issue? in other words, if i add the local and local home interface, will the serialization be stopped?
thanks much for your thoughts.