| Object-oriented technology and component technology are hotspots of current computer development. As an open and standard based platform for developing and running applications, the J2EE framework synthesizes multiple technologies such as object oriented technology, software architecture, component-based development, distributed-object technology. It efficiently improves the quality of the server–side software. As the kernel of J2EE platform, EJB is a multiple tier and distributed architecture on server side. Developers in application fields are able to design and implement business logic without taking the system-level service into account.EJB component-based technology simplifies application development. But for it is complicated so it is a challenge for developers to build a efficient, secure and reliable architecture. The supreme difficulty for developers is to choose a proper framework to meet the demands of capability, maintenance and migration.Design pattern is used in many EJB projects with good framework. Design pattern is a summary of successful experiences on developing object-oriented software. It is a re-usable solution to a certain type of repeated problems. In developing software, applying design patterns correctly and properly means to take advantage of the past successful design architecture. Good design pattern/framework makes system easy to modify and maintain. So it is important to apply design pattern do design stable, reliable, extended, canonical system framework.For it's glancing architecture, problems will occurred such as efficiency, access speed, extendibility and maintenance. So through the deep study of design pattern and EJB component-based technology in the paper, it poses a kind of EJB hierarchy-framework with proper design patterns. Later it gives the practice in electronic commercial system and implemented a online book store system. |