-
Server app
i've created bundles for dm-server
i understand the concepts.
but how do i make dm-server start a 'server' app.
if i have a class in my bundle with a main method that might for example listen for connections on a tcp socket,
how do i make dm-server start that class?
thanks
ian
-
You can either give your bundle a bundle activator (see the OSGi core specification for details) or you can use Spring DM to create a bean when your bundle is started. You will find plenty of information on Spring DM in the Spring DM reference documentation. Hope that's sufficient.
-
thanks for your feedback Glyn
i'll use your pointers and go back to the trenches :)