Java / Thread Server Application Server

I am looking for something very close to an application server with these features:

  • it should handle a series of threads / daemons, allowing the user to start-stop-restart each, without affecting the others.
  • it must support libraries shared between different threads / daemons
  • it should allow some libraries to be shared

We currently have some kind of legacy code inventing the wheel ... and that doesn't have a flawless round shape! I was thinking of using Tomcat, but I don't need a web server, except maybe for the simple backoffice user interface (/ manager / html).

Any suggestion? Is there a non-web application server, or is there a better alternative to Tomcat (lighter, for example, or easier to configure)? Thanks in advance.

+3
source share
4 answers

You can consider Spring dmServer . This is a rather unconventional application server with a very light OSGi kernel (for example, a web container is optional), but it provides you with class unloading and basic container services. It is not a JavaEE container, but comes with plugins.

You will have to do a lot of work on your own, but the dmServer basics are very solid.

+1
source

OSGi? / ( .jar ) ( / ).

+4

"" Jetty ( WAR ), xml / , . xml , .

, -, , .

, .

+2

No one is stopping you from sending binary and text data instead of HTML pages using the http protocol. What servlets are for. So I would use a tomcat server.

+1
source

Source: https://habr.com/ru/post/1738847/


All Articles