chrome cause garbage sessions

2011-03-01 Thread Elim Qiu
This is confirmed with WO451 ObjC, windows, with direct connect mode.
It even happen for simple testing app like Hello World.

For deploy mode, at least for the same testing app, no extra session created
per request/response.

Extra sessions are usually caused by invalid resource urls. But for such
simple testing app with no pictures, style sheets, js links, that's
unusual.

GsWeb is parallel to WO451 with better unicode support for EOF, but as I
last tried, it's ResourceManager implemented differently that'll cause more
problems with WOResourceURL. I'll try it again and see.
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC 2011: call for presenters

2011-03-01 Thread Paul D Yu
Dave's of a feather...

;)


On Mar 1, 2011, at 1:17 PM, Pascal Robert wrote:

> We should do a "Night with the Davids" session :-P
> 
>> + there WILL be a lot of Davids there.
>> 
>> :-)
>> 
>> On 2011-03-01, at 8:34 AM, David LeBer wrote:
>> 
>>> 
>>> On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
>>> 
 Hi guys,
 
 We have a couple of slots available for more WOWODC 2011 presentations, so 
 if you would like to present contact me. Remote presentations is also a 
 possibility, and if you want to prepare a presentation but not deliver it, 
 that's another option too.
 
 Check the FAQ if you want to present:
 
 http://wocommunity.org/wowodc11/presenters-faq.html
 
 See you in July!
>>> 
>>> Let me just chime in to say that giving a presentation to your peers is an 
>>> amazing thing:
>>> 
>>> - It expands your understanding of the topic (even if you think you have it 
>>> mastered).
>>> - It's a great way to go deep on a *new* topic (need a concrete deadline, 
>>> this'll give it to you).
>>> - It expands your exposure in the community.
>>> - It gives you a great addition to your resume
>>> - It teaches valuable life and career skills.
>>> - I will not lie and say it is not a lot of work, but it is amazingly 
>>> rewarding.
>>> 
>>> And, I have to say that the WOWODC crowd is a great group to present to.
>>> 
>>> ;david
>>> 
>>> --
>>> David LeBer
>>> Codeferous Software
>>> 'co-def-er-ous' adj. Literally 'code-bearing'
>>> site:   http://codeferous.com
>>> blog:   http://davidleber.net
>>> profile:http://www.linkedin.com/in/davidleber
>>> twitter:http://twitter.com/rebeld
>>> --
>>> Toronto Area Cocoa / WebObjects developers group:
>>> http://tacow.org
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>>> 
>>> This email sent to programming...@mac.com
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/pyu%40mac.com
> 
> This email sent to p...@mac.com

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

This email sent to arch...@mail-archive.com


Re: NSNotificationCenter

2011-03-01 Thread Simon
we do a lot of this type of thing using NSNotifications. the key is to
use pass in the user as GID, not an EO, then use a thread execution
pool to do your stuff. i've pasted below some sample code - this is a
class that listens for a new "ReportJob", then actually creates the
report. I've ripped out all the code that is specific to the task but
you should be able to figure the the general concept from what is
left.


