[OT] Re: Tomcat Binary Connector
In reply to Anthony's : "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." On 23.09.2018 00:19, Leon Rosenberg wrote: Hey Anthony, your last comment seems to indicate that you disagree with tomcat being fixed requirement. Personally I feel opening a port and implementing all the protocol handling completely negates of advantages of having tomcat in your application. So maybe you should force a change in your requirements instead of undermining them, if you feel they are nonsense. While agreeing 100% with Leon, I note something else interesting here : 5 years ago, using Open Source Software like Tomcat for corporate solutions, would itself have been considered as dubious, at best. Now it is not using it, which is considered "not enterprisy enough".. This is at the same time an endorsement of Open Source software, and the expression of a doubt that any better-fitting ad-hoc solution, developed by essentially the same class of people as the ones who write such Open Source software, would be trustable. Enough material there for a few sociology/philosophy/logic papers.. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat Binary Connector
Hey Anthony, your last comment seems to indicate that you disagree with tomcat being fixed requirement. Personally I feel opening a port and implementing all the protocol handling completely negates of advantages of having tomcat in your application. So maybe you should force a change in your requirements instead of undermining them, if you feel they are nonsense. That being said, if you need a binary protocol on top of http you might want to check grpc. I am not sure how well it works with tomcat, there might be issues, since they use netty for default. The advantage of grpc would be multi-language support, http2 features, and the convenience that no-one ever got fired for using google technology. regards Leon On Sat, Sep 22, 2018 at 2:49 AM 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 or do we need to write it ourselves? > > 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. > > Thanks, > > Anthony > > -- > > Dr Anthony Berglas, anth...@berglas.org Mobile: +61 4 4838 8874 > Just because it is possible to push twigs along the ground with ones nose > does not necessarily mean that that is the best way to collect firewood. >
Re: Tomcat Binary Connector
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
Tomcat Binary Connector
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 or do we need to write it ourselves? 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. Thanks, Anthony -- Dr Anthony Berglas, anth...@berglas.org Mobile: +61 4 4838 8874 Just because it is possible to push twigs along the ground with ones nose does not necessarily mean that that is the best way to collect firewood.