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

android - Spacing between the stars of a rating bar? -

c# - How to execute a particular part of code asynchronously in a class -

c# - Asterisk click to call -