public class ClickReportJob {

public static class Queue extends Object {

private static NSMutableDictionary> _queue;


public static void addToQueue(FutureTask ft,
EOGlobalID gid) {
getQueue().setObjectForKey(ft, gid);
}


public static NSMutableDictionary> getQueue() {
if (_queue == null) {
_queue = new NSMutableDictionary>();
}
return _queue;
}

}

class ReportJobThread extends Thread {

public EOGlobalID gid;


public ReportJobThread(String str, EOGlobalID gid) {
super(str);
this.gid = gid;
}


@Override
public void run() {
log.debug("ReportJobListner: Just started run() 
method...");
EOEditingContext ec = ERXEC.newEditingContext();
ReportJob job = null;

try {
ec.lock();
// Fetch the ReportJob.
job = (ReportJob) 
ERXEOControlUtilities.convertGIDtoEO(ec, gid);

// Do stuff

} catch (Exception e) {
// Do stuff...

} finally {
ec.unlock();
ec.dispose();
}
}
}

public Logger log = Logger.getLogger(this.getClass());

public ExecutorService pool = Executors.newFixedThreadPool(3);


public ClickReportJob() {
super();
log.debug("Registering " + this.getClass() + " for 
notifications");
NSNotificationCenter nsnc = 
NSNotificationCenter.defaultCenter();
nsnc.addObserver(this, 
ERXSelectorUtilities.notificationSelector("trigger"),
ReportJob.NEW_REPORT_JOB_NOTIFICATION, null);
}


public void trigger(NSNotification notification) {
log.debug("TRIGGER: " + this.getClass());
try {
EOGlobalID gid = (EOGlobalID) notification.object();
ReportJobThread t = new ReportJobThread("Job" + gid, 
gid);
FutureTask ft = new 
FutureTask(t, null);
pool.submit(ft);
ClickReportJob.Queue.addToQueue(ft, gid);
} catch (Exception e) {
log.debug("Exception whilst handing a report thread to 
the executor
pool", e);
}
}

}




On 1 March 2011 09:48, Frédéric JECKER  wrote:
> Hello,
> Some customers asked us for adding some automatic per user notifications
> when some specific events happen within our application (each user should be
> able to specify its own criterias).
> I'm looking at NSNotification/NSNotificationCenter for this purpouse but I'm
> wondering if the notification dispatching and processing is performed on the
> main thread or on a separate one.
> Thanks
> Fred
>
>  ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/simon%40potwells.co.uk
>
> This email sent to si...@potwells.co.uk
>
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: WOWODC 2011: call for presenters

2011-03-01 Thread Chuck Hill
Night of the Living David?


On Mar 1, 2011, at 10:17 AM, Pascal Robert wrote:

> We should do a "Night with the Davids" session :-P
> 
>> + there WILL be a lot of Davids there.
>> 
>> :-)
>> 
>> On 2011-03-01, at 8:34 AM, David LeBer wrote:
>> 
>>> 
>>> On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
>>> 
 Hi guys,
 
 We have a couple of slots available for more WOWODC 2011 presentations, so 
 if you would like to present contact me. Remote presentations is also a 
 possibility, and if you want to prepare a presentation but not deliver it, 
 that's another option too.
 
 Check the FAQ if you want to present:
 
 http://wocommunity.org/wowodc11/presenters-faq.html
 
