文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Rod Johnson

Rod Johnson

时间:2010-10-17  来源:vcycyv

digression

thanks to Ron Jeffries for this pithy summary

Then your design will deteriorate.

=======================================

if (myStringVariable.equals(MY_STRING_CONSTANT)) if (MY_STRING_CONSTANT.equals(myStringVariable))

However, the second form is more robust. What if myStringVariable is null? The second condition will evaluate to false, without error, while the first will throw a NullPointerException.

 

If possible, design applications to use a stateless service layer. Hold state in the web tier, rather than in the business logic tier, if possible. “In contrast, the handling of data set in a Servlet API HttpSession is typically more robust. WebLogic and other products offer the option to back HttpSession state persistence with a database, rather than merely offering in-memory replication”

 

 

https://equinox.dev.java.net/

http://www.aestheticsoftware.com/architecture/2009-spring-mvc-hiber/Spring-MVC-Hiberanate.html

http://www.kimchy.org/hibernate_vs_spring_hibernate_template/

相关阅读 更多 +
排行榜 更多 +
PvZ戴夫的时空冒险重置

PvZ戴夫的时空冒险重置

策略塔防 下载
PVZTV雪版阳光加50

PVZTV雪版阳光加50

策略塔防 下载
双刃战士雪姐

双刃战士雪姐

冒险解谜 下载