J2EE PET STORE &.NET PET SHOP Yong-Han Lee & Charles Harsch.

  • Published on
    18-Dec-2015

  • View
    212

  • Download
    0

Transcript

<ul><li> Slide 1 </li> <li> J2EE PET STORE &amp;.NET PET SHOP Yong-Han Lee &amp; Charles Harsch </li> <li> Slide 2 </li> <li> Introduction Project Description </li> <li> Slide 3 </li> <li> Recapitulation J2EE Pet Store &amp;.NET Pet Shop Business Model </li> <li> Slide 4 </li> <li> Purpose of Pet Store &amp; Pet Shop Illustrate basic usage of J2EE technology and.NET technology Demonstrate current best practices in system design. </li> <li> Slide 5 </li> <li> 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 </li> <li> Slide 6 </li> <li> Business Model </li> <li> Slide 7 </li> <li> Technological Architecture Model </li> <li> Slide 8 </li> <li> Model of the Sample Applications Tier Overview Tiered Architecture and used Technology MVC Patterns Design Patterns Modular Design (for J2EE Pet Store) </li> <li> Slide 9 </li> <li> Tiered Architecture and used Technology </li> <li> Slide 10 </li> <li> Pet Shop multi-tier: Purpose of Tiers </li> <li> Slide 11 </li> <li> Pet Shop: High-Level Logical Architecture </li> <li> Slide 12 </li> <li> General structure of a J2EE multi-tiered application </li> <li> Slide 13 </li> <li> Technologies used in different tiers and their functionality in J2EE Pet Store </li> <li> Slide 14 </li> <li> Correspondance of Tiers </li> <li> Slide 15 </li> <li> Presentation Tier </li> <li> Slide 16 </li> <li> Components in the Presentation Tier Computational Viewpoint Detail Level 0 </li> <li> Slide 17 </li> <li> Pet Shop Presentation Tier: Computational Viewpoint of Components Level 1 </li> <li> Slide 18 </li> <li> Files of J2EE Pet Store Web Site Web tier </li> <li> Slide 19 </li> <li> Middle Tier </li> <li> Slide 20 </li> <li> Components in the Business Logic Tier Computational Viewpoint Detail Level 0 </li> <li> Slide 21 </li> <li> Pet Shop Business Logic Tier: Computational Viewpoint of Components IT Level </li> <li> Slide 22 </li> <li> Different enterprise beans in J2EE PS Web Site EJB tier </li> <li> Slide 23 </li> <li> Implementation of an EJB </li> <li> Slide 24 </li> <li> EJB in.NET? Enterprise Services Business Entity </li> <li> Slide 25 </li> <li> Data Access Layer </li> <li> Slide 26 </li> <li> Components in the Data Access Layer Computational Viewpoint Detail Level 0 </li> <li> Slide 27 </li> <li> Pet Shop Data Access Layer: Computational Viewpoint of Components IT Level </li> <li> Slide 28 </li> <li> MVC Pattern </li> <li> Slide 29 </li> <li> Model-View-Controller Pattern </li> <li> Slide 30 </li> <li> Model-View-Controller Pattern: Code behind </li> <li> Slide 31 </li> <li> J2EE: Model-View-Controller and corresponding Tiers </li> <li> Slide 32 </li> <li> Design Patterns Design Patterns used in J2EE Pet Store Design Patterns used in.NET Pet Shop </li> <li> Slide 33 </li> <li> Design Patterns used in J2EE Pet Store </li> <li> Slide 34 </li> <li> In which tiers the Design Patterns are best implemented </li> <li> Slide 35 </li> <li> Design Patterns and MVC </li> <li> Slide 36 </li> <li> .NET Design Patterns: Design Patterns used in.NET Pet Shop </li> <li> Slide 37 </li> <li> .NET Design Patterns: Design Patterns in Tiers </li> <li> Slide 38 </li> <li> Model-View-Controller Pattern : Model-Controller separation </li> <li> Slide 39 </li> <li> Model-View-Controller Pattern : MVC in Controller Pattern </li> <li> Slide 40 </li> <li> 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 </li> <li> Slide 41 </li> <li> J2EE Pet Store Modular Design </li> <li> Slide 42 </li> <li> Slide 43 </li> <li> Implementation of Control Module </li> <li> Slide 44 </li> <li> Implementation of Catalog Module </li> <li> Slide 45 </li> <li> Conclusion </li> <li> Slide 46 </li> <li> 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 </li> <li> Slide 47 </li> <li> Our Website http://icwww.epfl.ch/~lee/project </li> <li> Slide 48 </li> <li> Questions? </li> <li> Slide 49 </li> <li> Thank you for your attention </li> </ul>