kindly shares views regarding handling threading issues during Web application devlopment.
Following are the areas that developer should think?
1)Session Object handling. 2)Database handling. 3)Using non synchronized Java data structures like ArrayList VS Vector
Author and all-around good cowpoke
Joined: Mar 22, 2000
1)Session Object handling. ** Remember that although a given session is tied to a browser by the unique ID, the browser may make multiple requests "at the same time" so you can NOT rely on thread-safe handling of session objects. 2)Database handling. ** Use a DB connection pool, don't keep DB connections as session objects or instance objects. 3)Using non synchronized Java data structures like ArrayList VS Vector ** Depends entirely on the program architecture, no generalization possible. Bill