Feeds:
Posts
Comments

Posts Tagged ‘OSGi’

Learn by Errors : Java + OSGi

Recently I worked on getting Apache Hive work inside an OSGi environment. While not proving to be a proverbial piece of cake (software right?.. Why am I not surprised? ), it led me through an assortment of Java and OSGi errors. Here I am listing some of them that bit me bit hard (no pun [...]

Read Full Post »

My previous couple of posts covered basic usage and security aspects of Apache Thrift. You can also use Thrift Servlet based transport to expose a Thrift service via a Servlet. This can be useful if you are in a OSGi environment since you can expose it to the outside world using OSGi HTTPService. But unfortunately [...]

Read Full Post »

Recently I ran in to an interesting little problem with “resolution:=optional” OSGi directive. Basically what “resolution:=optional” says is that the even though the package imported with this directive is not present in the system  bundle would be resolved at run time. This is logical in case of compile time dependencies of the bundle not being [...]

Read Full Post »

I use Maven Bundle plugin a lot since our projects are OSGi based. Basic idea I had of this plugin is that this plugin makes an OSGi bundle out of a normal jar (basically by augmenting the META-INF file) if we do declare exported and private package information correctly in it’s configuration section in the [...]

Read Full Post »

An earlier post dealt with how a file can be copied to a product during a feature installation during a p2 provisioning action. This post expands on that. Although natives touchpoint has got a copy instruction it only works with files. But it has got an unzip instruction which can be used to unzip a [...]

Read Full Post »

This post will describe how to install additional files such as configuration files, licenses etc. to a product along with a equinox feature installation. The files of interest is described below. 1. p2.inf This file can be used to declare provisioning actions. More information about p2.inf format can be found at [1].  Various installation actions [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.

Join 340 other followers