Reputation: 219
I am working on a standalone (non web) multi-threading trading application. It is started every night at 11 pm using a start script. We do not use an application server to deploy this application. We use oracle-coherence for HA and scalability. I do not understand is how does it work without an application server? I thought an application server is needed if we want to perform transactions, support multi-threading, etc.
Upvotes: 0
Views: 1010
Reputation: 12787
I have used Tomcat + Java webapp with compressed archives containing jars to run(most rudimentary form), with Docker contained Java applications with Spring Boot/Quarkus(maybe the most modern form), and also I also have worked with JBoss EAP which is a Java EE application platform(something in between), and in the previous 2 cases I don't use an application server, but only in the 3rd example.
For Java EE it used to be popular, when "middle tier" dominates and resources are more expensive and need to be shared between applications on the same platform on the same big computer. But now, as you can see, Dockerized application on private/public cloud platforms as independent, immutable pod is the trend. When you can create and destroy conveniently a single virtual machine with dedicated and adjustable resource management for one application, who wants to maintain the platform on bare metal, which sometimes, with dedicated syntax scripts(for example, JBoss EAP Management CLI)?
Upvotes: 0
Reputation: 114
You don't require application or web server for non-web application. Your application is running on JVM installed on local machine. Multithreading and DB transactions(through JDBC) are supported by JVM so you don't need application server.
Upvotes: 3