On Mon, 10 Jun 2002, Chandra Talluri wrote: > We have our own server which accepts the data either on a TCP port or an UDP > port. we want to use only Catalina connector to process the data and spit > out html. We don't want to use any web server or the tomcat server.
You can take a look at coyote, it's probably a good starting point if you want to write a connector. Jk is doing exactly what you describe - accept data ( in some strange format :-) over TCP or unix sockets or jni and calls the servlet container. Costin > > Basically we want to integrate the catalina.jar and other required jars in > our server so that our server can invoke the servlets. > > Is it possible and if so can some one give where should I start with by > pointing either examples or documents > > Any input is appreciated > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 10, 2002 3:21 PM > To: [EMAIL PROTECTED] > Subject: Re: Can we write our own connector > > > Chandra Talluri wrote: > > > > Is it possible to write our own connector using catalina. If so > > can some one point me to the proper documentation > > > > It depends on exactly what you're trying to do. There are > two (closely connected) ways that the term "connector" is > used. First, Catalina has an interface called "Connector" > that is the external hook for all request processing. > > Second, small-c "connector" normally means the code that > allows a servlet container to talk to a front-end web server > like Apache. Small-c connectors are generally made up of > some native code that hooks into the front-end web server > (like mod_jk for Apache) and some Java code over on the > servlet container side. > > Which one do you mean? And why, exactly, do you want to > do this? There may be a better way. Writing a new connector > (or Connector) is certainly possible, but it's not for the > faint of heart :-) > > -- > Christopher St. John [EMAIL PROTECTED] > DistribuTopia http://www.distributopia.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>