aspose file tools*
The moose likes Web Services and the fly likes Webservices in weblogic 8.1 storing a value and then JSP reading it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Webservices in weblogic 8.1 storing a value and then JSP reading it" Watch "Webservices in weblogic 8.1 storing a value and then JSP reading it" New topic
Author

Webservices in weblogic 8.1 storing a value and then JSP reading it

Arthur Ford
Greenhorn

Joined: Sep 06, 2006
Posts: 22
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?
 
wood burning stoves
 
subject: Webservices in weblogic 8.1 storing a value and then JSP reading it