[jboss-dev] Further profling: Where should I focus?

Bill Burke bburke at redhat.com
Tue Jan 5 09:39:50 EST 2010



Bill Burke wrote:
> 
> Ales Justin wrote:
>>> Not understanding why you need this precompiled indexing.  Do other OSGi 
>>> containers take so freakin long to boot and load jars?
>> Per OSGi you need to explicitly list everything in manifest.mf.
>> Hence no scanning + they immediately know where the class can come from.
>>
>> Not like us, where we have a flat default domain, and we need to check 
>> all available resources for matching resource.
>>
> 
> We've always had a flat domain.  JBoss AS 4.x boots in 10 seconds.
> 
> Instead of a jboss-classloading.xml, why not reading the manifest?  Or 
> is somebody working on that?
> 

There's already a osgi maven bundle plugin:

http://felix.apache.org/site/apache-felix-maven-bundle-plugin-bnd.html

Why not use that to generate exported packages?  Just tried it out. 
Pretty cool.

Bill

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com



More information about the jboss-development mailing list