Re: How does WO enforce serial request processing per session?

2007-08-27 Thread Peter Vandoros




What if I access and use a WOSession
outside of the request-response loop? Do i have to ensure that i call
WOApplication.saveSessionForContext() when i am done using it?

Thanks

Peter

Chuck Hill wrote:

On Aug 27, 2007, at 12:51 AM, Peter Vandoros wrote:
  
  
  Hi List,


I was wondering how WebObjects enforces serial access to the WOSession
(ie. request processing).


Does the "wo" request handler enforce serial access? Does the"wa"
request handler enforce serial access? Does
Application.dispatchRequest() enforce serial access?


Also, if I was to access a WOSession outside of a request-response
loop, how can I ensure that the WOSession is not processing a request
at the same time? How can I ensure that only one Thread accesses the
WOSession at a time that comes from a "da" request? How do I initialise
the WOSession correctly if I need access to it when not coming from a
"wo" request the "wosid" is not sent along with a "wa" request?

  
  
See WOSessionStore and related methods in WOApplication.  See Practical
WebObjects pages 171 - 172,
  
  
  
  Is WOApplication.restoreSessionWithID() going
to do "the right thing" when ever I call it? ie. is it going to
initialize the WOSession correctly? will it ensure serial access to the
WOSession? etc...

  
  
Yes.
  
  
Chuck
  
  


-- 
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
--
IMPORTANT: This e-mail message and any attachments are confidential and
may be privileged. If received in error, please reply to this message
and destroy all copies and any attachments. You should check this
message and any attachments for viruses or defects. Our liability is
limited to resupplying any affected message or attachments. For more
information about Etech Group, please visit us at
http://www.etechgroup.com.au.


 ___
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 [EMAIL PROTECTED]

Re: setting default order of entity fetches

2007-08-27 Thread Lachlan Deck

On 24/08/2007, at 2:09 AM, Alan Ward wrote:


On Aug 23, 2007, at 6:41 AM, Lachlan Deck wrote:

Personally, I can't see the benefit of continually sorting a  
keyPath in memory via some ui option every time you access that  
array rather than once from the fetch where possible...


That depends on your particular situation.  If you ever work on a  
WebObjects app where you deploy thousands of instances then you might

change your opinion.


Yup. I imagine you're right.

At that point you'll find that you have copious amounts of spare  
CPU cycles on your application hosts and you'll be trying
to squeeze every possible performance gain from your DB queries.   
Sorting in the database is not a cheap as most people think.  Many  
times
it results in disk i/o that would not have happened where it not  
for the sort.


Right. Good point. I hadn't considered performance benefits from  
distributing this kind of thing amongst lots of instances vs the db  
penalty of sorting the results of the fetch. However, this particular  
app is utilising the shared ec quite a bit so I'd assumed round-trips  
to the db would hopefully be limited anyway. I don't envisage a time  
when we'd need ~1000 instances for the app, but we can dream ;-)


I suppose the question is: at what point does the benefit of sorting  
in the db vs the gui make better sense?


Also, you don't have to sort every time.  It's quite trivial to  
cache the sorted array and invalidate that cache when the relationship

changes (or is refaulted).


Sure. Are you referring to delegate methods and notifications or more  
specifically per component?


I've achieved this for now by simply subclassing EODatabaseContext's  
objectsForFetchSpecification [1] but do you/people think this be  
better via a delegate method of some kind?


Thanks.

[1] if the context is the shared ec and the sort orderings of the  
fetch spec is empty, cloning the fetchspec prior to calling super and  
adding the default ordering if one's defined. Seems to work well.


with regards,
--

Lachlan Deck

___
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 [EMAIL PROTECTED]


Re: How does WO enforce serial request processing per session?

2007-08-27 Thread Peter Vandoros




thanks Chuck

I'll try to test this to confirm.

thanks for your help

Regards

Peter

Chuck Hill wrote:

On Aug 27, 2007, at 12:51 AM, Peter Vandoros wrote:
  
  
  Hi List,


I was wondering how WebObjects enforces serial access to the WOSession
(ie. request processing).


Does the "wo" request handler enforce serial access? Does the"wa"
request handler enforce serial access? Does
Application.dispatchRequest() enforce serial access?


