This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
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


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
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?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Webservices in weblogic 8.1 storing a value and then JSP reading it
 
It's not a secret anymore!