Revisiting JMS performance. Improvements in CXF 3.0.0
6 months ago

By Christian Schneider

Blog post edited by Christian Schneider

Some time ago I did some CXF performance measurements. See How fast is CXF ? - Measuring CXF performance on http, https and jms.

For cxf 3.0.0 I did some massive changes on the JMS transport. So I thought it is a good time to compare cxf 2.x and 3 in JMS performance. My goal was to reach at least the original performance. As my ...


Continue reading →

How fast is CXF ? - Measuring CXF performance on http, https and jms
6 months ago

By Christian Schneider

Blog post edited by Christian Schneider

From time to time people ask how fast is CXF? Of course this is a difficult question as the measuered speed depends very much on the Hardware of the test setup and on the whole definition of the test.
So I am trying to explain how you can do your own tests and what to do to make sure you get clean results.

What should you keep in ...


Continue reading →

How to hack into any default apache karaf installation
8 months ago

By Christian Schneider

Blog post added by Christian Schneider

Apache karaf is an open source OSGi server developed by the Apache foundation. It provides very convenient management functionality on top of existing OSGi frameworks. Karaf is used in several open source and commercial solutions.

Like often convenience and security do not not go well together. In the case of karaf there is one ...


Continue reading →

10 reasons to switch to Apache Karaf 3
8 months ago

By Christian Schneider

Blog post edited by Christian Schneider

Nicely timed as a christmas present Apache Karaf 3.0.0 was released on the 24th of December. As a user of karaf 2.x you might ask yourself why to switch to the new major version. Here are 10 reasons why the switch is worth the effort.


Continue reading →

10 reasons to switch to Apache Karaf 3
9 months ago

By Christian Schneider

Blog post edited by Christian Schneider

Nicely timed as a christmas present Apache Karaf 3.0.0 was released on the 24th of December. As a user of karaf 2.x you might ask yourself why to switch to the new major version. Here are 10 reasons why the switch is worth the effort.


Continue reading →

Best practices for Services and Integration in OSGi (WJAX 13)
10 months ago

By Christian Schneider

Blog post edited by Christian Schneider

In this talk from WJAX 2013 I show best practices for OSGi development in a practical example based around an online voting application.

The UI allows to vote on a topic and shows the existing votes in a diagram. It is done in Javascript and HTML using jQuery and google graph. Additionally votes can be sent using twitter, irc and ...


Continue reading →

Karaf Tutorial Part 5 - Running Apache Camel integrations in OSGi
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

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.

Installing Karaf and making Camel features available
Continue reading →

Karaf Tutorial Part 4 - CXF Services in OSGi
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

Shows how to publish and use a simple REST and SOAP service in karaf using cxf and blueprint.

To run the example you need to install the http feature of karaf. The default http port is 8080 and can be configured using the
config admin pid "org.ops4j.pax.web". You also need to install the cxf feature. The base url of the cxf ...


Continue reading →

Using Camel to do light weight messaging over any protocol
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

At least for some time the whole world seemed to only talk about ESB and webservices. These technologies have their place in integration but they are quite complex and starting with them means you have to invest a lot of time and or money. Recently around the release of Java EE 6 the idea of simplicity came back to the Enterprise ...


Continue reading →

Karaf Tutorial Part 5 - Running Apache Camel integrations in OSGi
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

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.

Installing Karaf and making Camel features available
Continue reading →

Karaf Tutorial Part 4 - CXF Services in OSGi
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

Shows how to publish and use a simple REST and SOAP service in karaf using cxf and blueprint.

To run the example you need to install the http feature of karaf. The default http port is 8080 and can be configured using the
config admin pid "org.ops4j.pax.web". You also need to install the cxf feature. The base url of the cxf ...


Continue reading →

Karaf Tutorial Part 1 - Installation and First application
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

Getting Started

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.

Outstanding features of Karaf:

  • ...

Continue reading →

Apache Karaf Tutorial Part 8 - Distributed OSGi
1 year ago

By Christian Schneider

Blog post edited by Christian Schneider

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).

For this tutorial we use the DOSGi sub project of CXF which is the reference implementation of the OSGi ...


Continue reading →

Apache Camel talk at W-JAX
1 year ago

By Christian Schneider

Blog post added by Christian Schneider

On thursday I had a talk about Apache Camel at W-JAX in Munich. Like on the last conferences there was a lot of interest in Camel and the room was really full. You can find the slides "Integration ganz einfach mit Apache Camel" here and the sources for the examples on github.

On Friday I joined the Eclipse 4 RCP workshop from Kai ...


Continue reading →

ApacheCon Talk OSGi best practices shown on Apache Karaf
1 year ago

By Christian Schneider

Blog post added by Christian Schneider

I just did my ApacheCon talk about OSGi best practices.It was the last slot but the room was still almost full. In general the OSGi track had a lot of listeners and there were a lot of talks that involved Apache Karaf. So I think that is a nice sign for greater adoption of OSGi and Karaf.

You can find the Slides at google docs.

...


Continue reading →

Karaf Tutorial Part 1 - Installation and First application
2 years ago

By Christian Schneider

Blog post edited by Christian Schneider - "Fixed some typos"

Getting Started

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.

...


Continue reading →

Apache Karaf Tutorial Part 7 - Camel JPA and JTA transactions
2 years ago

By Christian Schneider

Blog post edited by Christian Schneider

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.

Route and Overview ...
Continue reading →

Apache Karaf Tutorial Part 7 - Camel JPA and JTA transactions
2 years ago

By Christian Schneider

Blog post edited by Christian Schneider

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.

Route and Overview ...
Continue reading →

Apache Karaf Tutorial Part 7 - Camel JPA and JTA transactions
2 years ago

By Christian Schneider

Blog post edited by Christian Schneider

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.

Route and Overview ...
Continue reading →

Apache Karaf Tutorial Part 6 - Database Access
2 years ago

By Christian Schneider

Blog post edited by Christian Schneider

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.

...
Continue reading →
More Articles (+10)

Pages

Subscribe to Talend Community Coders aggregator - Christian Schneider