Also, if I was to access a WOSession outside of a request-response
loop, how can I ensure that the WOSession is not processing a request
at the same time? How can I ensure that only one Thread accesses the
WOSession at a time that comes from a "da" request? How do I initialise
the WOSession correctly if I need access to it when not coming from a
"wo" request the "wosid" is not sent along with a "wa" request?

  
  
See WOSessionStore and related methods in WOApplication.  See Practical
WebObjects pages 171 - 172,
  
  
  
  Is WOApplication.restoreSessionWithID() going
to do "the right thing" when ever I call it? ie. is it going to
initialize the WOSession correctly? will it ensure serial access to the
WOSession? etc...

  
  
Yes.
  
  
Chuck
  
  


-- 
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
--
IMPORTANT: This e-mail message and any attachments are confidential and
may be privileged. If received in error, please reply to this message
and destroy all copies and any attachments. You should check this
message and any attachments for viruses or defects. Our liability is
limited to resupplying any affected message or attachments. For more
information about Etech Group, please visit us at
http://www.etechgroup.com.au.


 ___
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 [EMAIL PROTECTED]

RE: Blank page after deploy on Ubuntu

2007-08-27 Thread Ren, Kevin
 
Hi, 

There is nothing in the page, no code after "View Code". No exception
throw. No R-R loop
I'm just wondering something wrong in my apache config, but don't know
what's wrong...

I did search in the archive list, somebody said might be something wrong
in the classpath, so that's why I post them in the email.
I could n't see anything wrong, and app is launched.

Help! maybe somebody in deployment list?


kevin



