File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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*.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I run my app at the same time as deploying my web service?
 
Similar Threads
Pdf button to create pdf of my web page
JSF
how to handle 10,000 records from database
CSV help
Axis and HTTP Header Info