Webservices in weblogic 8.1 storing a value and then JSP reading it
posted 8 years ago
I have a EJB turned into a webservice and deployed in Weblogic 8.1. Now when this webservice is invoked, I want to show the received message in a browser. What I want to do is write a java class with 'setmessage' and 'getmessage' methods. Then I would use setmessage method to set the received message. My JSP then would ping the variable every 10 sec or so and show it in the browser. Is this feasible?
I tried creating an EAR with EJBJAR and WAR and a COMMON.jar which had the java class. It worked.
But with EJB turning into a webserivce...(using servicegen), it automatically creates a EAR, with the web-services.war coming in.
I tried to include the common.jar and my war in the generated EAR, but then the JSP/servlet in the war AND the ejb-jar doesnt seem to know anything abt the java class in the common.jar