tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Pariev <...@tnet.dp.ua>
Subject Re: Using Tomcat for communicating direct TCP/IP?
Date Thu, 30 Jun 2005 10:38:32 GMT
Hello.
You might try quickserver (http://quickserver.org/) - very nice tcp-ip 
server lib,
I've used it in my previous project for the very same purposes you 
described. It can do db connection pooling AFAIR and is pretty robust. 
The only problem I faced was sending big chunks of data > 2-3 MB so I 
had to tune tcp-ip connection parameters.

HTH, Sergey Pariev

Keijo Lehto пишет:

>Hi Bhaskar,
>
>I've understood (please correct me if I'm wrong) that both JavaSpaces
>and RMI are somewhat Java-specific techniques.
>
>My usage scenario doesn't involve Java clients. In fact, the
>communication between the clients and the server has been limited to a
>predefined text-based protocol (basically just a very simple
>request-response model with ASCII text messages).
>
>BR,
>- keke
>
>On 6/29/05, Bhaskar <bhaskar@yahoo-inc.com> wrote:
>  
>
>>Have you given any thoughts on using RMI or JavaSpaces?
>>
>>Bhaskar
>>
>>Keijo Lehto wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>I'm currently working on implementing a Java server, which (in
>>>nutshell) listens to certain TCP ports, reads input, processes the
>>>data and sends output back to the client depending on how the input
>>>processing went.
>>>
>>>Now, instead of reinventing the wheel, I was wondering whether I could
>>>somehow (easily, if possible) use Tomcat to do just that ie. leave all
>>>HTTP stuff away and just simply forward all data to a servlet or
>>>something similar. My goal with this approach would be to be able to
>>>use the robust connection handling, database pooling etc. of Tomcat.
>>>
>>>Should this be possible, I'd appreciate any pointers (documentation,
>>>tutorials...) on how to continue.
>>>
>>>BR,
>>>Keke
>>>
>>>PS. I'd very much be interested in hearing about other robust server
>>>frameworks, too, if that doesn't go too OT. :-)
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>>
>>>
>>>
>>>
>>>
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message