All Downloads are FREE. Search and download functionalities are using the official Maven repository.

thness-weblib.4.5.2.source-code.overview.html Maven / Gradle / Ivy

There is a newer version: 4.9.0
Show newest version



    Smoothness Overview
    


A Java EE 8 web application template and JSP tag library based on the JQuery UI Smoothness theme.

A Smoothness web application is organized using the JSP Model 2 Model-View-Controller (MVC) architecture. With this approach the model is a Java Bean, a Java object that has get/set methods such that Expression Language can be used to reference the model in the view. Most model classes used are a special type of Java Bean, a JPA Entity, which allows easy persistence into a database. The view is implemented with JSP and JSP tag files. The controller is implemented with Java Servlets and Filters. The Java code is further organized by three packages: persistence, business, and presentation. The persistence package defines models, and leverages Hibernate / JPA to persist models into a database. The business package houses any business rules or logic and retrieves models from the persistence layer and provides them to the presentation layer. The presentation layer houses the Servlets and Filters which calls on the business layer to retrieve and persist models and provides them to JSP views. This isolation by layer helps with separation of concerns and ensures only the model is shared across layers and each layer only can call into the one below it (example: there are no SQL queries directly in JSP, per general best practice for large complex apps).




© 2015 - 2025 Weber Informatics LLC | Privacy Policy