aspose file tools*
The moose likes Web Services and the fly likes How do I run my app at the same time as deploying my web service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How do I run my app at the same time as deploying my web service?" Watch "How do I run my app at the same time as deploying my web service?" New topic
Author

How do I run my app at the same time as deploying my web service?

mat buckland
Greenhorn

Joined: Sep 01, 2009
Posts: 24
I've posted a better explanation of this problem here:

http://www.coderanch.com/t/461646/Web-Services/java/do-do-this-utilizing-Jetty#2060661

thanks
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
.
mat buckland
Greenhorn

Joined: Sep 01, 2009
Posts: 24
Hello,

I think you have misunderstood me.

On the server machine I need to run a business simulation, which has dynamic state. Let's use a very simple example


An instance of this object must be running at all time on the server so that it's state is kept updated.

I need to know how to create and deploy a SOAP based web service that exposes Simulation::getState().

I hope that makes it clearer.
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
    
    1
Check this: http://java.sun.com/docs/books/tutorial/essential/concurrency/runthread.html
Best wishes!
mat buckland
Greenhorn

Joined: Sep 01, 2009
Posts: 24
I don't want it scheduled. It needs to be running *all the time*.
 
Don't get me started about those stupid light bulbs.
 
subject: How do I run my app at the same time as deploying my web service?