File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes How to Start and Stop a Thread Remotely Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Threads and Synchronization
Reply Bookmark "How to Start and Stop a Thread Remotely" Watch "How to Start and Stop a Thread Remotely" New topic
Author

How to Start and Stop a Thread Remotely

MohanRaj Gurubatham
Greenhorn

Joined: Sep 05, 2001
Posts: 16
Hi everybody,
Could any one help me with sample code to start and stop a Thread which will run in a remote server.
Thanking you in advance,
Mohanraj.G
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
Aren't you basically asking how to invoke methods on a remote server? One possible way to go is RMI. The JDK has articles and sample code in docs/guide/RMI.
HTH
- Peter
 
 
subject: How to Start and Stop a Thread Remotely
 
Threads others viewed
Stopping a continuosly executing Thread
about yield()
Thread Question
Identifying instances
Welcome Seema Manivannan!
developer file tools