Discussion Locked

How can I use a Java servlet into ASP

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to develop a chat program into Java Servelet but my entire site in on ASP, so I use IIS during development. Can I attach the servelet program with my existing ASP site. If I can then how it could be possible. Thanx in advance.

3 replies

by jay eckles

The SCRIPT element in HTML is related to Javascript, not Java Servlets, which are totally different and totally unrelated.

What you need is one of several Java Servlet containers that will plug into IIS. Examples include Tomcat, available for free from http://jakarta.apache.org/tomcat, or BEA Weblogic, a commercial product. Once you have configured that software, either stand-alone or as a plug-in to IIS, then you can run Java servlets.

If you want to share session variables between ASPprograms and Java Servlet or JSP programs, that's going to be quite a challenge. I don't know of any automated means of doing it, so you'll have to write your own session management architecture that stores session data in a common data store accessible by both the servlets and ASP.

If you have any more specific questions, let me know.

Jay Eckles
www.jayeckles.com

This discussion is closed to new replies.