Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astitou77/lastnameproject
JSP - DevOps Practical demos
https://github.com/astitou77/lastnameproject
apache jenkins-pipeline jsp ldap-authentication solr-search ssl tls tomcat
Last synced: about 1 month ago
JSON representation
JSP - DevOps Practical demos
- Host: GitHub
- URL: https://github.com/astitou77/lastnameproject
- Owner: astitou77
- Created: 2023-05-03T17:07:53.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-28T18:04:58.000Z (6 months ago)
- Last Synced: 2024-10-13T08:01:24.068Z (about 1 month ago)
- Topics: apache, jenkins-pipeline, jsp, ldap-authentication, solr-search, ssl, tls, tomcat
- Language: Java
- Homepage:
- Size: 8.49 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
JSP (Java Servlet Pages) Demo
* HTTP requests: GET (Search) & POST (Save)
* SMTP requests: POST Emails> sudo apt install git
> cd ~/Desktop
> git clone https://github.com/astitou77/LastNameProject
Install MySQL, add DB with appropriate credentials
> sudo apt install mysql-server> mysql> mysql -u root -p
> mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'l84w0rk'
> mysql> CREATE DATABASE helloDB;
> mysql> CREATE TABLE employees (first_name VARCHAR(255), last_name VARCHAR(255))
> mysql> EXIT
Download Eclipe IDE for 'Web'
https://www.eclipse.org/downloads/packages/Open 'HelloWorld' Project in Eclipse IDE
> ./eclipseUpdate DBConnection.java with correct DB credentials
Ex.: "jdbc:mysql://localhost:3306/helloDB", "root", "l84w0rk"
In Eclipse IDE, run the Project 'as a Server' (Add Tomcat Server if prompted)
Try the app in a Browser !
http://localhost:8080/HelloWorld
1. Add Employees
2. Search Employees
3. Email EmployeesTODOs:
* SSL/TLS: HTTP(S) encryption (Next Week)
* Solr Search: GET requests (Next Week)
* LDAP Authentications (***Soon)
* Ansible *.yml Playbook to automate all steps above (***Soon)
* Jenkins CI/CD pipeline (***Soon)Enjoy !