What is an alternative to Jetty ? I’m looking for a simple javax.servlet container.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Possible Alternatives
Simple, But Not Too Simple
That being said, except if you are really constrained, why wouldn’t a minimalist config of Tomcat or even GlassFish work for you?
If complexity is an issue, then maybe you should start with Tomcat first and then see how Jetty (or others) could be used and how it would fit your goals later. Tomcat is not that heavyweight, and at least you’ll have plenty of documentation and examples to look at.
Update: As you mention in the comment that you need JAX-RS support, Jersey is indeed a good option. Have a look at Vogella‘s article on REST with Java using Jersey for a good ramp-up.