Application structure

The A1 electronics e-commerce project uses a Model-View-Controller (MVCarchitectural pattern. As the details of Spring and the MVC architecture are not in the scope of this book, only the relevant parts are explained here. This MVC architecture reflects in the structure of the code as shown in the following diagram:

  • Model: The following packages are the Model part of MVC architecture:
    • com.a1electronics.ecommerce.dbo: All the entities from the database are mapped to Java objects along with their relationship
    • com.a1electronics.ecommerce.dao: A layer to access the objects in the dbo layer and has generic functions to ...

Get Learning AWS - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.