> Ravi Kishore Kakani wrote:
>
> HAI GUYS,
> i have a typical problem.can i use in the same application two diff
> servers(JWS,IIS)
> and access asp pages from iis and servlets from jws.will i be able to
> maintain the session state on the two servers?if yes,how do i pass the
> session variable from the servlet page of jws to asp page of iis.i
> think if i can use JRUN on iis how do i maitain the session
> state.does jrun support beans also?
>
> Thank u in advance.
>
> bye,
> Ravi kk
Is it possible? Yes. Is it pratical? No.
It is possible to build some sort of Java/Com object to handle
marshaling of state objects back and forh between ASP & JSP/JRun (I've
tried this in the past).
However, it is hard to implement and just doesn't seem to be worth it.
You could build a COM object tho, that could be accessed in your ASPs
and would in turn call your servlets. I think it's easier to deal with
session and application state on the Java side of things than on the MS
side (go figure).
Anyway, my solution to a similiar problem was to re-build the back end
in Java and then manually port the ASPs to JSPs.
IIS does seem attractive in the short run, but unless you want to do
things the MS way, you'll run into trouble later down the road. If you
need to run a web server, then I suggest just downloading Tomcat. It
gives the current Servlet and JSP spec and runs quite well. Couple that
with a fast Java compiler and you're set.
Jason
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html