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

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -