Hi Mike,

As you plan to migrate from Spring DM server to Apache Felix, I
recommend that you have a look on Apache Felix Karaf

Here is a short list of features supported by the Karaf:

    * Hot deployment: Karaf supports hot deployment of OSGi bundles by
monitoring jar files inside the [home]/deploy directory. Each time a
jar is copied in this folder, it will be installed inside the runtime.
You can then update or delete it and changes will be handled
automatically. In addition, the Karaf also supports exploded bundles
and custom deployers (blueprint and spring ones are included by
default).
    * Dynamic configuration: Services are usually configured through
the ConfigurationAdmin OSGi service. Such configuration can be defined
in Karaf using property files inside the [home]/etc directory. These
configurations are monitored and changes on the properties files will
be propagated to the services.
    * Logging System: using a centralized logging back end supported
by Log4J, Karaf supports a number of different APIs (JDK 1.4, JCL,
SLF4J, Avalon, Tomcat, OSGi)
    * Provisioning: Provisioning of libraries or applications can be
done through a number of different ways, by which they will be
downloaded locally, installed and started.
    * Native OS integration: Karaf can be integrated into your own
Operating System as a service so that the lifecycle will be bound to
your Operating System.
    * Extensible Shell console: Karaf features a nice text console
where you can manage the services, install new applications or
libraries and manage their state. This shell is easily extensible by
deploying new commands dynamically along with new features or
applications.
    * Remote access: use any SSH client to connect to Karaf and issue
commands in the console
    * Security framework based on JAAS
    * Managing instances: Karaf provides simple commands for managing
multiple instances. You can easily create, delete, start and stop
instances of Karaf through the console.
    * Supports the latest OSGi 4.2 containers: Apache Felix Framework
2.0.0 and Eclipse Equinox 3.5


By the way, I have written a tutorial (updated last week) about Apache
Felix Karaf and Camel - Wicket (for Web projects) - Hibernate - Spring
:

http://camel.apache.org/tutorial-osgi-camel-part1.html
http://camel.apache.org/tutorial-osgi-camel-part2.html

Regards,

Charles Moulliard
Senior Enterprise Architect
Apache Camel Committer

*****************************
blog : http://cmoulliard.blogspot.com
twitter : http://twitter.com/cmoulliard
Linkedlin : http://www.linkedin.com/in/charlesmoulliard

Apache Camel Group :
http://www.linkedin.com/groups?home=&gid=2447439&trk=anet_ug_hm



On Sat, Nov 21, 2009 at 12:57 AM, Mike Haney <[email protected]> wrote:
> We just finished a project using DM Server 2.0 and were not very impressed
> with the state of things, not to mention that we ultimately want to be able
> to deploy to different application servers like Websphere and JBoss.  We are
> switching to Felix and plan on embedding it in a WAR file and using the
> servlet bridge to forward requests to our HTTP services.  For development
> and debugging, we will probably just use Eclipse to launch the Felix
> framework directly and forego the embedding in a WAR file - that seems like
> it would prevent a lot of headaches.
>
> My main question is on how to best work with Felix from a development
> standpoint (some of this is more OSGi bundle specific, so please bear with
> me).  We use Eclipse and have been using Maven for our build, but our
> developers are a little frustrated by the POM-first manifest generation
> model, and I wanted to find out what the "best practices" are for Felix
> users.  I would like to use PDE for our development, because that seems to
> be a lot simpler for our developers to grasp (we have a lot of experience
> building Eclipse plugins).  If we use PDE can we still use Maven to build,
> with the caveat that we will have to keep our POM's and manifests in sync
> manually?  Or is there more involved that will require us to use the PDE
> Build system (we're not creating features or RCP apps or anything, just
> straight OSGi bundles)?
>
> What are most of you all doing to make Eclipse/Maven/Felix play well
> together?
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to