Activiti Explorer Tips

The Activiti Explorer is a user interface for managing Activiti workflow processes. The Activiti Explorer is useful not only as a visual debugging tool but also as a generic back office for mdeployed processes. In order to use the Activiti Explorer as a management tool for deployed processes certain changes are required in the Activiti Explorer configuration and a minor provision in the processes design.

Spring Data MongoDB in OSGi Blueprint

Spring Data is yet another extremely useful Spring subproject that is so tightly coupled with the Spring-specific container features, that it has become very hard to deploy it in Blueprint.

The alternative to an adaptation to Blueprint is (once again) mixing Spring DM and Blueprint bundles and importing Spring DM services into Blueprint contexts.

Apache ActiveMQ Virtual Topics

[toc] Load Balancing with Queues The property of queues, that requires that any given message is delivered only to a single consumer, provides a reliable mechanism to load balance workload between multiple consumers of the queue. In addition to a simple round-robin load-balancing between consumers (which is the default for queues), ActiveMQ offers more advanced Read more about Apache ActiveMQ Virtual Topics[…]

Developing a REST Service in Apache Karaf

This article focuses on the implementation of a REST service that can be deployed on Apache Karaf using the excellent HTTP Whiteboard service. In the first part, we will concentrate on building a REST service with Apache CXF and exporting it with the HTTP Whiteboard. In the second part, we will elaborate on securing the service using Spring Security.

Dozer POJO Mapper in OSGi

Dozer is a popular bean-to-bean mapping library. This functionality is typically needed when switching between domain models, e.g. to isolate the internal representation of a domain model from the model published to clients through a REST API.

Dozer has a pluggable class loading configuration which allows to set a custom class loader for classes and resources. However Dozer was not designed with OSGi in mind. Custom class loaders are set on a Dozer singleton. This combined with the lazy loading of mapping definition files can generate unexpected results.