I once used this http://middlewaremagic.com/jboss/?p=872
when creating a
mysql driver module. There is one in JBoss Wiki, U just couldnt find it now.
In fact it's very easy, just have a look at the modules of jboss or
forge itself. This is common to all OSGI platforms, so you may find lots
of references by now..
- define a directory under modules: my.drivers.name.main
- put your jar files there
- write the module.xml like seen in the example
Be aware of the directory structure, AFAIK you _have to_ put it in a
directory called main!
But of course there is no end to complexity if you need more :-)