Use Open Source Software Architecture J2EE Application

xiaoxiao2021-03-06  43

Architecting J2EE Application with Open Source Softwares with open source software architecture J2EE

The first principle A good J2EE application is first is a good Java application a good Java program is first a good object-oriented program.

What is a good J2EE app available (Robust) can be maintained, scalable (SCALABILITY) can be tested (Testability)

What is a good J2EE application (Migratability) can be multiplexed to support multiple clients (Multi-Client) simple (SIMPLCITY)

Heavy-weight vs. light-weight. Function is complete. The concept is complete. Support enriched. Simple and easy to use. High-pledge. Easy test

J2EE Application Typical Architecture Resource Layer (DAO) Data Source Data Service Layer (Service) Express CLIENT Aspects Object Object

Architecture strategy. Hierarchical. Each layer focuses on its own function, each layer can shield its own modification. Pojo. Avoid frame locking, easy to transplant and test. . AOP INFRASTRUCTURES. Use AOP to solve cross-cutting problems to avoid solving such problems through OO means.

Resource layer: O / R mapping entity bean Toplink Castor Hibernate

Select the standard concurrency and transaction of the ORM tool (support JTA) mapping capability (class level mapping, object-related mapping) package (storage mechanism, CRUD operation, database) legacy system and efficiency (cursor, non-object query, dynamic Inquire)

Business layer: Container EJB container Avalon Spring and PicoContainer

Business Floor: Infrastructure EJB Infrastructure AOP Solutions Differences: All-in-One vs. as-you-need up-front vs. on-demand

Business layer: infrastructure object system error handling security transaction control persistence log Remoting

AOP: Orthogonal Separation Concerns Some problems across multiple object systems, the solution is dispersed in multiple code segments, unable to abstract the object AOP to provide orthogonal modular ability OHA OHB OHC Aspect

Introduction to HESSIAN

Field: Thin Client VS. Rich Client Web Frame: Struts, Webwork, Velocity Rich Client: WebStart, Applet Folding: XMLHTTP

Basic principles Test the first POJO, get rid of the locking object-oriented strike

Thanks! Bear Tiiongjie@9cbs.net http://gigix.blogdriver.com

转载请注明原文地址:https://www.9cbs.com/read-67940.html

New Post(0)