flex3 - Handle concurrent file download with flex/blazeDs/Spring -


i'm working on flex3/blazeds/spring/mysql project. in this, users needs download import logs. problem given singleton concept around spring, if 2 users ask download @ same time, servlet responsible export file creation may cross content between 2 asked files. i'm not familiar spring i've been reading around seems solution lies in saying servlet in "request" scope there new 1 created each download request instead of having singleton. have ever done before? every tutorials i've seen far explains how handle file download request never talks fact 2 users asking download may have issues...

thanks leads on how fix this.

each user receive own thread, , should not have problems unless using member variables (which bad practice anyway). if not, not see problem, if can post code.


Comments

Popular posts from this blog

SAP Web Service from .NET via WCF -

Optimized Line drawing in QT -

datetime - str to time in python -