520 likes | 1.18k Views
J2EE PET STORE & .NET PET SHOP. Yong-Han Lee & Charles Harsch. Introduction. Project Description. Recapitulation. J2EE Pet Store & .NET Pet Shop Business Model. Purpose of Pet Store & Pet Shop. Illustrate basic usage of J2EE technology and .NET technology
E N D
J2EE PET STORE &.NET PET SHOP Yong-Han Lee & Charles Harsch
Introduction Project Description
Recapitulation J2EE Pet Store & .NET Pet Shop Business Model
Purpose of Pet Store & Pet Shop • Illustrate basic usage of J2EE technology and .NET technology • Demonstrate current best practices in system design.
Comparison of J2EE PS and .NET PS • J2EE: platform-independent, JAVA-centric • .NET: Windows-centric and language-neutral • Design goals of J2EE Pet Store and .NET Pet Shop were the same • Almost the same performance
Model of the Sample Applications • Tier Overview • Tiered Architecture and used Technology • MVC Patterns • Design Patterns • Modular Design (for J2EE Pet Store)
Technologies used in different tiers and their functionality in J2EE Pet Store
Components in the Presentation TierComputational Viewpoint – Detail Level 0
Pet Shop Presentation Tier:Computational Viewpoint of Components – Level 1
Componentsin the Business Logic TierComputational Viewpoint – Detail Level 0
Pet Shop Business Logic Tier:Computational Viewpoint of Components – IT Level
EJB in .NET? • Enterprise Services • Business Entity
Components in the Data Access LayerComputational Viewpoint – Detail Level 0
Pet Shop Data Access Layer:Computational Viewpoint of Components – IT Level
Design Patterns Design Patterns used in J2EE Pet Store Design Patterns used in .NET Pet Shop
Modular Design of J2EE Pet Store Modular development decouples components from one another benefits: • ease maintenance • simplifies parallel development • provides opportunities for incorporating third-party components
Conclusion • No big differences • Performance: • .NET a bit better, because efficient caching. • .NET PS fewer lines of code, but not significant. • J2EE PS not optimized for performance • Architecture: • Both are multi-tiered application with same functionality • .NET uses additional tier, business entity to track and pass data • J2EE uses enterprise beans in EJB tier
Our Website http://icwww.epfl.ch/~lee/project