Reputation: 376
what I want/have to do is give a value (possibly two values) from one JSP-application to a ASP-application, but I don't know if this is even possible.
I myself don't have any experience with JSP. I did learn Java in college, but that's about it. So I don't really know what options I have here.
I think the real problem is how to handle the threading, as it is expected that 50 people use the program at the same time. So I sort of need to have a direct communication.
Does anybody have an idea how to do this?
Upvotes: 0
Views: 233
Reputation: 309008
Yes, but your question is a bit muddled.
First off: A JSP is a compiled first to a Java servlet, then to a .class file, deployed in a servlet/JSP engine. Servlets are listeners for HTTP requests. You can certainly make calls to a C# object that also listens for HTTP requests. I'd recommend learning something about AJAX and jQuery to see how it's done.
As for threading, the Java container handles threading for you. You should write your servlets/JSPs as if they were single threaded. That means synchronizing shared state in servlets and minimizing or eliminating it whenever possible.
Upvotes: 1