geosolutions-it / http-proxy

Lean and Mean HTTP Proxy written in Java
GNU General Public License v3.0
21 stars 31 forks source link

Create service method for the http proxy servlet #7

Open tdipisa opened 12 years ago

tdipisa commented 12 years ago

The servlet has still some duplicated code for the various methods. We have to put everything into a single service (request, response) as soon as possible.

alediator commented 11 years ago

I have a question about this issue. I have created a service interface and implementation annotated for this issue, but If you want to run the proxy as simple servlet, you need read the Spring service at runtime.

Do you want to use Spring MVC to run with an annotation context or you prefer to load spring context at runtime?

tdipisa commented 11 years ago

I dont think the Spring MVC is indicated in this case so, for this issue in particular, I would use the second solutions you have suggested (load the spring context at runtime).