Java based CRUD demo application development with the combination of JSF2 framework ,Mysql database using Netbean IDE. Beginners can understand initial configuration steps in JSF2 application development.
Steps Followed:
* Install MySql Server with proper configuration and create some table with set of records or restore
from your backup ,If you have anything.
* Download mySql Connector Drivers from official site.
* Install Netbean IDE with Server either Tomcat or Glassfish
* Create New Web Application and select the server and Framework (JSF2 used for this demo with Primefaces ).
* Select the JPA framework to create a datasource connection and it will generate the the DAO and service classes based on Facade Design pattern.
* Create JSF managed beans and Xhtml pages from the Pojo's (It's an automated process when you follow the video).
* This video will help to understand the basic connection between frontend DAO's and business logic.
* you Can write your custmized business logic and can use the DAO's to perform actions based on your need.
This is a very simple to demo to understand the JSF2 and JPA framework integration.
Keep it up!
ReplyDelete