Simplest, lightest Java Web Services engine?
I am looking for this simplest, plainest way to get a Java web service up in the air. I used to use Axis-1-on-Tomcat, but with Axis 2 its getting too thick. Some preferen开发者_高级运维ces for what I'm looking for:
- Low memory footprint - A small library with minimal binaries. Axis2.war is 17 MB - I need something lighter.
- Embedded - Runs from within a JVM with as few as possible configuration files and admin scripts. Alt., run on top of Jetty (or another embedded HTTP server).
- If possible, runtime configuration (like Jetty) instead of configuration files.
- Has Java-to-WSDL and WSDL-to-Java.
- As simple as possible mechanism to add services. It's OK if the server has to be re-started to detect a new service. Preferably, no lists in files of services to load.
Is anyone familiar with a solution along these lines?
I would still recommend to go with Axis2 - just strip out everything you do not need. "Single JAR containing all Axis2 client side dependencies" and "Understanding Axis2 dependencies" could be useful starting points.
As embedded HTTP server, I guess Jetty is the best option.
精彩评论