This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webservices in weblogic 8.1 storing a value and then JSP reading it
 
Similar Threads
Accessing common jar files in EAR
Java Bean Connectivity , EJB, JSP and .NET client dilemma
How to have everything except my war in an ear use the same log4j.xml
Wrapper class on the top of stateless session bean
Deploying ear on weblogic on windows and linux