Hi. Do not forget that OFBiz has custom improvements to Beanshell, which basically mean the parsed structure of a script is cached after the first interpretation. I have not seen any figures for relative performance but it is an obvious one.
For more info start here: http://issues.apache.org/jira/browse/OFBIZ-528 From experience, I would suggest that moving from bsh to Java would not necessarily help performance that much, compare to other typical bottlenecks. It may also increase your development costs, thus reducing your hardware budget and thus indirectly reducing performance! I would certainly recommend doing controlled, quantitative tests before embarking on any major initiatives or code refactorings just for performance reasons. cameron ----- Original Message ---- From: G.Venkata Phanindra <[EMAIL PROTECTED]> To: ofbiz-user@incubator.apache.org Sent: Wednesday, 7 February, 2007 8:56:48 AM Subject: Usage of java over BSH Hi all. I am currently working on Optimization of load time for website running on Ofbiz... i have a doubt by moving the code from bsh to Java class can we expect improvement in load time... as bsh is a pure interpreted language where as java is a compiled one ... i have gone thru the documentation given at http://beanshell.org/intro.html.<http://beanshell.org/intro.html> regards, G.Venkata Phanindra Mob:: 9849852989 ___________________________________________________________ What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk