RRB
RRB

Reputation: 51

Low memory Java application server

We have developed a lightweight Jersey/JSON/JMS Java application which acts as a connector between the customers legacy MS Access system and our application server. This connector is installed on the customers server.

We have used Glassfish 3.1.2 as application server so far, but the memory consumption is enormous (400 - 900 MB only hosting this particular application, even in Web Profile!).

We are looking for a lightweight application server which is easy to use (supporting JDBC/ODBC, Jersey, JMS and Custom JNDI Resources), uses less than 300 MB of memory and has a Web GUI for configuration and deployment.

Which application servers whould fit our needs? Is there a way to reduce the memory consumption of Glassfish to under 400 MB?

Upvotes: 2

Views: 2169

Answers (2)

RRB
RRB

Reputation: 51

I finally found the solution. Since our application doesn't require much memory, a 32 Bit Glassfish instance satisfies our needs. It uses with the Admin GUI and our application running around 250 MB of memory, which is OK. Jetty may use less memory, but has no Admin GUI and furthermore, its easier for us to manage one type of application server than two.

Upvotes: 1

Bohemian
Bohemian

Reputation: 425043

You could use Jetty. Jetty provides an HTTP server, HTTP client, and javax.servlet container.

It's commonly used for in-container unit testing of servlet code, because it's a fast-starting, cut-down Java EE server container, but it is nevertheless a real application server.

Upvotes: 3

Related Questions