PDA

Click to See Complete Forum and Search --> : Java Servlets and ASP


lenin
Aug 4th, 2003, 06:26 AM
Hi,
has anyone any experience of accessing java servlets running in a tomcat 3.1 servlet container from IIS?. I have read that it can be done using from IIS using Microsoft Java SDK.

My problem is that we have an ASP application which queries a database presents results, does some auditing etc. We now have a requirement to integrate the current app into a service accessed via a client side java servlet.
Instinctively I would have thought that this would not be achoevable in a simple, reliable fashion but any comments would be greatly appreciated.

Thanks

CornedBee
Aug 5th, 2003, 01:47 AM
Huh?

I have read that it can be done using from IIS using Microsoft Java SDK.
Very unlikely because of the nature of the MS "Java" SDK.

via a client side java servlet.

A servlet, by definition, is server side. An applet is client side.

to integrate the current app into a service

More details about the service and how it is to be integrated witht the current app would be useful.

lenin
Aug 5th, 2003, 05:04 AM
Sorry if there is any confusion here.

We have an ASP progam, a simple search with some other features. We require the ability to integrate a product which needs a servlet container ( on our machine, which is why I said client, i.e. the servlet will make a request to another box ) to make a web request to another server to return search results.

Since both technologies IIS and Tomcat ( our servlet container ) rely on HTTP we believe a simple solution which takes the request which is submitted to ASP, and point it at the Servlet container may work.


<FORM NAME="Text Example" FORM METHOD="GET" ACTION="http://localhost:8080/examples/servlet/tony">

What I would like to know is whether this is a sensible solution?

Thanks

Lenin

CornedBee
Aug 5th, 2003, 06:29 AM
There's a IIS redirector for Tomcat which enables you to integrate IIS and Tomcat. Then the two servers act as one and nobody will notice whether you direct your requests at one or the other.