kiswanij / jframework-web-jpa-example

Example of building end-to-end Java web applications using our JK-Framework WebStack API, based based on Jakarta Server Faces, PrimeFaces, JPA, and Embedded Tomcat.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JFramework-WebStack with a JPA Example

Last updated: 2022-11-26

This repository contains a JFramework-WebStack that uses relational database engine as persisitnce layer, and uses JPA.

Prerequisites:

  • JDK 17+ Installed

Usage:

  1. Clone the repository
  2. Import as Java project into your favorite IDE (We use SpringToolSuite and Eclipse for Java EE developers)
  3. Run App class.

Project Main Contents

The repository contains the following main contents:

  1. Maven project with pom.xml

📄Note: If you are using Eclipse, be sure to refresh your project (select your project→ right click→ Maven→ Update Project)

  1. Config file which contains the database configurations.
  2. Java Model class
  3. Faces Controller
  4. Faces View
  5. Main java class

Screenshots

Thats it, now run your App class, in few seconds your browser will open and you should see something like this:

Screenshot

About

Example of building end-to-end Java web applications using our JK-Framework WebStack API, based based on Jakarta Server Faces, PrimeFaces, JPA, and Embedded Tomcat.


Languages

Language:HTML 75.6%Language:Java 18.5%Language:CSS 5.9%