473,830 Members | 1,963 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to implement a background process?

Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web Service will
be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?
Jul 19 '05 #1
4 4823
pokémon,
I'm assuming by 'background process' you mean something that continuously
runs working on something.

Have you considered a Windows Service, that the Web Service uses .NET
Remoting or MessageQueues to talk to it.

You can use can use System.ServiceP rocess.ServiceC ontroller to control a
Windows Service if you do not need to communicate a large number of
parameters. If you have lots of data/parameters to communicate then I would
consider using .NET Remoting or a System.Messagin g.MessageQueue to send this
info (to the Windows Service).

Hope this helps
Jay

"pokémon" <po**@mon.com > wrote in message
news:%c******** **********@nwrd ny01.gnilink.ne t...
Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web Service will be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?

Jul 19 '05 #2
Thanks, Jay,

I think Messaging Queuing might not be my choice, since I don't like the
asynch nature of it for this particular app.

Is configuring a web service as a remoting client the same as any other
remoting client, or are there other considerations?
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message
news:OQ******** ******@TK2MSFTN GP12.phx.gbl...
pokémon,
I'm assuming by 'background process' you mean something that continuously
runs working on something.

Have you considered a Windows Service, that the Web Service uses .NET
Remoting or MessageQueues to talk to it.

You can use can use System.ServiceP rocess.ServiceC ontroller to control a
Windows Service if you do not need to communicate a large number of
parameters. If you have lots of data/parameters to communicate then I would consider using .NET Remoting or a System.Messagin g.MessageQueue to send this info (to the Windows Service).

Hope this helps
Jay

"pokémon" <po**@mon.com > wrote in message
news:%c******** **********@nwrd ny01.gnilink.ne t...
Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web Service

will
be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?


Jul 19 '05 #3
pokémon,
Is configuring a web service as a remoting client the same as any other
remoting client, or are there other considerations? As far as I know its the same.

Hope this helps
Jay

"pokémon" <po**@mon.com > wrote in message
news:Yl******** *********@nwrdn y03.gnilink.net ... Thanks, Jay,

I think Messaging Queuing might not be my choice, since I don't like the
asynch nature of it for this particular app.

Is configuring a web service as a remoting client the same as any other
remoting client, or are there other considerations?
"Jay B. Harlow [MVP - Outlook]" <Ja********@ema il.msn.com> wrote in message news:OQ******** ******@TK2MSFTN GP12.phx.gbl...
pokémon,
I'm assuming by 'background process' you mean something that continuously runs working on something.

Have you considered a Windows Service, that the Web Service uses .NET
Remoting or MessageQueues to talk to it.

You can use can use System.ServiceP rocess.ServiceC ontroller to control a
Windows Service if you do not need to communicate a large number of
parameters. If you have lots of data/parameters to communicate then I

would
consider using .NET Remoting or a System.Messagin g.MessageQueue to send

this
info (to the Windows Service).

Hope this helps
Jay

"pokémon" <po**@mon.com > wrote in message
news:%c******** **********@nwrd ny01.gnilink.ne t...
Ok, I want to implmement a "backgound process", but the catch is this:

I want to control it via a Web Service, that is to say, the Web
Service will
be its API.

What type of application should I create? Windows App?

Also, how would the Web Service talk to the background process?



Jul 19 '05 #4
lecolecosa
2 New Member
Hi all,
How can i controler backgroud process with javascript?

It´s a possible?
Thanks
Jul 28 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
18547
by: Alan Walkington | last post by:
Folks: How can I get an /exec'ed/ process to run in the background on an XP box? I have a monitor-like process which I am starting as 'exec("something.exe");' and, of course the exec function blocks until something.exe terminates. Just what I /don't/ want. (Wouldn't an & be nice here! Sigh) I need something.exe to disconnect and run in the background while I
5
18147
by: Joshua Beall | last post by:
Hi All, I am working on a mailing list program for a client, and I am wondering what tbe hest way to deal with script timeouts is. I realize that I could use set_time_limit() to increase the script timeout, but that doesn't handle situations where 1) safe mode is on, or 2) Apache's timeout is exceeded. These mailings go out to between 5000 and 10000 email addresses, so timeouts are a concern. It seems to me that the best thing to do...
1
3680
by: Ravi Tallury | last post by:
Hi We are running a java process in the background on a aix 5.2, jdk1.31. The jvm core dumps on occasion and i would like to debug the issue. Reading through documentation, issuing the kill -30 <pid> does the java dump for a process runiing in the fore-ground, however it is ignored by a process running in the background. So how do i do that? I might not be able to keep the window open that started the actual java process as this could...
3
7003
by: Jenkins | last post by:
I want to start a perl pgm in the background on my hosts web server as a stand-alone process. I only have ftp access. What I've done, so far, is: 1) created the actual background perl script, named fetchmyweather.pl. This script retrieves a string from an noaa weather station and inserts it into a mysql db, then sleeps for an hour, and repeats indefinitely. Nothing heavy and it's ok with my provider. 2) created a second perl script,...
2
4748
by: Paul Hatcher | last post by:
I have an ASP.NET application that uses a background threads to perform a long-running process. What I'm not sure is how to track and communicate with the thread. The site is divided up into sections, each of which could have it's own background process. Given that any user should be able to inquire against the current status of a process thread, I don't know how to keep a reference to it unless I just put it into Global.asax, which...
6
470
by: pokémon | last post by:
Ok, I want to implmement a "backgound process", but the catch is this: I want to control it via a Web Service, that is to say, the Web Service will be its API. What type of application should I create? Windows App? Also, how would the Web Service talk to the background process?
1
6226
by: hsmcdonald | last post by:
Hello all, I have a mail function that sends parsed information to an employee distribution list. I was trying to setup a process where the admin can initiate a letter to this list, and basically run it as a background process. To provide this functionality, I made a unique php script to handle the mail functions, and I call it from within the main script like something to the effect of: system("/usr/local/bin/php ./mail.php arg1...
2
2189
by: Hilmar Bunjes | last post by:
Hi, I'm working on a web application in ASP.NET 3.5 and need some help with processing stuff in the background. The user who visits a web page can make reservations. Each reservation will result in a notification for the user and an involved company. Sending the notifications can take some seconds but the user shouldn't need to wait for the page. So the only way to handle this is AFAIK to do some background processing that is not...
0
1927
by: rdzioba | last post by:
In my Forms application, I want to run a background loop that executes ReadFile (P/Invoke) continuously. ReadFile will block waiting for data (to arrive from a USB device) and when the read completes, a Byte buffer needs to be sent to the main Form. I'm using BackgroundWorker, and my read loop is in BackgroundWorker_DoWork. I start the background process by calling RunWorkerAsync(). My question is this: is it better coding practice to...
0
9793
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9642
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9315
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7746
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6951
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5617
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5780
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4411
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3959
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.