I have a web application to host on an Android device. I am currently using an emulator available using android sdk. My application will serve both static and dynamic data. I am currently using the berth version 6.1.22. I wanted to ask what would be the best option to use. 1. Jetty web server with code disabled. 2. I-Jetty.
My application uses the following features -
- ResourceHandler for serving static resources.
- A common servlet for servicing synchronous data requests.
- CometServlet extension for serving asynchronous data requests.
I look forward to the following criteria for comparison.
- Application size. The apk size that will contain the code.
- Memory and CPU usage at a maximum load of 30 requests / sec. These are short bursts that occur very rarely in the application life cycle. The average load will be about 5 requests / sec.
- Ease of maintenance. Including important Jetty updates in the app.
- Any other side effects that I probably miss.
source
share