On 22/09/2018 01:48, anthony berglas wrote:
We would like to run a binary protocol in a Tomcat container, so that binary sent to a specific port all ends up in a specific servlet. This is not AJP, we do not want Tomcat itself to look at the bits, just pass them through. So in Tomcat parlance we need a special Connector. Does such a thing exist
No.
or do we need to write it ourselves?
Yes.
Tomcat itself is a fixed requirement for the container architecture. Just having a process listening on a port is not considered to be enterprisy enough.
Tomcat seems like a lot of overhead. It isn't clear what you get by using it.
Depending on your exact requirements you'll either need to implement your own ProtocolHandler or you might be able to implement an UpgradeProtocol. Take a look at how HTTP/2 is implemented. That might give you some ideas.
Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org