 See you in July!
>>> 
>>> Let me just chime in to say that giving a presentation to your peers is an 
>>> amazing thing:
>>> 
>>> - It expands your understanding of the topic (even if you think you have it 
>>> mastered).
>>> - It's a great way to go deep on a *new* topic (need a concrete deadline, 
>>> this'll give it to you).
>>> - It expands your exposure in the community.
>>> - It gives you a great addition to your resume
>>> - It teaches valuable life and career skills.
>>> - I will not lie and say it is not a lot of work, but it is amazingly 
>>> rewarding.
>>> 
>>> And, I have to say that the WOWODC crowd is a great group to present to.
>>> 
>>> ;david
>>> 
>>> --
>>> David LeBer
>>> Codeferous Software
>>> 'co-def-er-ous' adj. Literally 'code-bearing'
>>> site:   http://codeferous.com
>>> blog:   http://davidleber.net
>>> profile:http://www.linkedin.com/in/davidleber
>>> twitter:http://twitter.com/rebeld
>>> --
>>> Toronto Area Cocoa / WebObjects developers group:
>>> http://tacow.org
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>>> 
>>> This email sent to programming...@mac.com
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>> 
>> This email sent to prob...@macti.ca
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

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









smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC 2011: call for presenters

2011-03-01 Thread Pascal Robert
We should do a "Night with the Davids" session :-P

> + there WILL be a lot of Davids there.
> 
> :-)
> 
> On 2011-03-01, at 8:34 AM, David LeBer wrote:
> 
>> 
>> On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
>> 
>>> Hi guys,
>>> 
>>> We have a couple of slots available for more WOWODC 2011 presentations, so 
>>> if you would like to present contact me. Remote presentations is also a 
>>> possibility, and if you want to prepare a presentation but not deliver it, 
>>> that's another option too.
>>> 
>>> Check the FAQ if you want to present:
>>> 
>>> http://wocommunity.org/wowodc11/presenters-faq.html
>>> 
>>> See you in July!
>> 
>> Let me just chime in to say that giving a presentation to your peers is an 
>> amazing thing:
>> 
>> - It expands your understanding of the topic (even if you think you have it 
>> mastered).
>> - It's a great way to go deep on a *new* topic (need a concrete deadline, 
>> this'll give it to you).
>> - It expands your exposure in the community.
>> - It gives you a great addition to your resume
>> - It teaches valuable life and career skills.
>> - I will not lie and say it is not a lot of work, but it is amazingly 
>> rewarding.
>> 
>> And, I have to say that the WOWODC crowd is a great group to present to.
>> 
>> ;david
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 'co-def-er-ous' adj. Literally 'code-bearing'
>> site:http://codeferous.com
>> blog:http://davidleber.net
>> profile: http://www.linkedin.com/in/davidleber
>> twitter: http://twitter.com/rebeld
>> --
>> Toronto Area Cocoa / WebObjects developers group:
>> http://tacow.org
>> 
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
>> 
>> This email sent to programming...@mac.com
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca

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

This email sent to arch...@mail-archive.com


Re: WOWODC 2011: call for presenters

2011-03-01 Thread Pascal Robert

Le 2011-03-01 à 12:53, Chuck Hill a écrit :

> I can't really improve on David's comments.  If you are thinking about, 
> unsure if you want to or not, or unsure if your topic is suitable or not

Semi related topics like database optimization can be accepted too.

> -- jump off the fence and send Pascal a message.  We had a lot of great 
> presentations last year on a wide range of topics.  YOU can make it even 
> better this year.

I agree, last year was really great! And it's the last week-end of the Montreal 
Jazz Fest, great time to be in the city. 

> 
> Chuck
> 
> 
> On Mar 1, 2011, at 8:34 AM, David LeBer wrote:
> 
>> 
>> On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
>> 
>>> Hi guys,
>>> 
>>> We have a couple of slots available for more WOWODC 2011 presentations, so 
>>> if you would like to present contact me. Remote presentations is also a 
>>> possibility, and if you want to prepare a presentation but not deliver it, 
>>> that's another option too.
>>> 
>>> Check the FAQ if you want to present:
>>> 
>>> http://wocommunity.org/wowodc11/presenters-faq.html
>>> 
>>> See you in July!
>> 
>> Let me just chime in to say that giving a presentation to your peers is an 
>> amazing thing:
>> 
>> - It expands your understanding of the topic (even if you think you have it 
>> mastered).
>> - It's a great way to go deep on a *new* topic (need a concrete deadline, 
>> this'll give it to you).
>> - It expands your exposure in the community.
>> - It gives you a great addition to your resume
>> - It teaches valuable life and career skills.
>> - I will not lie and say it is not a lot of work, but it is amazingly 
>> rewarding.
>> 
>> And, I have to say that the WOWODC crowd is a great group to present to.
>> 
>> ;david
>> 
>> --
>> David LeBer
>> Codeferous Software
>> 'co-def-er-ous' adj. Literally 'code-bearing'
>> site:http://codeferous.com
>> blog:http://davidleber.net
>> profile: http://www.linkedin.com/in/davidleber
>> twitter: http://twitter.com/rebeld
>> --
>> Toronto Area Cocoa / WebObjects developers group:
>> http://tacow.org
>> 
>> 
>> 
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>> 
>> This email sent to ch...@global-village.net
> 
> -- 
> Chuck Hill Senior Consultant / VP Development
> 
> 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  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca

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

This email sent to arch...@mail-archive.com


Re: WOWODC 2011: call for presenters

2011-03-01 Thread Chuck Hill
I can't really improve on David's comments.  If you are thinking about, unsure 
if you want to or not, or unsure if your topic is suitable or not -- jump off 
the fence and send Pascal a message.  We had a lot of great presentations last 
year on a wide range of topics.  YOU can make it even better this year.


Chuck


On Mar 1, 2011, at 8:34 AM, David LeBer wrote:

> 
> On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
> 
>> Hi guys,
>> 
>> We have a couple of slots available for more WOWODC 2011 presentations, so 
>> if you would like to present contact me. Remote presentations is also a 
>> possibility, and if you want to prepare a presentation but not deliver it, 
>> that's another option too.
>> 
>> Check the FAQ if you want to present:
>> 
>> http://wocommunity.org/wowodc11/presenters-faq.html
>> 
>> See you in July!
> 
> Let me just chime in to say that giving a presentation to your peers is an 
> amazing thing:
> 
> - It expands your understanding of the topic (even if you think you have it 
> mastered).
> - It's a great way to go deep on a *new* topic (need a concrete deadline, 
> this'll give it to you).
> - It expands your exposure in the community.
> - It gives you a great addition to your resume
> - It teaches valuable life and career skills.
> - I will not lie and say it is not a lot of work, but it is amazingly 
> rewarding.
> 
> And, I have to say that the WOWODC crowd is a great group to present to.
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile:  http://www.linkedin.com/in/davidleber
> twitter:  http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
> 
> This email sent to ch...@global-village.net

-- 
Chuck Hill Senior Consultant / VP Development

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









smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: WOWODC 2011: call for presenters

2011-03-01 Thread David Holt
+ there WILL be a lot of Davids there.

:-)

