Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Andrew Lindesay
Hi Paul; Chuck's advice is good for your situation. You may find later there is some merit in deploying a messaging-broker for other things in which case that approach may be better at that point in time. I control large areas of functionality in a multi-instance system using messaging

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Paul Hoadley
On 22/07/2009, at 1:11 PM, Chuck Hill wrote: This works fine, _except_ that the state needs to persist across scheduled re-starts. I will look at storing the state in the database instead. Restarts and multiple instances, no? Otherwise they would need to login to each instance. Ah, th

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 8:38 PM, Paul Hoadley wrote: On 22/07/2009, at 12:41 PM, Chuck Hill wrote: On Jul 21, 2009, at 8:08 PM, Andrew Lindesay wrote: Hi Chuck; Wouldn't it just be one trip at startup? Ah I thought he was going to check the state of the "property" each time somebody attem

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Paul Hoadley
On 22/07/2009, at 12:41 PM, Chuck Hill wrote: On Jul 21, 2009, at 8:08 PM, Andrew Lindesay wrote: Hi Chuck; Wouldn't it just be one trip at startup? Ah I thought he was going to check the state of the "property" each time somebody attempts to logs on so he could turn login on and off.

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 8:20 PM, David LeBer wrote: On 21-Jul-09, at 11:11 PM, Chuck Hill wrote: On Jul 21, 2009, at 8:08 PM, Andrew Lindesay wrote: Hi Chuck; Wouldn't it just be one trip at startup? Ah I thought he was going to check the state of the "property" each time somebody attem

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread David LeBer
On 21-Jul-09, at 11:11 PM, Chuck Hill wrote: On Jul 21, 2009, at 8:08 PM, Andrew Lindesay wrote: Hi Chuck; Wouldn't it just be one trip at startup? Ah I thought he was going to check the state of the "property" each time somebody attempts to logs on so he could turn login on and off.

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 8:08 PM, Andrew Lindesay wrote: Hi Chuck; Wouldn't it just be one trip at startup? Ah I thought he was going to check the state of the "property" each time somebody attempts to logs on so he could turn login on and off. I am not too clear myself on what the requireme

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Andrew Lindesay
Hi Chuck; Wouldn't it just be one trip at startup? Ah I thought he was going to check the state of the "property" each time somebody attempts to logs on so he could turn login on and off. http://arstechnica.com/apple/news/2009/07/webobjects-sliced-from-106but-prognosis-of-death-premature.

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 7:58 PM, Paul Hoadley wrote: Hi Andrew, On 22/07/2009, at 12:24 PM, Andrew Lindesay wrote: If your deployment is large enough to justify it, you could use a messaging service (JMS) to message each instance to change the state? This avoids having to do the extra databa

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Paul Hoadley
Hi Andrew, On 22/07/2009, at 12:24 PM, Andrew Lindesay wrote: If your deployment is large enough to justify it, you could use a messaging service (JMS) to message each instance to change the state? This avoids having to do the extra database trip on each login but maybe too much complexit

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Andrew Lindesay
Hi Paul; If your deployment is large enough to justify it, you could use a messaging service (JMS) to message each instance to change the state? This avoids having to do the extra database trip on each login but maybe too much complexity if you don't have the need for a messaging broker

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Paul Hoadley
On 21/07/2009, at 11:29 PM, Chuck Hill wrote: Is a scheduled re-start via JavaMonitor a hard re-start? In particular, is Properties re-read? (I should be able to answer this myself in about 8 hours...) Ideally, I want the semantics here to be "disallow logins on first launch, not again a

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Chuck Hill
HI Miguel, On Jul 21, 2009, at 6:08 PM, Miguel Angel Torres Avila wrote: On Jul 21, 2009, at 7:34 PM, Chuck Hill wrote: On Jul 21, 2009, at 5:24 PM, Miguel Angel Torres Avila wrote: On Jul 21, 2009, at 7:10 PM, Chuck Hill wrote: On Jul 21, 2009, at 4:53 PM, Miguel Angel Torres Avila wrote:

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Miguel Angel Torres Avila
On Jul 21, 2009, at 7:34 PM, Chuck Hill wrote: On Jul 21, 2009, at 5:24 PM, Miguel Angel Torres Avila wrote: On Jul 21, 2009, at 7:10 PM, Chuck Hill wrote: Hi Miguel, On Jul 21, 2009, at 4:53 PM, Miguel Angel Torres Avila wrote: Hi guys, I am staring a new project and I want to use Wonde

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 5:24 PM, Miguel Angel Torres Avila wrote: On Jul 21, 2009, at 7:10 PM, Chuck Hill wrote: Hi Miguel, On Jul 21, 2009, at 4:53 PM, Miguel Angel Torres Avila wrote: Hi guys, I am staring a new project and I want to use Wonder and try to implement Chuck Hill's recommended

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 5:24 PM, Ricardo J. Parada wrote: On Jul 21, 2009, at 8:10 PM, Chuck Hill wrote: Cough. Yes. Well. er. The diagram is wrong. Congratulations, you are the only one to have noticed this! Including me... :-( CommonPage and CommonComponent should have the same super

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Ricardo J. Parada
On Jul 21, 2009, at 8:10 PM, Chuck Hill wrote: Cough. Yes. Well. er. The diagram is wrong. Congratulations, you are the only one to have noticed this! Including me... :-( CommonPage and CommonComponent should have the same super-class. You can use ERXComponent for this or subclass

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Miguel Angel Torres Avila
On Jul 21, 2009, at 7:10 PM, Chuck Hill wrote: Hi Miguel, On Jul 21, 2009, at 4:53 PM, Miguel Angel Torres Avila wrote: Hi guys, I am staring a new project and I want to use Wonder and try to implement Chuck Hill's recommended best practices. I have watched a lot of times (almost 10 tim

Re: Chuck Hill's quite good Practices, WOWODC 08

2009-07-21 Thread Chuck Hill
Hi Miguel, On Jul 21, 2009, at 4:53 PM, Miguel Angel Torres Avila wrote: Hi guys, I am staring a new project and I want to use Wonder and try to implement Chuck Hill's recommended best practices. I have watched a lot of times (almost 10 times) the screencast http://www.wocommunity.org/pod

Re: [JC] update conflict handling

2009-07-21 Thread John Ours
On Jul 21, 2009, at 1:03 PM, Chuck Hill wrote: On Jul 20, 2009, at 8:59 PM, John Ours wrote: so what if I get some other type of notification in there? This appears to be the same call EODistributedObjectStore makes in its _send routine, and I'd hate to pop a notification that it really

Re: [JC] update conflict handling

2009-07-21 Thread Stamenkovic Florijan
On Jul 21, 2009, at 13:50, Chuck Hill wrote: On Jul 21, 2009, at 10:42 AM, Stamenkovic Florijan wrote: On Jul 21, 2009, at 13:03, Chuck Hill wrote: On Jul 20, 2009, at 8:59 PM, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avend

Re: [JC] update conflict handling

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 10:42 AM, Stamenkovic Florijan wrote: On Jul 21, 2009, at 13:03, Chuck Hill wrote: On Jul 20, 2009, at 8:59 PM, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: Wouldn't calling clientSideReque

Re: [JC] update conflict handling

2009-07-21 Thread Stamenkovic Florijan
On Jul 21, 2009, at 13:03, Chuck Hill wrote: On Jul 20, 2009, at 8:59 PM, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: Wouldn't calling clientSideRequestGetNotifications() on the client trigger an automatic cop

Re: [JC] update conflict handling

2009-07-21 Thread Chuck Hill
On Jul 20, 2009, at 8:59 PM, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: Wouldn't calling clientSideRequestGetNotifications() on the client trigger an automatic copying of the client-side EditingContext back to

Re: [JC] update conflict handling

2009-07-21 Thread John Ours
On Jul 21, 2009, at 10:49 AM, Stamenkovic Florijan wrote: On Jul 20, 2009, at 23:59, John Ours wrote: Now, my concern is that making this call from the client "pops" the notification so the server doesn't see it, and for this very controlled scenario that works fine. But I'd need to cal

Re: CalDAV and WebCalendars

2009-07-21 Thread Pascal Robert
Le 09-07-21 à 11:23, Amedeo Mantica a écrit : Hello Pascal, As you know, with your help, I'm now able to retreive CalDav events. Now I need to create an html page for displaying the events in a beautiful calendar like look. I have one but it only display the events one after the other, no

CalDAV and WebCalendars

2009-07-21 Thread Amedeo Mantica
Hello Pascal, As you know, with your help, I'm now able to retreive CalDav events. Now I need to create an html page for displaying the events in a beautiful calendar like look. Do you (and all readers) know if there is already a Wonder Element that do this?? If not, I'll start today cre

Re: [JC] update conflict handling

2009-07-21 Thread Stamenkovic Florijan
On Jul 20, 2009, at 23:59, John Ours wrote: On Jul 14, 2009, at 11:48 AM, Chuck Hill wrote: On Jul 14, 2009, at 7:29 AM, David Avendasora wrote: Wouldn't calling clientSideRequestGetNotifications() on the client trigger an automatic copying of the client-side EditingContext back to t

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 7:22 AM, Francesco Romano wrote: On 21/lug/09, at 16:16, Chuck Hill wrote: On Jul 21, 2009, at 6:57 AM, Francesco Romano wrote: I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job..

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 6:57 AM, Francesco Romano wrote: I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not relat

Re: Question about fetching

2009-07-21 Thread Pascal Robert
Le 09-07-21 à 09:57, Francesco Romano a écrit : I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not related to

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 3:19 AM, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. No. An EOEnterpriseObject has scope in an EOEditingContext, each is a unique Java Object. An E

Re: Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 2:50 AM, Paul Hoadley wrote: Hello, I have an app deployed using JavaMonitor. I have a property 'acceptLogins=false' in Properties, which has the effect of disabling non-superuser logins on startup. When appropriate, a superuser changes the state of a variable in Ap

Re: Question about fetching

2009-07-21 Thread Chuck Hill
On Jul 21, 2009, at 12:56 AM, Francesco Romano wrote: Hi.. This is a simple (and maybe stupid) question. No. :-) I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby..), and I've some pages accessed with directaction. M

