Picking up .wo changes
Picking up .wo changes
- Subject: Picking up .wo changes
- From: Anders F Björklund <email@hidden>
- Date: Wed, 4 Jun 2003 14:25:12 +0200
Is there yet a way to reload changed .wo bundles (either .html or .wod
file)
without having to restart (all instances of) the entire WO application ?
I assume you *could* simply run the entire application in non-caching
mode
(WOCachingEnabled=false), but it sounds bad for application performance
and I've also heard that it's not thread-safe... (for "concurrent
requests")
So that seems mostly to be for debugging / developing new stuff locally
?
I'm wondering if there some way of clearing this component cache,
either application-wide or just for a single component class ?
(So that it would re-load the new .html and .wod definitions from disk)
Then I could set up a DirectAction to call this function when needed...
Do I have to use my own custom WOComponent subclass (overriding the
template() method)
for this to work next time? Or is there some other neater way of
accomplishing this ?
I just have a simple layout change to a component in an already
deployed application...
(I suppose I'm spoiled by the rapid development and deployment with CGI
and PHP?)
--anders
http://homepage.mac.com/anders_f_bjorklund/
PS. From the WO 4.5/5.0/5.1 ReleaseNotes: (nothing found for WO 5.2?)
Reference 2304924
Problem WebObjects is not thread safe with component caching
disabled.
Description WebObjects isn't thread safe when AllowsConcurrentHandling
is
set to YES and CachingEnabled is set to NO.
Workaround When deploying WebObjects applications, be sure to set
-WOCachingEnabled YES.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.