2014年1月7日星期二

Questions , questions about struts + spring configuration singleton , prototype

The action against the struts configuration of the spring , when spring bean is set in a single case , when set to the prototype.
------ Solution ---------------------------------------- ---- under normal circumstances action should
prototype because every action is necessary to request a new instance , if you set a single case so action can only handle one request a while , like Service, DAO examples of such single long enough, because all processing can share one instance

没有评论:

发表评论