I had to do something very similar in WebForms/ASP.Net environment (basically, prefetching data into NHib cache). Still not something that I would advocate in the web app itself (just recycling issues are enough of a problem), but putting it in a queue and handling it from a service (windows one).
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > hammett > Sent: Friday, September 15, 2006 2:48 AM > To: [email protected] > Subject: Re: [Castle-users] Importing Data via XML > > That's why I had to code a small async process to handle long process > in web projects: > > http://hammett.castleproject.org/?p=31 > > On 9/14/06, Andre John Cruz <[EMAIL PROTECTED]> wrote: > > hi, > > > > are you sure you want to do such a massive operation in a web page? > > > > i suggest you do this in the background...a service perhaps? or even > a > > scheduled task that runs periodically will do. the web page will only > > trigger the service and/or tell it where to look for the XML and > where > > to dump the data. web page accesses should complete quickly...they > are > > no place for long-running operations such as this one. > > -- > Cheers, > hammett > http://hammett.castleproject.org/ > > ----------------------------------------------------------------------- > -- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as- > us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > CastleProject-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/castleproject-users ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