On 2011-03-01, at 8:34 AM, David LeBer wrote:

> 
> On 2011-03-01, at 11:21 AM, Pascal Robert wrote:
> 
>> Hi guys,
>> 
>> We have a couple of slots available for more WOWODC 2011 presentations, so 
>> if you would like to present contact me. Remote presentations is also a 
>> possibility, and if you want to prepare a presentation but not deliver it, 
>> that's another option too.
>> 
>> Check the FAQ if you want to present:
>> 
>> http://wocommunity.org/wowodc11/presenters-faq.html
>> 
>> See you in July!
> 
> Let me just chime in to say that giving a presentation to your peers is an 
> amazing thing:
> 
> - It expands your understanding of the topic (even if you think you have it 
> mastered).
> - It's a great way to go deep on a *new* topic (need a concrete deadline, 
> this'll give it to you).
> - It expands your exposure in the community.
> - It gives you a great addition to your resume
> - It teaches valuable life and career skills.
> - I will not lie and say it is not a lot of work, but it is amazingly 
> rewarding.
> 
> And, I have to say that the WOWODC crowd is a great group to present to.
> 
> ;david
> 
> --
> David LeBer
> Codeferous Software
> 'co-def-er-ous' adj. Literally 'code-bearing'
> site: http://codeferous.com
> blog: http://davidleber.net
> profile:  http://www.linkedin.com/in/davidleber
> twitter:  http://twitter.com/rebeld
> --
> Toronto Area Cocoa / WebObjects developers group:
> http://tacow.org
> 
> 
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/programmingosx%40mac.com
> 
> This email sent to programming...@mac.com

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

This email sent to arch...@mail-archive.com


Re: WOWODC 2011: call for presenters

2011-03-01 Thread David LeBer

On 2011-03-01, at 11:21 AM, Pascal Robert wrote:

> Hi guys,
> 
> We have a couple of slots available for more WOWODC 2011 presentations, so if 
> you would like to present contact me. Remote presentations is also a 
> possibility, and if you want to prepare a presentation but not deliver it, 
> that's another option too.
> 
> Check the FAQ if you want to present:
> 
>  http://wocommunity.org/wowodc11/presenters-faq.html
> 
> See you in July!

