Open source, commercial support.
Milton can easily be integrated with non servlet-api web and desktop applications. To do you just need to implement your own com.bradmcevoy.http.Request and Response
- At startup your application should create an instance of ResourceFactory
- Then create an instance of HttpManager, giving it your resource factory
- For each request that your application receives, create instances of Request and Response
- Then pass the request and response to the process method of HttpManager
For an example, please see the Berry project. This project integrates Milton with xLightWeb and Simple HTTP embedded http servers.
blog comments powered by Disqus