Tag Archives: Java

Building an FTP server Maven plugin from scratch

In this post we design and code a new Maven plugin that fires up a FTP server to aid in integration testing of FTP-bound processes, thus demonstrating the flexibility and power of Maven plugins.

Posted in Computing, Java | Tagged , , , , , , , , , , , , , , | 2 Comments

Templating the OSGi way with Freemarker

After some well-deserved rest the OSGi components on the server series is back with a vengeance and a somewhat independent post. For some background please check the other posts in the series. A common feature of Web applications is the … Continue reading

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

Components on the server (6): adding Integration Testing

In this installment of the server-side OSGi series, we add integration testing capabilities to our project. Integration testing goes beyond plain unit testing and checks the interactions between real components. This is in contrast with unit testing, which generally uses … Continue reading

Posted in Computing, Java | Tagged , , , , | Leave a comment

Components on the server (4): adding Tomcat support

In this post, we examine what is needed to deploy OSGi in a regular Servlet Container using the Equinox Servlet Bridge. We also use the Servlet Bridge to deploy our OSGi cache using Tomcat and wrap it up all together … Continue reading

Posted in Computing, Java | Tagged , , , , | Leave a comment

Components on the server (3): adding a HTTP frontend

Welcome to the third instalment of our OSGi ABC tutorial. Please make sure you check both the 1st installment and the 2nd. In this post, we will add another cache provider implementation to the mix as well as provide an … Continue reading

Posted in Computing, Java | Tagged , , , , | Leave a comment

Components on the server (2): creating the first bundles

Hopefully you enjoyed the OSGi journey in its first installment. Though simple and easy to understand, the first example does nothing out of the ordinary. It is far more interesting to start exploiting some of the basic features OSGi gets … Continue reading

Posted in Computing, Java | Tagged , , | Leave a comment