I love Java and Object Oriented Paradigm, and I was looking for an option to develop Java apps in the cloud in a cheap way. The cheaper, light and non-restrictive way to do this is installing Tomcat in an AmazonWS Linux-AMI. You can do great applications in Tomcat with Spring/JPA/JSF2, but this architecture deserves another post.
Well, I want to show you how to configure Tomcat to deploy web applications in a basic-AMI (It’s free the first year):
- Configuring memory heap
- Provide gzip compression for the web contents
- Two ways to redirect to port 80
- And, if you use maven, deploying remotely with cargo