I am writing an HTTP server using netty which will recive an http webservice request. Taking reference from the SnoopServer Example, I was able to get the request in my HTTP handler. Now should I write a backend servlet based application( for ex: using tomcat) to process that request or a should I handle that in my netty handler code either using switch case or something else?
Which approach is more suitable? If both are wrong, then is there any other approach?