Skip to content

This project is designed to maintain a proper layered architecture for a web application using Jakarta EE, MySQL, and AJAX. The goal is to ensure a clean separation of concerns, enhancing maintainability, scalability, and testability.

License

Notifications You must be signed in to change notification settings

sasmithx/JavaEE-POS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logo

JavaEE POS System

Introduction

This project is designed to maintain a proper layered architecture for a web application using Jakarta EE, MySQL, and AJAX. The goal is to ensure a clean separation of concerns, enhancing maintainability, scalability, and testability.

Tech Stack

  • Backend Framework: Jakarta EE

  • Database: MySQL

  • Client-side Communication: AJAX

  • Database Configuration: JNDI

  • Logging: slf4j,logback

Architecture Overview

The application follows a layered architecture comprising the following layers:

1. Presentation Layer: Manages the user interface and client-side interactions.

2. Business Logic Layer: Contains the core functionality and business rules.

3. Data Access Layer: Handles direct interactions with the database.

Setup and Configuration

Prerequisites

  • JDK 21
  • Jakarta EE compatible application server (e.g., Tomcat,WildFly, GlassFish)
  • MySQL server
  • Maven

Clone the repository:

  git clone https://github.com/sasmithx/JavaEE-POS.git

Database Configuration

1.Create a MySQL database.

2.Configure JNDI for database connectivity:

  • Define a JNDI resource in your application server's configuration.

  • Example configuration for Tomcat:

Logging

  • DEBUG: Fine-grained information for debugging.
  • INFO: General information about application progress.
  • WARN: Potentially harmful situations.
  • ERROR: Error events that might still allow the application to continue running.

API Documentation

To view this project API Documentation

  https://documenter.getpostman.com/view/35385442/2sA3s1nX8W

Refer to the Postman API Documentation for detailed API endpoints and usage instructions.

License

This project is licensed under the MIT License - see the MIT License file for details.


© 2024 Sasmith Manawadu

About

This project is designed to maintain a proper layered architecture for a web application using Jakarta EE, MySQL, and AJAX. The goal is to ensure a clean separation of concerns, enhancing maintainability, scalability, and testability.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published