• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

tomcat 5.5 connector

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm developing an application which is a java servlet, deployed on tomcat 5.5
Now, I want my application to take raw data from the client through
sockets, & for that it has to make a socket connection and listen that
port for data.

I've heard that we can create Connectors in Tomcat, which can listen
to any protocol type of request i.e. Http, Telnet or any of
application protocol.

In my case I need a Connector which can listen to a socket for raw
data type requests�

And, I can hook my application (or servlet) with that Connector & can
listen to those requests which are coming on that connection.

But, as a solution I want my client to be a simple Telnet tool, which
can send requests on the port, I've configured for my Connector.

But, till now I've seen tomcat entertaining Http requests only.

Please suggest,

- How to implement this in tomcat 5.5

- Is there any built-in connector available

- Is it possible to make a custom connector for this scenario

Looking forward to your comments & suggestions
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic