| Getting Started with DA-Launcher |
|
|
|
If your application needs to be run as a standalone application, then creating a launcher application can be done by following these steps:
Now your application is ready to be run simply by executing one of the batch/script files in “/bin” directory. If your application needs to be embedded in a Web Application, then creating the launcher can be done by following these steps:
Now your OSGi-based application will be launched from your Web Application. If your application needs to be embedded in another application you have (not Web Application), then creating the launcher can be done by following these steps:
This should run DA-Launcher from your application. Actually, the Servlet Context Listener used to embed DA-Launcher inside a Web Application works on the same principle. You can always verify that DA-Launcher is working even if it doesn't have any bundles by checking the “/logs” directory.All of the directories in DA-Launcher contain the about.txt file which explains what the directory does and the role of each file in it. And all the configuration files contain comments on all of the XML elements and attributes they have. It was done in this way to make DA-Launcher self documented so you wouldn't have to go for a reference material each time you forget what an element of DA-Launcher stands for. |