java - How can I run a standard jar application and stop it in a web application on Glassfish using the web interface? -
there standard application (with main (string args [])
). consists of following components:
- jdbc;
- telegram-bot (library java);
- http-server (accepts get-requests server)
com.sun.net.httpserver.httpserver
; - read property file (at startup).
the application works @ start-up in terminal (java -jar jarname.jar
). web application needed edit property file using web interface. changing properties causes restart of jar application. how , run application in web application , stop it?
wiki
Comments
Post a Comment