you bet your sweet ass it is useful, anything that makes JBoss embedable
(MBoss) is really useful.  Go ahead

marcf

|-----Original Message-----
|From: Hiram Chirino [mailto:[EMAIL PROTECTED]]
|Sent: Thursday, February 21, 2002 2:34 PM
|To: [EMAIL PROTECTED]
|Cc: [EMAIL PROTECTED]
|Subject: Boot Classloader and Unified Classloader
|
|
|Hi Marc,
|
|I think i might have solved two problems that jboss had.
|1. The minimum number of jars you need to boot jboss off the network
|includes all the jars in the \lib dir ~ 480K.
|2. Integrating (or embeding) jboss into the process space of an
|existing app
|is hard since jboss does so much classloader juggling.
|
|I crated a "Boot" class that lets you start multiple main(String[])
|applications each with it's own classloader and in it's own threadgroup.
|The classpath to the applications are in URL format so we should
|be able to
|use this Boot class load the jboss minimum jars from the network (like
|crimson and jmxri).
|
|Anyways..  I tested it out with JBoss, to see if my Boot class could boot
|the org.jboss.Main and it worked after a small tweak of the
|UnifiedClassLoader.
|
|The commnd line of the jboss boot looks something like:
|java -classpath mboot.jar chirino.mboot.Boot -cp
|file:../lib/jmxri.jar,file:../lib/jboss-boot.jar,file:../lib/jaxp.j
ar,file:../lib/getopt.jar,file:../lib/crimson.jar,file:run.jar
|org.jboss.Main default
|
|Yeah I know, I should read in the manifest to make it easier.
|
|I'm going to attach the sources.  Let me know what you think.  Is
|it a value
|add to the jboss boot process??
|
|Regards,
|Hiram
|
|
|
|
|_________________________________________________________________
|Chat with friends online, try MSN Messenger: http://messenger.msn.com
|


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to