A Java Enterprise Edition (Jakarta EE) web application developed as part of a university semester assessment. The application provides an administrative interface for managing and querying field agent records stored in a relational database using Enterprise Java technologies.
The project demonstrates enterprise web application development using Servlets, JSP, Enterprise JavaBeans (EJB), Java Persistence API (JPA), and GlassFish Server.
- Register new field agents
- Display all registered agents
- Search agents by gender
- Display married agents
- Find the oldest registered agent
- Search agents within a specified age range
- Input validation and exception handling
- Database persistence using JPA
TextSpectaclesAdminWebApp/
├── src/
│ ├── java/
│ │ ├── entity/ # JPA entities
│ │ ├── bl/ # Enterprise JavaBeans (Business Logic)
│ │ └── web/ # Servlets
│ ├── conf/
│ │ └── persistence.xml
├── web/
│ ├── WEB-INF/
│ ├── *.jsp # JSP pages
│ ├── *.html # HTML pages
│ └── glassfish-web.xml
├── build.xml
└── README.md
| Technology | Purpose |
|---|---|
| Java | Core programming language |
| Jakarta EE / Java EE | Enterprise application framework |
| Servlets | Request handling and controller layer |
| JSP | Dynamic web pages |
| Enterprise JavaBeans (EJB) | Business logic layer |
| Java Persistence API (JPA) | Database persistence |
| GlassFish Server | Application server |
| Apache Derby / Java DB | Relational database |
| HTML & CSS | User interface |
The application follows a layered enterprise architecture consisting of:
- Presentation Layer (HTML & JSP)
- Controller Layer (Servlets)
- Business Logic Layer (EJB)
- Persistence Layer (JPA)
- Relational Database
- Add Field Agent
- View All Agents
- Display Married Agents
- Search by Gender
- Find Oldest Agent
- Display Agents Within an Age Range
- JDK 17 or later
- NetBeans IDE
- GlassFish Server
- Apache Derby (Java DB)
git clone https://github.com/yourusername/TextSpectaclesAdminWebApp.git- Open the project in NetBeans.
- Configure the GlassFish Server.
- Ensure the Derby database is running.
- Build and deploy the project.
- Access the application through your browser.
This project demonstrates practical experience with:
- Enterprise Java development
- MVC architecture
- Java Servlets and JSP
- Enterprise JavaBeans (EJB)
- Java Persistence API (JPA)
- Database integration
- Exception handling
- Layered software architecture
Phemelo Kojane
GitHub: https://github.com/kojanephemelo