I tried to create my first OSX app bundle for a Java application today. It works, but there is one problem and I could not find any solution for it.
The Java application is a web server without user interface. What happens when I start the app bundle, is the following:
- The app icon bounces several times in the Dock and then disappears (I guess because no GUI is being displayed?).
- However, the application is still running. Web server is available and I can see the running application in Activity Monitor and stop it from there.
The main purpose of this app bundle is to provide a demo application to people who are interested in trying the server out - easily without any setup, etc.
The application should remain in the Dock and users should be able to close (stop) the server in the Dock.
I imagine that this might be configurable in Info.plist somehow, but don't have any experience with it. Or probably there is something else I can do in order to achieve the desired behavior?
Thanks for any ideas or hints.