Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 07-17-2007
JAX82 JAX82 is offline
Registered User
 
Name: Jaime Sanchez-Laulhe
Organization: Universidad Politecnica de Madrid / Ensimag
Project: Ethernet and Wireless Test Platform
 
Join Date: Apr 2007
Posts: 8
Server executes in parallel its methods?

Hi,

I have a java server running in a computer with an ip and a port fixes. It has two methods: methodA and methodB.

Method A executes an external application APP, like this:
Code:
Process p = Runtime.getRuntime().exec("APP");
...
p.waitFor();
APP is blocked after 10 seconds, so the server is blocked too in line:
Code:
p.waitFor()
From other computer, an application call the remote methodB and ideally it must unblock APP so the previous methodA too.

I would like to know if it is possible this approach, because I am trying to make it, but the server does not run methodB if it is blocked in methodA .

Thanks in advance.
Reply With Quote
  #2 (permalink)  
Old 07-17-2007
dwayne's Avatar
dwayne dwayne is online now
ZeroC Staff
 
Name: Dwayne Boone
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Jan 2005
Location: St. John's, Newfoundland
Posts: 209
Please see this FAQ.
Reply With Quote
  #3 (permalink)  
Old 07-17-2007
JAX82 JAX82 is offline
Registered User
 
Name: Jaime Sanchez-Laulhe
Organization: Universidad Politecnica de Madrid / Ensimag
Project: Ethernet and Wireless Test Platform
 
Join Date: Apr 2007
Posts: 8
Thanks! it works
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Ice suitable for parallel computation? Yunqiao Yin Comments 1 01-26-2006 01:44 PM
C# code generated for comparison methods kwaclaw Comments 3 10-11-2005 02:54 PM
Calling proxy methods in a python server jeinhorn Help Center 2 10-04-2005 10:30 AM
Local or server private methods dashie Help Center 6 12-22-2004 03:31 AM
Calling methods of a client from the server Baloo Help Center 2 09-28-2004 06:31 PM


All times are GMT -4. The time now is 01:11 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.