Re: Question about fetching

2009-07-21 Thread Francesco Romano
I want to say that this is the first time I do something dynamic for the web (like an e-commerce site, or a web app) and it's not my job.. I'm a student and I'm doing a favor to my father... So... I'm open to every advices, even not related to WO. Now, my ideas (maybe I've already written thi

Re: Question about fetching

2009-07-21 Thread Christian Trotobas
On 21 juil. 2009, at 15:19, Francesco Romano wrote: On 21/lug/09, at 12:43, Christian Trotobas wrote: On 21 juil. 2009, at 12:19, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingco

Re: Question about fetching

2009-07-21 Thread Francesco Romano
On 21/lug/09, at 12:43, Christian Trotobas wrote: On 21 juil. 2009, at 12:19, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. I don't know why but I create a new editing cont

Re: Question about fetching

2009-07-21 Thread Christian Trotobas
On 21 juil. 2009, at 12:19, Francesco Romano wrote: Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. I don't know why but I create a new editing context for each page... so this is bad. Should I keep

Re: Question about fetching

2009-07-21 Thread Francesco Romano
Thanks to both. I read that chapter in the Apple documentation. If I understand correctly the globalID has its scope in the editingcontext. I don't know why but I create a new editing context for each page... so this is bad. Should I keep a single editing context? (until a customer add the f

Are Properties re-read after a scheduled re-start?

2009-07-21 Thread Paul Hoadley
Hello, I have an app deployed using JavaMonitor. I have a property 'acceptLogins=false' in Properties, which has the effect of disabling non-superuser logins on startup. When appropriate, a superuser changes the state of a variable in Application to allow all logins. Is a scheduled re-s

Re: Question about fetching

2009-07-21 Thread Christian Trotobas
Hi Francesco On 21 juil. 2009, at 09:56, Francesco Romano wrote: Hi.. This is a simple (and maybe stupid) question. No question is stupid on this list. Feel free to ask. I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby.

Re: Question about fetching

2009-07-21 Thread Andrew Lindesay
Hello Francesco; You can construct an EOGlobalID from the primary key an fault it. I would generally not advocate using the primary key in this manner as it may be volatile owing to migration of schema or database product migration. That concern aside, assuming you have a primary key and

Question about fetching

2009-07-21 Thread Francesco Romano
Hi.. This is a simple (and maybe stupid) question. I'm doing an application (an e-commerce application.. maybe wo is not the best choice, but I know java better than ruby..), and I've some pages accessed with directaction. Maybe I'm wrong, but I can pass values to a page only with the url, s

Re: Migrations encoding

2009-07-21 Thread Johann Werner
Thanks for your suggestion Chuck, but it does not change the behaviour of the file encoding. By placing it into the main method the correct file encoding gets listed among the general properties list at startup but the method Converters.getDefaultEncodingName—in contrast to Charset.defaultC