OpenEJB 3.1.4 performances

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

OpenEJB 3.1.4 performances

rniamo
Hi,

comparing startup performances between openejb 3.1.1 and 3.1.4 it appears
that 3.1.4 is really slower.

Here are my test conditions:

   - openejb embedded in tomcat 6.0.29
   - a single webapp is deployed and it contains some "big" jars (a lot of
   classes)

My tests showed the openejb 3.1.4 startup is about twice slower than the
openejb 3.1.1 startup.

What is long is the org.apache.xbean.finder.ClassFinder.readClassDef()
method because it is called a lot of time.

In the
org.apache.openejb.config.AnnotationDeployer.DiscoverAnnotatedBeans.deploy(WebModule)
method, the constructor of the used ClassFinder changed.
Now it is new ClassFinder(webClassLoader, asList(urls)); where before it was
new ClassFinder(webClassLoader). Restoring the old ClassFinder restore
performances but less classes are scanned here.

Can't the webservices be processed elsewhere like stateless and stateful for
example?

Rniamo