e-Commerce Systems
Zainab KHALLOUF, Ph.D.
Lecture 2
e-Commerce Systems
Implementing Java EE 7 Distributed Multi-Tiered E-Commerce Application
Fall 2016
References
Books:
The Java EE 7 Tutorial.
http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf
Courses sites
Mutli Tier Applications with Java EE, Berne University of Applied Sciences Engineering
and Information Technology, lecture notes by Prof. Dr. Eric Dubuis.
https://prof.hti.bfh.ch/
Sites:
http://netbeans.org/
Acknowledgments:
Pr. Dr. Didier Donzes.
http://membres-liglab.imag.fr/donsez/
Outline
Overview of Java EE Distributed Multitiered Applications.
Java EE Applications Components.
Java EE Servers.
Overview of MVC (Model View Controller) design pattern:
One of the Java EE Design Patterns.
E-Commerce Systems 3
Overview of Java EE Distributed Multitiered
Applications
The Java EE platform provides developers with a powerful
set of APIs to program and deploy distributed multitiered
applications for enterprise.
Application logic is divided into components according to
function, and these components are installed on various
machines, depending on the tier in the multitiered Java EE
environment to which the application component belongs.
A Java EE component is a self-contained functional
software unit that is assembled into a Java EE application
and that communicates with other components.
The Java EE 7 Tutorial.
http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf
E-Commerce Systems 4
Overview of Java EE Distributed Multitiered
Applications (cont.)
The Java EE 7 Tutorial.
http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf
E-Commerce Systems 5
Overview of Java EE Distributed Multitiered
Applications (cont.)
Java EE multitiered applications are generally considered
to be three-tiered applications because they are distributed
over three locations:
Client machines.
The Java EE server machine.
The database or legacy machines.
E-Commerce Systems 6
Java EE Applications Components
Java EE applications are made up of the following
components:
Client-tier components run on the client machine (e.g.
Dynamic web pages generated by web components running
in the web tier, application clients and applets...).
The Java EE 7 Tutorial.
http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf
E-Commerce Systems 7
Java EE Applications Components (cont.)
Web-tier components run on the Java EE server and handle
the interaction between clients and the business tier.
The following Java EE technologies are used in the web tier
in Java EE applications: Java Servlet, JavaServer Faces,
JavaServer Pages (JSP), JavaBeans Components
Its primary tasks are the following:
Dynamically generate content in various formats for the
client.
Collect input from users of the client interface and return
appropriate results from the components in the business
tier.
Control the flow of screens or pages on the client.
Maintain the state of data for a user’s session.
Perform some basic logic and hold some data temporarily
in JavaBeans components.
The Java EE 7 Tutorial.
http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf
E-Commerce Systems 8
Java EE Applications Components (cont.)
Business-tier components run on the Java EE server and
provide the business logic (i.e. the code that provides core
functionality) for an application.
The following Java EE technologies are used in the business
tier in Java EE applications: Enterprise JavaBeans
(enterprise bean) components, JAX-RS RESTful web
services, JAX-WS web service endpoints, Java Persistence
API entities.
Enterprise information system (EIS)-tier software runs on
the EIS server (e.g. Database and Legacy Systems).
The Java EE 7 Tutorial.
http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf
E-Commerce Systems 9
Java EE Distributed Multitiered Application: JSF,
EJB, JPA
In this course I’ll focus on this architecture:
E-Commerce Systems 10
Java EE Distributed Multitiered Application: Example
http:
//netbeans.org/kb/docs/javaee/ecommerce
E-Commerce Systems 11
Java EE Distributed Multitiered Application: Example
(cont.)
E-Commerce Systems 12
Java EE Distributed Multitiered Application: Example
(cont.)
E-Commerce Systems 13
Advantages of Multitiers
Tiers separate functionality: Presentation logic, business
logic, and data schema.
Easier upgrade: Since one tier can be changed without
changing the rest.
More extensible: New functionalities can be added more
easily.
E-Commerce Systems 14
Java EE Servers
A Java EE server is a server application that implements
the Java EE platform APIs and provides the standard Java
EE services. Java EE servers are sometimes called
application servers.
Java EE server host several application component types.
The Java EE server provides services to these components
in the form of a containers.
E-Commerce Systems 15
Java EE Containers Types
http://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html
E-Commerce Systems 16
Java EE Application Servers
WildFly
Formerly known as JBoss AS, or simply JBoss, is an
application server authored by JBoss, now developed by
Red Hat.
GNU Lesser General Public License(LGPL).
E-Commerce Systems 18
JONAS AS
http://wiki.jonas.ow2.org/
LGPL
E-Commerce Systems 19
GlassFish AS
http://glassfish.dev.java.net/
Common Development and Distribution License/GPL
E-Commerce Systems 20
Other Java EE ASs
IBM Websphere (Proprietary).
Oracle BEA Weblogic (Proprietary).
E-Commerce Systems 21
Overview of MVC (Model View Controller) design pattern: one
of the Java EE Design Patterns.
What are Design Patterns?
A design pattern is a general reusable solution to a commonly
occurring problem in software design. A design pattern is not a
finished design that can be transformed directly into code. It is
a description or template for how to solve a problem that can
be used in many different situations. Object-oriented design
patterns typically show relationships and interactions between
classes or objects, without specifying the final application
classes or objects that are involved.
Book of Gang of Four (GoF)
E-Commerce Systems 23
Why studying patterns ?
Develop better products.
Learn from others experience.
Don’t reinvent the wheel.
E-Commerce Systems 24
Why studying patterns ?
Develop better products.
Learn from others experience.
Don’t reinvent the wheel.
E-Commerce Systems 25
Why studying patterns ?
Develop better products.
Learn from others experience.
Don’t reinvent the wheel.
E-Commerce Systems 26
MVC (Model View Controller) Design Pattern
Web Model 1
Web Model 1
JSP page processes request and returns response to client
E-Commerce Systems 29
Web Model 1 Limitations
Uses much scriplet code in JSP.
Tends not to be modular.
Boundaries of responsibility are still unclear.
E-Commerce Systems 30
Web Model 1 Limitations
Uses much scriplet code in JSP.
Tends not to be modular.
Boundaries of responsibility are still unclear.
E-Commerce Systems 31
Web Model 1 Limitations
Uses much scriplet code in JSP.
Tends not to be modular.
Boundaries of responsibility are still unclear.
E-Commerce Systems 32
Web Model 1 Demonstration.
www.agiledeveloper.com/articles/JSPMVC.pdf
MVC (Model-View-Controller)
E-Commerce Systems 34
The Model
Provide access to business data and logic to manipulate
data.
Notifies views when it changes.
Provides the ability for the view to query the model about
its state.
Provides the ability for the controller to access application
functionality.
Model components can be implemented as JavaBeans,
Enterprise JavaBeans (EJBs) and a range of other options.
E-Commerce Systems 35
The Model
Provide access to business data and logic to manipulate
data.
Notifies views when it changes.
Provides the ability for the view to query the model about
its state.
Provides the ability for the controller to access application
functionality.
Model components can be implemented as JavaBeans,
Enterprise JavaBeans (EJBs) and a range of other options.
E-Commerce Systems 36
The Model
Provide access to business data and logic to manipulate
data.
Notifies views when it changes.
Provides the ability for the view to query the model about
its state.
Provides the ability for the controller to access application
functionality.
Model components can be implemented as JavaBeans,
Enterprise JavaBeans (EJBs) and a range of other options.
E-Commerce Systems 37
The Model
Provide access to business data and logic to manipulate
data.
Notifies views when it changes.
Provides the ability for the view to query the model about
its state.
Provides the ability for the controller to access application
functionality.
Model components can be implemented as JavaBeans,
Enterprise JavaBeans (EJBs) and a range of other options.
E-Commerce Systems 38
The Model
Provide access to business data and logic to manipulate
data.
Notifies views when it changes.
Provides the ability for the view to query the model about
its state.
Provides the ability for the controller to access application
functionality.
Model components can be implemented as JavaBeans,
Enterprise JavaBeans (EJBs) and a range of other options.
E-Commerce Systems 39
View Components
Renders the contents of a model.
Typically simple JSPs or HTML pages.
Open to future presentation technologies.
E-Commerce Systems 40
View Components
Renders the contents of a model.
Typically simple JSPs or HTML pages.
Open to future presentation technologies.
E-Commerce Systems 41
View Components
Renders the contents of a model.
Typically simple JSPs or HTML pages.
Open to future presentation technologies.
E-Commerce Systems 42
Controller Components
Dispatches user requests.
Selects views for presentation.
interprets user inputs and maps them into actions to be
performed by the model.
E-Commerce Systems 43
Controller Components
Dispatches user requests.
Selects views for presentation.
interprets user inputs and maps them into actions to be
performed by the model.
E-Commerce Systems 44
Controller Components
Dispatches user requests.
Selects views for presentation.
interprets user inputs and maps them into actions to be
performed by the model.
E-Commerce Systems 45
MVC Demonstration.
www.agiledeveloper.com/articles/JSPMVC.pdf
MVC Frameworks
Struts.
Spring MVC http://www.springsource.org/.
Java Server Pages (JSF).
E-Commerce Systems 47
Questions?

