[Logo]
Forums Register Login
Webservices in weblogic 8.1 storing a value and then JSP reading it
Hi Folks,

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

Any clues, other ways to do this?
You are HERE! The other map is obviously wrong. Better confirm with this tiny ad:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA


This thread has been viewed 933 times.

All times above are in ranch (not your local) time.
The current ranch time is
Aug 19, 2018 08:12:48.