摘要
分析了EJB作为企业级组件在今天不断有新技术产生的情况下暴露的种种缺点,并提出了替代EJB的一种轻量级解决方案:Spring结合其他开源框架Struts和Hibernate来搭建Web应用系统。介绍了Spring的核心技术控制反转(IoC)和面向切面编程(AOP),最后结合一个销售游戏点卡的B2C电子商务系统介绍了如何实施该轻量级解决方案。
Analyses multitudinous disadvantages of EJB as an enterprise compoment in the situation of incessant producing of the new technology nowadays. And brings forward the lightweight solution as a substitute of EJB that it integrates with Spring, Struts and Hibernate making the Web application. The emphasis is about the core technology of Spring IoC( Inversion of Control) and AOP(Aspect Oriented Programming). At last, introduce how to implement this lightweight solution via combination with the B2C e - business system that sells game card.
出处
《计算机技术与发展》
2007年第1期189-192,共4页
Computer Technology and Development
基金
北京市教委面上科技发展项目(KM200611417001)