Let me just chime in to say that giving a presentation to your peers is an 
amazing thing:

- It expands your understanding of the topic (even if you think you have it 
mastered).
- It's a great way to go deep on a *new* topic (need a concrete deadline, 
this'll give it to you).
- It expands your exposure in the community.
- It gives you a great addition to your resume
- It teaches valuable life and career skills.
- I will not lie and say it is not a lot of work, but it is amazingly rewarding.

And, I have to say that the WOWODC crowd is a great group to present to.

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site:   http://codeferous.com
blog:   http://davidleber.net
profile:http://www.linkedin.com/in/davidleber
twitter:http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org




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

This email sent to arch...@mail-archive.com


WOWODC 2011: call for presenters

2011-03-01 Thread Pascal Robert
Hi guys,

We have a couple of slots available for more WOWODC 2011 presentations, so if 
you would like to present contact me. Remote presentations is also a 
possibility, and if you want to prepare a presentation but not deliver it, 
that's another option too.

Check the FAQ if you want to present:

  http://wocommunity.org/wowodc11/presenters-faq.html

See you in July!

--
Pascal Robert
prob...@macti.ca

AIM/iChat : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti
Twitter : pascal_robert

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

This email sent to arch...@mail-archive.com


Re: NSNotificationCenter

2011-03-01 Thread Frédéric JECKER
Thanks for the answers.
JMS seems a bit overhyped for my needs.
I think a second application that will process simple persistent thingies
generated by my webapp is my best option.

Regards

Fred

-Message d'origine-
De : Anjo Krank 
Date : Tue, 01 Mar 2011 13:32:09 +0100
À : WebObjects-Dev Mailing List List 
Objet : Re: NSNotificationCenter

>And it's not well suited to notify the user of anything. After all, it's
>a web app. The "user" is only there in one thread for one RR loop. You
>might want to check JMS for that (or write some simple persistent
>notification thingy yourself).
>
>Cheers, Anjo
>
>Am 01.03.2011 um 12:59 schrieb Mike Schrag:
>
>> It's performed on whatever thread you post the notification from.
>> 
>> Sent from my iPhone
>> 
>> On Mar 1, 2011, at 4:48 AM, Frédéric JECKER 
>>wrote:
>> 
>>> Hello,
>>> 
>>> Some customers asked us for adding some automatic per user
>>>notifications when some specific events happen within our application
>>>(each user should be able to specify its own criterias).
>>> I'm looking at NSNotification/NSNotificationCenter for this purpouse
>>>but I'm wondering if the notification dispatching and processing is
>>>performed on the main thread or on a separate one.
>>> 
>>> Thanks
>>> 
>>> Fred
>>> 
>>> ___
>>> Do not post admin requests to the list. They will be ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>>> Help/Unsubscribe/Update your Subscription:
>>> 
>>>http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.co
>>>m
>>> 
>>> This email sent to msch...@pobox.com
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net
>> 
>> This email sent to a...@krank.net
>
> ___
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>Help/Unsubscribe/Update your Subscription:
>http://lists.apple.com/mailman/options/webobjects-dev/f.jecker%40symaris.c
>om
>
>This email sent to f.jec...@symaris.com


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

This email sent to arch...@mail-archive.com


Re: Issue With the Eclipse

2011-03-01 Thread Paul Dunkler
Are you sure, that you've configured the WOLips plugin with the right links to 
the different framework folders? You normally should not manually add the 
needed framework jars to the project. WOLips should give you a menu where you 
can choose, which WebObjects-Framework you need for your development.

What types of errors are that? Maybe you can give some more information..



> Dear List,
> 
> I am facing a problem with eclipse, i developed an application with 
> Eclipse3.2 and now upgraded my eclipse to 3.6 with compatible WOLips, but it 
> is giving lot of errors, and i added all related libraries and jar files to 
> the project.
> 
> Thanks&Regards,
> *Pavan Jayam
> *
> 
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/paul.dunkler%40xyrality.com
> 
> This email sent to paul.dunk...@xyrality.com