-Original Message-
From: Chuck Hill [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 28 August 2007 4:17 a.m.
To: Ren, Kevin
Cc: webobjects-dev@lists.apple.com
Subject: Re: Blank page after deploy on Ubuntu


On Aug 26, 2007, at 8:53 PM, Ren, Kevin wrote:

> Hi,
>
> I followed the "How_to" link, built WO-Apache adaptor for Ubuntu and 
> run wotaskd and JavaMonitor applications, Everything looks fine. I 
> could got my 1085 configuration page and get JavaMonitor page to 
> configure application.
>
> But after I deploy HelloWorld App, I got app running but when click 
> URL, only have blank page in my FireFox browser.
> Anyone has idea what's going wrong?
Your app is throwing an exception very early or very late in the R-R
loop.  Override dispatchRequest in Application and performAction in
DirectAction to catch and log Throwable.  That should show what is
failing.  You _will_ need to have the Output Path configured for the
application.


Chuck


>
> FOR wotaskd
>
> [EMAIL PROTECTED]:/opt/Apple/Library/WebObjects/
> JavaApplications/wotaskd.woa$ Reading UNIXClassPath.txt ...
> Launching wotaskd.woa ...
> java -DWORootDirectory="/opt/Apple"
> -DWOLocalRootDirectory="/opt/Apple/Local"
> -DWOUserDirectory="/opt/Apple/Library/WebObjects/JavaApplications/
> wotaskd.woa"
> -classpath " /opt/Apple/Library/WebObjects/JavaApplications/
> wotaskd.woa/Contents/Resources/Java/wotaskd.jar:
> /opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/
> Java/javaeocontrol.jar:
> /opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/
> javaxml.jar:
> /opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/
> Resources/Java/javamonitor.jar:
> /opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/
> Java/javafoundation.jar:
> /opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/
> Java/JavaWOExtensions.jar:
> /opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/
> Java/javawebobjects.jar:
> /home/xiaowen/Library/Java:
> /opt/Apple/Local/Library/Java:
> /opt/Apple/Library/Java:
> /Network/Library/Java:
> /opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
> /opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:
> /usr/local/tomcat/common/lib/jsp-api.jar:
> /usr/local/tomcat/common/lib/servlet-api.jar"Application
> [2007-08-26 19:42:06 NZST]  Multicast Response Disabled
> [2007-08-26 19:42:06 NZST]  Created UDP socket; listening 
> for requests...
> [2007-08-26 19:42:06 NZST]  The URL for webserver connect is:
> http://xiaowen-desktop/cgi-bin/WebObjects/wotaskd.woa/-1085
> The URL for direct connect is:
> http://xiaowen-desktop:1085/cgi-bin/WebObjects/wotaskd.woa
> [2007-08-26 19:42:06 NZST]  Waiting for requests...
>
>
> FOR JavaMonitor
>
> [EMAIL PROTECTED]:/opt/Apple/Library/WebObjects/
> JavaApplications/JavaMonitor.woa$ sudo ./JavaMonitor & [2] 19950 
> [EMAIL PROTECTED]:/opt/Apple/Library/WebObjects/
> JavaApplications/JavaMonitor.woa$ Reading UNIXClassPath.txt ...
> Launching JavaMonitor.woa ...
> java -DWORootDirectory="/opt/Apple"
> -DWOLocalRootDirectory="/opt/Apple/Local"
> -DWOUserDirectory="/opt/Apple/Library/WebObjects/JavaApplications/
> JavaMonitor.woa"
> -classpath "
> /opt/Apple/Library/WebObjects/JavaApplications/JavaMonitor.woa/
> Contents/Resources/Java/javamonitor.jar:
> /opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/
> Java/javaeocontrol.jar:
> /opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/
> javaxml.jar:
> /opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/
> Resources/Java/javamonitor.jar:
> /opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/
> Java/javafoundation.jar:
> /opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/
> Java/JavaWOExtensions.jar:
> /opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/
> Java/javawebobjects.jar:
> /home/xiaowen/Library/Java:
> /opt/Apple/Local/Library/Java:
> /opt/Apple/Library/Java:
> /Network/Library/Java:
> /opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
> /opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:
> /usr/local/tomcat/common/lib/jsp-api.jar:
> /usr/local/tomcat/common/lib/servlet-api.jar" Application
> [2007-08-26 19:47:07 NZST]  Creating LifebeatThread now with:  
> JavaMonitor 48632 xiaowen-desktop/127.0.1.1 1085 3
>
> [2007-08-26 19:47:07 NZST]  Your application is not running on a

> supported development platform. AutoLaunch will not work.
>
> Your application's URL is:
> http://xiaowen-desktop:48632/cgi-bin/WebObjects/JavaMonitor.woa
> [2007

Re: Monitor Forgetfulness on intel?

2007-08-27 Thread Art Isbell

On Aug 27, 2007, at 3:44 AM, Jeremy Matthews wrote:

hmmm...tried doing that and it still does not workshould I  
increase sleep to a higher number?

Or, perhaps I'm typing incorrectly...the first few lines of the file:

#!/bin/sh

sleep 5

export PATH
PATH=/usr/xpg4/bin:${PATH}:/bin:/usr/bin


	sleep is /bin/sleep, so to be safe, I'd put the sleep statement  
after setting PATH although I'd be surprised if PATH doesn't include / 
bin prior to resetting it.


	Others have reported that a 5 second delay is insufficient, and that  
the "correct" delay depends on server speed and other factors.  So  
some experimentation may be required.


Aloha,
Art

___
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 [EMAIL PROTECTED]


Re: How does WO enforce serial request processing per session?

2007-08-27 Thread Chuck Hill


On Aug 27, 2007, at 12:51 AM, Peter Vandoros wrote:


Hi List,

I was wondering how WebObjects enforces serial access to the  
WOSession (ie. request processing).


Does the "wo" request handler enforce serial access? Does the"wa"  
request handler enforce serial access? Does  
Application.dispatchRequest() enforce serial access?


Also, if I was to access a WOSession outside of a request-response  
loop, how can I ensure that the WOSession is not processing a  
request at the same time? How can I ensure that only one Thread  
accesses the WOSession at a time that comes from a "da" request?  
How do I initialise the WOSession correctly if I need access to it  
when not coming from a "wo" request the "wosid" is not sent along  
with a "wa" request?


See WOSessionStore and related methods in WOApplication.  See  
Practical WebObjects pages 171 - 172,



Is WOApplication.restoreSessionWithID() going to do "the right  
thing" when ever I call it? ie. is it going to initialize the  
WOSession correctly? will it ensure serial access to the WOSession?  
etc...


Yes.

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  (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 [EMAIL PROTECTED]


Re: Blank page after deploy on Ubuntu

2007-08-27 Thread Chuck Hill


On Aug 26, 2007, at 8:53 PM, Ren, Kevin wrote:


Hi,

I followed the "How_to" link, built WO-Apache adaptor for Ubuntu  
and run wotaskd and JavaMonitor applications,
Everything looks fine. I could got my 1085 configuration page and  
get JavaMonitor page to configure application.


But after I deploy HelloWorld App, I got app running but when click  
URL, only have blank page in my FireFox browser.

Anyone has idea what's going wrong?
Your app is throwing an exception very early or very late in the R-R  
loop.  Override dispatchRequest in Application and performAction in  
DirectAction to catch and log Throwable.  That should show what is  
failing.  You _will_ need to have the Output Path configured for the  
application.



Chuck




FOR wotaskd

[EMAIL PROTECTED]:/opt/Apple/Library/WebObjects/ 
JavaApplications/wotaskd.woa$ Reading UNIXClassPath.txt ...

Launching wotaskd.woa ...
java -DWORootDirectory="/opt/Apple"
-DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Library/WebObjects/JavaApplications/ 
wotaskd.woa"
-classpath " /opt/Apple/Library/WebObjects/JavaApplications/ 
wotaskd.woa/Contents/Resources/Java/wotaskd.jar:
/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/ 
Java/javaeocontrol.jar:
/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/ 
javaxml.jar:
/opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/ 
Resources/Java/javamonitor.jar:
/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/ 
Java/javafoundation.jar:
/opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/ 
Java/JavaWOExtensions.jar:
/opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/ 
Java/javawebobjects.jar:

/home/xiaowen/Library/Java:
/opt/Apple/Local/Library/Java:
/opt/Apple/Library/Java:
/Network/Library/Java:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:
/usr/local/tomcat/common/lib/jsp-api.jar:
/usr/local/tomcat/common/lib/servlet-api.jar"Application
[2007-08-26 19:42:06 NZST]  Multicast Response Disabled
[2007-08-26 19:42:06 NZST]  Created UDP socket; listening  
for requests...

[2007-08-26 19:42:06 NZST]  The URL for webserver connect is:
http://xiaowen-desktop/cgi-bin/WebObjects/wotaskd.woa/-1085
The URL for direct connect is:
http://xiaowen-desktop:1085/cgi-bin/WebObjects/wotaskd.woa
[2007-08-26 19:42:06 NZST]  Waiting for requests...


FOR JavaMonitor

[EMAIL PROTECTED]:/opt/Apple/Library/WebObjects/ 
JavaApplications/JavaMonitor.woa$ sudo ./JavaMonitor &

[2] 19950
[EMAIL PROTECTED]:/opt/Apple/Library/WebObjects/ 
JavaApplications/JavaMonitor.woa$ Reading UNIXClassPath.txt ...

Launching JavaMonitor.woa ...
java -DWORootDirectory="/opt/Apple"
-DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Library/WebObjects/JavaApplications/ 
JavaMonitor.woa"

-classpath "
/opt/Apple/Library/WebObjects/JavaApplications/JavaMonitor.woa/ 
Contents/Resources/Java/javamonitor.jar:
/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/ 
Java/javaeocontrol.jar:
/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/ 
javaxml.jar:
/opt/Apple/Library/PrivateFrameworks/JavaMonitor.framework/ 
Resources/Java/javamonitor.jar:
/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/ 
Java/javafoundation.jar:
/opt/Apple/Library/Frameworks/JavaWOExtensions.framework/Resources/ 
Java/JavaWOExtensions.jar:
/opt/Apple/Library/Frameworks/JavaWebObjects.framework/Resources/ 
Java/javawebobjects.jar:

/home/xiaowen/Library/Java:
/opt/Apple/Local/Library/Java:
/opt/Apple/Library/Java:
/Network/Library/Java:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/classes.jar:
/opt/Apple/Library/Frameworks/JavaVM.framework/Classes/ui.jar:
/usr/local/tomcat/common/lib/jsp-api.jar:
/usr/local/tomcat/common/lib/servlet-api.jar" Application
[2007-08-26 19:47:07 NZST]  Creating LifebeatThread now with:  
JavaMonitor 48632 xiaowen-desktop/127.0.1.1 1085 3


[2007-08-26 19:47:07 NZST]  Your application is not running  
on a supported development platform. AutoLaunch will not work.


Your application's URL is:
http://xiaowen-desktop:48632/cgi-bin/WebObjects/JavaMonitor.woa
[2007-08-26 19:47:07 NZST]  Waiting for requests...


FOR HelloWorld

[EMAIL PROTECTED]:/opt/Apple/Local/Library/WebObjects/ 
Applications/HelloWorld.woa$ Reading UNIXClassPath.txt ...

Launching HelloWorld.woa ...
java -DWORootDirectory="/opt/Apple"
-DWOLocalRootDirectory="/opt/Apple/Local"
-DWOUserDirectory="/opt/Apple/Local/Library/WebObjects/Applications/ 
HelloWorld.woa"

-classpath "
/opt/Apple/Local/Library/WebObjects/Applications/HelloWorld.woa/ 
Contents/Resources/Java/helloworld.jar:
/opt/Apple/Library/Frameworks/JavaFoundation.framework/Resources/ 
Java/javafoundation.jar:
/opt/Apple/Library/Frameworks/JavaXML.framework/Resources/Java/ 
javaxml.jar:
/opt/Apple/Library/Frameworks/JavaEOControl.framework/Resources/ 
Java/javaeocontrol.jar:
/opt/Apple/Li

Re: SSDD and ProjectWonder

2007-08-27 Thread Jonathan Meijer
I had the same issue and did just that.  Works well enough to count as
a solution.

Jonny

On 8/27/07, Travis Britt <[EMAIL PROTECTED]> wrote:
>
> On Aug 27, 2007, at 12:21 AM, Tarun Reddy wrote:
> > Simply switching Application back back to WOApplication (reverting
> > steps 3 and 4 below) restores the application to working status.
>
> Search for servlet and ERXApplication on the wonder-disc list.
>
> Basically, Application.main() isn't called when the WO app is run in
> a servlet container, which is a problem for ERXApplication. You might
> be able to get around this by subclassing WOServletAdaptor and
> overriding init() to call ERXApplication.setup(). That's as far as I
> got when I was dealing with this a few months ago. (We're no longer
> deploying in servlet containers and without the pressing need I
> haven't had time to look into it again.)
>
> tb
>
 ___
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 [EMAIL PROTECTED]


Re: SSDD and ProjectWonder

2007-08-27 Thread Travis Britt


On Aug 27, 2007, at 12:21 AM, Tarun Reddy wrote:
Simply switching Application back back to WOApplication (reverting  
steps 3 and 4 below) restores the application to working status.


Search for servlet and ERXApplication on the wonder-disc list.

Basically, Application.main() isn't called when the WO app is run in  
a servlet container, which is a problem for ERXApplication. You might  
be able to get around this by subclassing WOServletAdaptor and  
overriding init() to call ERXApplication.setup(). That's as far as I  
got when I was dealing with this a few months ago. (We're no longer  
deploying in servlet containers and without the pressing need I  
haven't had time to look into it again.)


tb

___
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 [EMAIL PROTECTED]


Re: Monitor Forgetfulness on intel?

2007-08-27 Thread Jeremy Matthews
hmmm...tried doing that and it still does not workshould I increase sleep 
to a higher number?
Or, perhaps I'm typing incorrectly...the first few lines of the file:

#!/bin/sh

sleep 5

export PATH
PATH=/usr/xpg4/bin:${PATH}:/bin:/usr/bin

.
 ___
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 [EMAIL PROTECTED]


How does WO enforce serial request processing per session?

2007-08-27 Thread Peter Vandoros

Hi List,

I was wondering how WebObjects enforces serial access to the WOSession 
(ie. request processing).


Does the "wo" request handler enforce serial access? Does the"wa" 
request handler enforce serial access? Does 
Application.dispatchRequest() enforce serial access?


Also, if I was to access a WOSession outside of a request-response loop, 
how can I ensure that the WOSession is not processing a request at the 
same time? How can I ensure that only one Thread accesses the WOSession 
at a time that comes from a "da" request? How do I initialise the 
WOSession correctly if I need access to it when not coming from a "wo" 
request the "wosid" is not sent along with a "wa" request?


Is WOApplication.restoreSessionWithID() going to do "the right thing" 
when ever I call it? ie. is it going to initialize the WOSession 
correctly? will it ensure serial access to the WOSession? etc...


Thanks
--
Peter Vandoros
Software Engineer
Etech Group Pty Ltd
Level 3/21 Victoria St
Melbourne VIC 3000
Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
--
IMPORTANT: This e-mail message and any attachments are confidential and 
may be privileged. If received in error, please reply to this message 
and destroy all copies and any attachments. You should check this 
message and any attachments for viruses or defects. Our liability is 
limited to resupplying any affected message or attachments. For more 
information about Etech Group, please visit us at 
http://www.etechgroup.com.au.

___
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 [EMAIL PROTECTED]