
Crud-Java-Web
Crud/Cida with Java Using the Apache Maven Dependency Manager
- Web java
- Maven
- JSP
- SQL
- JDBC
- Junit
- Materialize
How to use:
Windows, Linux and MacOS
First steps
Acquisition of IDE and SERVER
- Download Java 8.
- Download the IDE eclipse.
- Download Tomcat 8.5.
- Download SQL (you can download MySQL Workbench, or any other SQL service).
- Download the application repository.
Configuration and installation
- Java
- Installation:
- Install the application normally
- Settings:
- Eclipse
- Installation:
- Install the application normally
- Settings:
- With the started eclipse, go to:
- "File"
- "Open Projects from File System"
- Select the directory you downloaded the application repository and click "Finish".
- Right click on the project folder
- Go to "Servers" (is at the bottom of the program, if you have not found, look for it in "Quick Access")
- Click to add a new server
- Select "Tomcat V8.5 Server" and click Next
- Select the folder where you downloaded "Tomcat 8.5"
- Select JRE as: JRE_1.8.0_XXX and click "Finish"
- SQL
- Installation:
- Install the application normally
- Settings:
- Set the SQL port as default (3306)
Use of application
With the eclipse running and the selected project, expect Maven to download all the project premises, then, check that SQL is running at port 3306
- Download and run the SQL script: crud_java.sql
- Right -click on the project name and click:
- "Run As"
- "Run on Server"
- Select "Tomcat V8.5 Server at localhost" and click "Finish"