Hi!

Sometimes I write faster that I think... clarifying question 1: what's the difference... in this case? :) IE, what are the advantages of using deamon threads on those background apps instead of normal threads?

  Yours

Miguel Arroz

On 2008/01/18, at 13:48, Miguel Arroz wrote:

Hi!

  Two questions:

1) What's the difference between a normal Thread and a deamon Thread?

  2) How to you stop the bkgnd application in a controlled way?

  Yours

Miguel Arroz

On 2008/01/18, at 05:12, Chuck Hill wrote:

Hi George,


On Jan 17, 2008, at 5:28 PM, George Wiles wrote:
A best-practice question from a WebObjects newbie, any help would be greatly appreciated.

We have a number of background processes that we need to run to compliment our WebObjects web application.

What is the WebObjects way of doing this...or [should we stick to what we know best] and use a J2EE servlet container (eg. Tomcat, JRun etc) to run our background processes.

What do your background processes do? That is an important consideration. Mine usually access the database and / or some other frameworks related to WO. Because of that, I want the power of WO and I run them in the context of a WO app. In most cases this is an application for which only a single instance is deployed. Each of the processes is run in an daemon java.lang.Thread. The app can provide a useful dashboard as to the status etc of each thread. Depending on what they do, you might want to have each have its own EOF stack to avoid threads blocking each other.

Does that help at all?

Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com

This email sent to [EMAIL PROTECTED]

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/arroz% 40guiamac.com

This email sent to [EMAIL PROTECTED]

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.com



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to