[jboss-dev-forums] [Design of POJO Server] - Re: HDScanner scanPeriod
alesj
do-not-reply at jboss.com
Fri Apr 24 01:10:50 EDT 2009
"jaikiran" wrote :
| Assuming the HDScanner is set to run every 5 seconds, wouldn't this scanning for new files within the original deployment lead to time delays?
|
How else are you gonna know if something changed?
You could put something similar into every sub-system.
Which automatically leads to duplication.
This mechanism is generic, if adding a few sec to already asynch
mechanism is all we do, then I don't see a problem.
There is always gonna be a cost, if you wanna have the best of both worlds; temping & updating.
"jaikiran" wrote :
| From what i see, the AddVisitor looks for new files in the original deployments and these new files can be nested too. Which effectively means scanning the entire deployment every 5 seconds.
|
We don't scan entire deployment(s).
See original/tempAttributes property, which limits the scope of scanning.
Currently we only scan for possible changes in web resources.
(as far as I could gather the info where users put their .jsp, .xhtml, ...
as it's been a while when I did my last .jsp :-))
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4226433#4226433
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4226433
More information about the jboss-dev-forums
mailing list