Mladen Turk wrote: > > >> -----Original Message----- >> From: Remy Maucherat [mailto:[EMAIL PROTECTED] >> >> Just wanted to let you know that the new embedded in 5.0 is great. >> Costin (and I, to some extent) got it running with JBoss 3.2 >> without any >> problem. The big advantage is that it's just like Tomcat standalone, >> except it also implements the Embedded API. The big trick however is >> that if the embbedding component uses JMX already, you can do >> everything >> using MBeans. It's really cool :) >> > > Well that's great, can you send some cookbook? > > I'd like to make a class for JK2 that will call the embedded TC from > _dirty_ JVM, something like LouncherBootstrap. > The class will be in that case be injected in JVM from class file itself > using DefineClass.
Sounds complicated :-) What is a 'dirty' JVM ? And what's the use case ? For JK2, the code is already organized as almost independent MBeans - and in time we should increase this - ChannelSocket and many other pieces should be made completely reusable ( for example it would be nice to use it for HTTP as well ). JkMain was the "model" for the modeler Main - and I'll try to write a modeler source that supports a simple .properties ( jk2.properties is a sort of mbeans.xml - and JkMain loades sort-of mbeans ) Costin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]