Andreas, Willem,

Packing up Karaf in Tomcat would be one way to do it, but I think we
can also get away with a more plain Tomcat container for many of the
use cases listed in Guillaume's mail - as long as we have Camel's core
classes in a shared classloader (i.e. in the container's lib folder)
and are able to inject a single dynamically modifiable interceptor
into the Camel route, we can already do a lot of things like auditing,
tracing, ...

There are obviously quite a few things we can only do if we have a
more dynamic runtime environment, but in my mind that's OK because
that way we also have some good, compelling reasons to move people
over to the Karaf runtime version and tell them about all the goodies
of OSGi (we still all love OSGi and Karaf ourselves ;)).  For advanced
use cases, we should definitely guide users towards Karaf, but for a
set of basic things, just using Tomcat and simple WARs may be the
simplest thing that works for them!

Regards,

Gert Vanthienen
------------------------
FuseSource
Web: http://fusesource.com
Blog: http://gertvanthienen.blogspot.com/



On Wed, Jun 29, 2011 at 4:27 AM, Andreas Pieber <anpie...@gmail.com> wrote:
> Hey Willem,
>
> You can pack Karaf right now into a WAR already and deploy it on an
> Tomcat (see [1]).
>
> Kind regards,
> Andreas
>
> [1] https://svn.apache.org/repos/asf/karaf/trunk/demos/web/
>
> On Wed, Jun 29, 2011 at 4:18 AM, Willem Jiang <willem.ji...@gmail.com> wrote:
>> Hi Guillaume
>>
>> I just have a simple question for it.
>> As you know Karaf is based on OSGi, I don't know how ServiceMix5 can achieve
>> this without leverage the OSGi? Do I missing something?
>>
>> On 6/27/11 11:54 PM, Guillaume Nodet wrote:
>>>
>>> Additional things that could be pushed inside ServiceMix 5 would be a
>>> Tomcat based container deployment
>>> option (for those that don't need OSGi), a new manual similar to what
>>> we have in Karaf (maybe reusing
>>> parts of it).
>>
>>
>> --
>> Willem
>> ----------------------------------
>> FuseSource
>> Web: http://www.fusesource.com
>> Blog:    http://willemjiang.blogspot.com (English)
>>         http://jnn.javaeye.com (Chinese)
>> Twitter: willemjiang
>> Weibo: willemjiang
>>
>

Reply via email to