More Related Content

PPTX
Chapter2 j2ee
PPTX
Java ee introduction
PPT
Java J2EE
PPT
Introduction to java ee
PPT
PPT
J2EE and Servlet
PPTX
J2ee seminar
Chapter2 j2ee
Java ee introduction
Java J2EE
Introduction to java ee
J2EE and Servlet
J2ee seminar

What's hot (19)

PDF
Introduction to Java EE (J2EE)
PDF
Building Enterprise Application with J2EE
DOCX
J2EE Architecture Explained
PDF
Jsp tutorial
PDF
J2EE Introduction
DOCX
J2EE and layered architecture
PPTX
J2ee architecture
DOC
Next-Generation Enterprise Application Development with SpringSource dm Serve...
PPTX
PPT
Greate Introduction to Oracle Fusion Middleware and ADF
PPTX
J2 ee architecture
PPTX
Spring
PDF
A dynamic application using jboss
PPTX
Java EE EJB Applications
PDF
Lecture 8 Enterprise Java Beans (EJB)
PPT
JEE Course - JEE Overview
PDF
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
DOCX
Bhagawanth_Resume
PPT
Introduction to java_ee
Introduction to Java EE (J2EE)
Building Enterprise Application with J2EE
J2EE Architecture Explained
Jsp tutorial
J2EE Introduction
J2EE and layered architecture
J2ee architecture
Next-Generation Enterprise Application Development with SpringSource dm Serve...
Greate Introduction to Oracle Fusion Middleware and ADF
J2 ee architecture
Spring
A dynamic application using jboss
Java EE EJB Applications
Lecture 8 Enterprise Java Beans (EJB)
JEE Course - JEE Overview
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Bhagawanth_Resume
Introduction to java_ee
Ad