--
Best regards

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

This email sent to arch...@mail-archive.com


Re: NSNotificationCenter

2011-03-01 Thread Anjo Krank
And it's not well suited to notify the user of anything. After all, it's a web 
app. The "user" is only there in one thread for one RR loop. You might want to 
check JMS for that (or write some simple persistent notification thingy 
yourself).

Cheers, Anjo

Am 01.03.2011 um 12:59 schrieb Mike Schrag:

> It's performed on whatever thread you post the notification from.
> 
> Sent from my iPhone
> 
> On Mar 1, 2011, at 4:48 AM, Frédéric JECKER  wrote:
> 
>> Hello,
>> 
>> Some customers asked us for adding some automatic per user notifications 
>> when some specific events happen within our application (each user should be 
>> able to specify its own criterias).
>> I'm looking at NSNotification/NSNotificationCenter for this purpouse but I'm 
>> wondering if the notification dispatching and processing is performed on the 
>> main thread or on a separate one.
>> 
>> Thanks
>> 
>> Fred
>> 
>> ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
>> 
>> This email sent to msch...@pobox.com
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/anjo%40krank.net
> 
> This email sent to a...@krank.net

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

This email sent to arch...@mail-archive.com


Re: NSNotificationCenter

2011-03-01 Thread Frédéric JECKER
Hi Christian and thanks for your answer.

I'm just worrying about performances as what is requested can rapidly grow
into a performance hog.
Basic example :  I wan't to trigger some actions when a particular object is
saved and if this object conforms to certain criterias.
If I use NSNotificationCenter, the hand will be returned to the user :
* As soon the notification sent to the NSNotificationCenter, because the
message dispatch and processing will be done on  a separate thread
* Once all the message processing work is done, because this will happen
within the request/response loop
Fred


De :  Christian TROTOBAS 
Date :  Tue, 1 Mar 2011 10:52:17 +0100
À :  Frédéric JECKER 
Objet :  Re: NSNotificationCenter

> Hello Fred
> 
> On 1 mars 2011, at 10:48, Frédéric JECKER wrote:
> 
>> Hello,
>> 
>> Some customers asked us for adding some automatic per user notifications when
>> some specific events happen within our application (each user should be able
>> to specify its own criterias).
>> I'm looking at NSNotification/NSNotificationCenter for this purpouse but I'm
>> wondering if the notification dispatching and processing is performed on the
>> main thread or on a separate one.
> 
> Why is it important for you ? As far as you register for notifications, it
> works, with the guarantee of FIFO, even among multiples threads.
> 
> If I remember correctly :D
> 
> 
> 
> 
>> 
>> Thanks
>> 
>> Fred
>> 
>>  ___
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/trotobas%40mac.com
>> 
>> This email sent to troto...@mac.com
> 


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

This email sent to arch...@mail-archive.com

Re: NSNotificationCenter

2011-03-01 Thread Mike Schrag
It's performed on whatever thread you post the notification from.

Sent from my iPhone

On Mar 1, 2011, at 4:48 AM, Frédéric JECKER  wrote:

> Hello,
> 
> Some customers asked us for adding some automatic per user notifications when 
> some specific events happen within our application (each user should be able 
> to specify its own criterias).
> I'm looking at NSNotification/NSNotificationCenter for this purpouse but I'm 
> wondering if the notification dispatching and processing is performed on the 
> main thread or on a separate one.
> 
> Thanks
> 
> Fred
> 
> ___
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40pobox.com
> 
> This email sent to msch...@pobox.com
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


NSNotificationCenter

2011-03-01 Thread Frédéric JECKER
Hello,

Some customers asked us for adding some automatic per user notifications
when some specific events happen within our application (each user should be
able to specify its own criterias).
I'm looking at NSNotification/NSNotificationCenter for this purpouse but I'm
wondering if the notification dispatching and processing is performed on the
main thread or on a separate one.

Thanks

Fred



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

This email sent to arch...@mail-archive.com