This page lists all Tutorials I did about Apache Karaf, an OSGi container based on Felix or Equinox that provides a lot of additional management features.
Blog post:Apache Karaf Tutorial Part 6 - Database Access— Shows how to access databases from OSGi applications running in Karaf and how to abstract from the DB product by installing DataSources as OSGi services. Some new Karaf shell commands can be used to work with the database from the command line. Finally JDBC and JPA examples show how to use such a DataSource from user code.
Blog post:Apache Karaf Tutorial Part 7 - Camel JPA and JTA transactions— Practical Camel example that polls from a database table and sends the contents as XML to a jms queue. The route uses a JTA transaction to synchronize the DB and JMS transactions. An error case shows how you can handle problems.
Blog post:Apache Karaf Tutorial Part 8 - Distributed OSGi— By default OSGi services are only visible and accessible in the OSGi container where they are published. Distributed OSGi allows to define services in one container and use them in some other (even over machine boundaries).
Blog post:Karaf Tutorial Part 1 - Installation and First application— With this post I am beginning a series of posts about Apache Karaf. So what is Karaf and why should you be interested in it? Karaf is an OSGi container based on Equinox or Felix. The main difference to these fine containers is that it brings excellent management features with it.
Blog post:Karaf Tutorial Part 5 - Running Apache Camel integrations in OSGi— Shows how to run your camel routes in the OSGi server Apache Karaf. Like for CXF blueprint is used to boot up camel. The tutorial shows three examples - a simple blueprint route, a jms2rest adapter and an order processing example.