Viewers also liked (11)

PPTX
140 FA 15 Courts
PDF
0423_導入ゼミ_両角勇祐「自宅」
PPTX
CPRT Training for Denton Regional Suicide Prevention Coalition
DOC
PDF
El gasto en ropa (Tribuna de Albacete)
PDF
testportfolio
PDF
Simulating Carbon Trading Advantages from the Municipal Solid Waste Managemen...
PDF
Documento 77 city group
PPTX
Lecture6
PDF
Guia 1 matlab
PDF
The Value Design Brings to Business (WebVisions Portland 2016)
140 FA 15 Courts
0423_導入ゼミ_両角勇祐「自宅」
CPRT Training for Denton Regional Suicide Prevention Coalition
El gasto en ropa (Tribuna de Albacete)
testportfolio
Simulating Carbon Trading Advantages from the Municipal Solid Waste Managemen...
Documento 77 city group
Lecture6
Guia 1 matlab
The Value Design Brings to Business (WebVisions Portland 2016)
Ad

Similar to Lec2 ecom fall16 (20)

PPTX
Mcv design patterns
PPT
Design patterns
PDF
enterprisejavaunit-1chapter-2-210914075956.pdf
PPTX
Enterprise java unit-1_chapter-2
PDF
Lec5 ecom fall16_modified7_november16
PPTX
Java EE 7 introduction
PPTX
Introduction to ejb and struts framework
PPT
PDF
Introduction to Java Enterprise Edition
PPTX
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
PDF
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems [Ja...
PPT
J2 ee architecture
PPTX
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
PDF
unit2ecommerceapplications-100913064550-phpapp02.pdf
PDF
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
PPTX
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
PPTX
Engineering the Java Web Application (MVC)
PPT
J2 ee archi
PPT
J2ee connector architecture
PPT
Unit 2 e commerce applications
Mcv design patterns
Design patterns
enterprisejavaunit-1chapter-2-210914075956.pdf
Enterprise java unit-1_chapter-2
Lec5 ecom fall16_modified7_november16
Java EE 7 introduction
Introduction to ejb and struts framework
Introduction to Java Enterprise Edition
J2EE Notes JDBC database Connectiviy and Programs related to JDBC
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems [Ja...
J2 ee architecture
Enterprise Java TYIT Sem 5 Unit 1 Chapter 1 and 2 PPT
unit2ecommerceapplications-100913064550-phpapp02.pdf
Java EE 6 Adoption in One of the World’s Largest Online Financial Systems
Enrterprise Java-Unit 1 (All chapters) for TYIT PPTx
Engineering the Java Web Application (MVC)
J2 ee archi
J2ee connector architecture
Unit 2 e commerce applications

Recently uploaded (20)

PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
Introduction to pro and eukaryotes and differences.pptx
PDF
My India Quiz Book_20210205121199924.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PPTX
20th Century Theater, Methods, History.pptx
PPTX
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PPTX
Virtual and Augmented Reality in Current Scenario
PPTX
Unit 4 Computer Architecture Multicore Processor.pptx
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
International_Financial_Reporting_Standa.pdf
PDF
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
PDF
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
PDF
Uderstanding digital marketing and marketing stratergie for engaging the digi...
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
advance database management system book.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
FORM 1 BIOLOGY MIND MAPS and their schemes
Computer Architecture Input Output Memory.pptx
Introduction to pro and eukaryotes and differences.pptx
My India Quiz Book_20210205121199924.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
20th Century Theater, Methods, History.pptx
Onco Emergencies - Spinal cord compression Superior vena cava syndrome Febr...
Environmental Education MCQ BD2EE - Share Source.pdf
Share_Module_2_Power_conflict_and_negotiation.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
Virtual and Augmented Reality in Current Scenario
Unit 4 Computer Architecture Multicore Processor.pptx
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
International_Financial_Reporting_Standa.pdf
medical_surgical_nursing_10th_edition_ignatavicius_TEST_BANK_pdf.pdf
1.3 FINAL REVISED K-10 PE and Health CG 2023 Grades 4-10 (1).pdf
Uderstanding digital marketing and marketing stratergie for engaging the digi...
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
advance database management system book.pdf
B.Sc. DS Unit 2 Software Engineering.pptx

Lec2 ecom fall16

  • 1. e-Commerce Systems Zainab KHALLOUF, Ph.D. Lecture 2 e-Commerce Systems Implementing Java EE 7 Distributed Multi-Tiered E-Commerce Application Fall 2016
  • 2. References Books: The Java EE 7 Tutorial. http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf Courses sites Mutli Tier Applications with Java EE, Berne University of Applied Sciences Engineering and Information Technology, lecture notes by Prof. Dr. Eric Dubuis. https://prof.hti.bfh.ch/ Sites: http://netbeans.org/ Acknowledgments: Pr. Dr. Didier Donzes. http://membres-liglab.imag.fr/donsez/
  • 3. Outline Overview of Java EE Distributed Multitiered Applications. Java EE Applications Components. Java EE Servers. Overview of MVC (Model View Controller) design pattern: One of the Java EE Design Patterns. E-Commerce Systems 3
  • 4. Overview of Java EE Distributed Multitiered Applications The Java EE platform provides developers with a powerful set of APIs to program and deploy distributed multitiered applications for enterprise. Application logic is divided into components according to function, and these components are installed on various machines, depending on the tier in the multitiered Java EE environment to which the application component belongs. A Java EE component is a self-contained functional software unit that is assembled into a Java EE application and that communicates with other components. The Java EE 7 Tutorial. http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf E-Commerce Systems 4
  • 5. Overview of Java EE Distributed Multitiered Applications (cont.) The Java EE 7 Tutorial. http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf E-Commerce Systems 5
  • 6. Overview of Java EE Distributed Multitiered Applications (cont.) Java EE multitiered applications are generally considered to be three-tiered applications because they are distributed over three locations: Client machines. The Java EE server machine. The database or legacy machines. E-Commerce Systems 6
  • 7. Java EE Applications Components Java EE applications are made up of the following components: Client-tier components run on the client machine (e.g. Dynamic web pages generated by web components running in the web tier, application clients and applets...). The Java EE 7 Tutorial. http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf E-Commerce Systems 7
  • 8. Java EE Applications Components (cont.) Web-tier components run on the Java EE server and handle the interaction between clients and the business tier. The following Java EE technologies are used in the web tier in Java EE applications: Java Servlet, JavaServer Faces, JavaServer Pages (JSP), JavaBeans Components Its primary tasks are the following: Dynamically generate content in various formats for the client. Collect input from users of the client interface and return appropriate results from the components in the business tier. Control the flow of screens or pages on the client. Maintain the state of data for a user’s session. Perform some basic logic and hold some data temporarily in JavaBeans components. The Java EE 7 Tutorial. http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf E-Commerce Systems 8
  • 9. Java EE Applications Components (cont.) Business-tier components run on the Java EE server and provide the business logic (i.e. the code that provides core functionality) for an application. The following Java EE technologies are used in the business tier in Java EE applications: Enterprise JavaBeans (enterprise bean) components, JAX-RS RESTful web services, JAX-WS web service endpoints, Java Persistence API entities. Enterprise information system (EIS)-tier software runs on the EIS server (e.g. Database and Legacy Systems). The Java EE 7 Tutorial. http://docs.oracle.com/javaee/7/tutorial/doc/javaeetutorial7.pdf E-Commerce Systems 9
  • 10. Java EE Distributed Multitiered Application: JSF, EJB, JPA In this course I’ll focus on this architecture: E-Commerce Systems 10
  • 11. Java EE Distributed Multitiered Application: Example http: //netbeans.org/kb/docs/javaee/ecommerce E-Commerce Systems 11
  • 12. Java EE Distributed Multitiered Application: Example (cont.) E-Commerce Systems 12
  • 13. Java EE Distributed Multitiered Application: Example (cont.) E-Commerce Systems 13
  • 14. Advantages of Multitiers Tiers separate functionality: Presentation logic, business logic, and data schema. Easier upgrade: Since one tier can be changed without changing the rest. More extensible: New functionalities can be added more easily. E-Commerce Systems 14
  • 15. Java EE Servers A Java EE server is a server application that implements the Java EE platform APIs and provides the standard Java EE services. Java EE servers are sometimes called application servers. Java EE server host several application component types. The Java EE server provides services to these components in the form of a containers. E-Commerce Systems 15
  • 16. Java EE Containers Types http://netbeans.org/kb/docs/javaee/ecommerce/entity-session.html E-Commerce Systems 16
  • 18. WildFly Formerly known as JBoss AS, or simply JBoss, is an application server authored by JBoss, now developed by Red Hat. GNU Lesser General Public License(LGPL). E-Commerce Systems 18
  • 20. GlassFish AS http://glassfish.dev.java.net/ Common Development and Distribution License/GPL E-Commerce Systems 20
  • 21. Other Java EE ASs IBM Websphere (Proprietary). Oracle BEA Weblogic (Proprietary). E-Commerce Systems 21
  • 22. Overview of MVC (Model View Controller) design pattern: one of the Java EE Design Patterns.
  • 23. What are Design Patterns? A design pattern is a general reusable solution to a commonly occurring problem in software design. A design pattern is not a finished design that can be transformed directly into code. It is a description or template for how to solve a problem that can be used in many different situations. Object-oriented design patterns typically show relationships and interactions between classes or objects, without specifying the final application classes or objects that are involved. Book of Gang of Four (GoF) E-Commerce Systems 23
  • 24. Why studying patterns ? Develop better products. Learn from others experience. Don’t reinvent the wheel. E-Commerce Systems 24
  • 25. Why studying patterns ? Develop better products. Learn from others experience. Don’t reinvent the wheel. E-Commerce Systems 25
  • 26. Why studying patterns ? Develop better products. Learn from others experience. Don’t reinvent the wheel. E-Commerce Systems 26
  • 27. MVC (Model View Controller) Design Pattern
  • 29. Web Model 1 JSP page processes request and returns response to client E-Commerce Systems 29
  • 30. Web Model 1 Limitations Uses much scriplet code in JSP. Tends not to be modular. Boundaries of responsibility are still unclear. E-Commerce Systems 30
  • 31. Web Model 1 Limitations Uses much scriplet code in JSP. Tends not to be modular. Boundaries of responsibility are still unclear. E-Commerce Systems 31
  • 32. Web Model 1 Limitations Uses much scriplet code in JSP. Tends not to be modular. Boundaries of responsibility are still unclear. E-Commerce Systems 32
  • 33. Web Model 1 Demonstration. www.agiledeveloper.com/articles/JSPMVC.pdf
  • 35. The Model Provide access to business data and logic to manipulate data. Notifies views when it changes. Provides the ability for the view to query the model about its state. Provides the ability for the controller to access application functionality. Model components can be implemented as JavaBeans, Enterprise JavaBeans (EJBs) and a range of other options. E-Commerce Systems 35
  • 36. The Model Provide access to business data and logic to manipulate data. Notifies views when it changes. Provides the ability for the view to query the model about its state. Provides the ability for the controller to access application functionality. Model components can be implemented as JavaBeans, Enterprise JavaBeans (EJBs) and a range of other options. E-Commerce Systems 36
  • 37. The Model Provide access to business data and logic to manipulate data. Notifies views when it changes. Provides the ability for the view to query the model about its state. Provides the ability for the controller to access application functionality. Model components can be implemented as JavaBeans, Enterprise JavaBeans (EJBs) and a range of other options. E-Commerce Systems 37
  • 38. The Model Provide access to business data and logic to manipulate data. Notifies views when it changes. Provides the ability for the view to query the model about its state. Provides the ability for the controller to access application functionality. Model components can be implemented as JavaBeans, Enterprise JavaBeans (EJBs) and a range of other options. E-Commerce Systems 38
  • 39. The Model Provide access to business data and logic to manipulate data. Notifies views when it changes. Provides the ability for the view to query the model about its state. Provides the ability for the controller to access application functionality. Model components can be implemented as JavaBeans, Enterprise JavaBeans (EJBs) and a range of other options. E-Commerce Systems 39
  • 40. View Components Renders the contents of a model. Typically simple JSPs or HTML pages. Open to future presentation technologies. E-Commerce Systems 40
  • 41. View Components Renders the contents of a model. Typically simple JSPs or HTML pages. Open to future presentation technologies. E-Commerce Systems 41
  • 42. View Components Renders the contents of a model. Typically simple JSPs or HTML pages. Open to future presentation technologies. E-Commerce Systems 42
  • 43. Controller Components Dispatches user requests. Selects views for presentation. interprets user inputs and maps them into actions to be performed by the model. E-Commerce Systems 43
  • 44. Controller Components Dispatches user requests. Selects views for presentation. interprets user inputs and maps them into actions to be performed by the model. E-Commerce Systems 44
  • 45. Controller Components Dispatches user requests. Selects views for presentation. interprets user inputs and maps them into actions to be performed by the model. E-Commerce Systems 45
  • 47. MVC Frameworks Struts. Spring MVC http://www.springsource.org/. Java Server Pages (JSF). E-Commerce Systems 47