Category Archives: Java

Using Annotations with OSGi Declarative Services

Introduction The OSGi compendium specification has now standardized the annotation usage for declarative services. The core services bundle (org.eclipse.osgi.services) includes the set of classes and packages that can be used for this purpose. The specification clearly mentions that there should … Continue reading

Posted in How to, Java, OSGi | Tagged , , , , , , | 2 Comments

OSGi and Jetty Integration

Introduction If any OSGi framework based solution needs a servlet container, the OSGified Jetty becomes a good choice. It can be used as the underlying servlet transport provider within an OSGI framework.  This post focus on what are major points to consider … Continue reading

Posted in How to, Java, OSGi | Tagged , , , , , | Leave a comment

Embedded Tomcat : Tips, Tricks and Hacks

Introduction Embedded Tomcat API comes handy where it only requires a few lines of code to start a tomcat instance within your application.  This makes the life easy for the users to get the useful features out from Apache Tomcat in their application. In most … Continue reading

Posted in Java, Tomcat | Tagged , , , , , , | 1 Comment

Transaction support with RabbitMQ

In a previous post of mine, I explained about the new AMQP transport developed for WSO2 ESB based on RabbitMQ Java Client. In this post I will be explaining about how we use the transactions support in RabbitMQ Java Client … Continue reading

Posted in How to, Java, RabbitMQ, WSO2 | Tagged , , , , | Leave a comment

AMQP Transport for WSO2 ESB based on RabbitMQ Java Client

Introduction WSO2 ESB is a High Performance, Light weight, Open Source Enterprise Service Bus. It also has inbuilt support for integrating different technologies which uses different transports protocols. Some of the well known transports that WSO2 ESB supports are HTTP, … Continue reading

Posted in Java, RabbitMQ, WSO2 | Tagged , , , , | 17 Comments

Using RabbitMQ Java Client to send AMQP Messages to a AMQP Broker

Introduction RabbitMQ is an open source message broker which implements AMQP messaging protocol. It also has multiple client libraries (Java, .NET, Erlang) which can be used to send/recieve AMQP messages to/from an AMQP broker. In this post I’m going to … Continue reading

Posted in How to, Java, RabbitMQ | Tagged , , , , , , | 1 Comment

Access Cabon Data Sources within webapps in WSO2 Application Server

In a previous post of mine, I explained on how we can register JNDI Resources within webapp that are hosted in WSO2 Application Server. In this post I will be explaining about How we can access Carbon Data Sources, using … Continue reading

Posted in How to, Java, Tomcat, WSO2 | Tagged , , , , , | Leave a comment