SlideShare a Scribd company logo
Spring Lab
leonguyen.com
Features
- Purpose: An open source Spring solution
- GUI: ZK + jQuery
- Technology: Spring + Hibernate + MongoDB + API
- Architechture: Thin Front-end, Fat Back-end
Modules
- Box:
1) Finance: JARS
2) Customer: SWO, Lean Startup, CRM
3) Internal Process: Intranet, Scrum-Agile, 5W-1H-2C-5M
4) Learning & Growth: HRM, 6 Hats, PERMA, Branding-
Advertising
Layout - Portal
Spring Core
JDK 7
Download & Install
- Go to: http://www.oracle.
com/technetwork/java/javase/downloads/jdk7-downloads-
1880260.html
Apache Tomcat 7
Download & Install
- Go to: http://tomcat.apache.org/download-70.cgi
Spring Framework 3
Download
- Go to http://www.springsource.org/spring-community-download
Spring Tool Suite
Download
- Go to: http://www.springsource.org/downloads/sts-ggts
Hello world MVC
New Spring Template Project
- Go to File > New > Spring Template Project
New Spring MVC Project
- Choose Spring MVC Project
Run It
- Go to Run As > Run on Server
DB
DB List
1) Jars (ja): Income (Inc), Nec, Ltss, Edu, Ffa, Play, Give
2) Customer (c), Contact, Deal, Contract (ct)
Swot (swot): Object (obj), S, W, O, T
3) Project (p), Task (ta)
Employee (e), Payroll (pa)
4) Hat (ha): Object (obj), Objective (ob), Intuitive (in), Negative
(ne), Positive (po), Creative (cre), Process (pro)
Table List
2) c: cId, cNo, cName, cDesc
u: uId, [cId-eId], uName, uPass, uEmail
ct: ctId, cId, ctNo, ctDate, ctDesc
3) p: pId, pTitle, pDesc
t: tId, pId, tTitle, tDesc
e: eId, eNo, eName, eDesc
Github
- Go to: https://github.com/leonguyen/springSolution
Eclipse Java EE
Download
- Go to: http://www.eclipse.org/downloads/
Maven
JDK and JAVA_HOME
- JAVA_HOME variable is added in Windows environment
variable, and point to the JDK folder.
Download & Extract
- Go to http://maven.apache.org/download.cgi
- Extract to <Source Path>maven
MAVEN_HOME
- MAVEN_HOME variable is added in Windows environment
variable, and point to the Maven folder.
Add PATH with MAVEN_HOME
- Update PATH variable in Windows environment with string '%
MAVEN_HOME%bin'
Verification
- In command prompt, type “mvn –version“
Maven repository
- Edit 'settings.xml' in '<Source Maven>conf'
Generate project structure with Maven
- In command prompt, type “mvn archetype:generate -
DgroupId=com.springsolution.core -DartifactId=springSolution -
DarchetypeArtifactId=maven-archetype-quickstart -
DinteractiveMode=false"
Convert to Eclipse project
- In command prompt, type “mvn eclipse:eclipse"
Add PATH with JUNIT_HOME
- Update PATH variable in Windows environment with string '%
JUNIT_HOME%D:ProjectJavajunit.jar'
Add Spring libs to Eclipse
Add Spring 3 dependency
- Edit 'pom.xml'
Spring bean
- Add 'HelloWorld.java'
Spring bean configuration file
- Create a Spring configuration file 'SpringBeans.xml'
Review project structure
Run It

More Related Content

What's hot

What's hot (19)

Building Distributed System with Celery on Docker Swarm
Building Distributed System with Celery on Docker SwarmBuilding Distributed System with Celery on Docker Swarm
Building Distributed System with Celery on Docker Swarm
 
Advanced VCL: how to use restart
Advanced VCL: how to use restartAdvanced VCL: how to use restart
Advanced VCL: how to use restart
 
Gruntwork Executive Summary
Gruntwork Executive SummaryGruntwork Executive Summary
Gruntwork Executive Summary
 
Cake php
Cake phpCake php
Cake php
 
Spring Boot and REST API
Spring Boot and REST APISpring Boot and REST API
Spring Boot and REST API
 
Node.js cluster
Node.js clusterNode.js cluster
Node.js cluster
 
Making the Most of Your Gradle Build
Making the Most of Your Gradle BuildMaking the Most of Your Gradle Build
Making the Most of Your Gradle Build
 
DevOps and Chef
DevOps and ChefDevOps and Chef
DevOps and Chef
 
How to investigate and recover from a security breach in WordPress
How to investigate and recover from a security breach in WordPressHow to investigate and recover from a security breach in WordPress
How to investigate and recover from a security breach in WordPress
 
VCL template abstraction model and automated deployments to Fastly
VCL template abstraction model and automated deployments to FastlyVCL template abstraction model and automated deployments to Fastly
VCL template abstraction model and automated deployments to Fastly
 
Contract-driven development with OpenAPI 3 and Vert.x | DevNation Tech Talk
Contract-driven development with OpenAPI 3 and Vert.x | DevNation Tech TalkContract-driven development with OpenAPI 3 and Vert.x | DevNation Tech Talk
Contract-driven development with OpenAPI 3 and Vert.x | DevNation Tech Talk
 
Ansible with oci
Ansible with ociAnsible with oci
Ansible with oci
 
Introduction to Spring Boot
Introduction to Spring BootIntroduction to Spring Boot
Introduction to Spring Boot
 
The Play Framework at LinkedIn
The Play Framework at LinkedInThe Play Framework at LinkedIn
The Play Framework at LinkedIn
 
Automatic testing and quality assurance for WordPress plugins
Automatic testing and quality assurance for WordPress pluginsAutomatic testing and quality assurance for WordPress plugins
Automatic testing and quality assurance for WordPress plugins
 
Web App Security for Java Developers - UberConf 2021
Web App Security for Java Developers - UberConf 2021Web App Security for Java Developers - UberConf 2021
Web App Security for Java Developers - UberConf 2021
 
Spring boot Introduction
Spring boot IntroductionSpring boot Introduction
Spring boot Introduction
 
Making the Most of Your Gradle Build
Making the Most of Your Gradle BuildMaking the Most of Your Gradle Build
Making the Most of Your Gradle Build
 
BDD / cucumber /Capybara
BDD / cucumber /CapybaraBDD / cucumber /Capybara
BDD / cucumber /Capybara
 

Viewers also liked

Ladou Corporate Presentation
Ladou Corporate PresentationLadou Corporate Presentation
Ladou Corporate Presentation
Luciead
 
Lebanon roofing 888 778 0212
Lebanon roofing  888 778 0212Lebanon roofing  888 778 0212
Lebanon roofing 888 778 0212
hansons0588
 
Su dung tieng anh va cac khau ngu
Su dung tieng anh va cac khau nguSu dung tieng anh va cac khau ngu
Su dung tieng anh va cac khau ngu
Hoàng Trọng Vinh
 
EAM Solution brochure _English_7070
EAM Solution brochure _English_7070EAM Solution brochure _English_7070
EAM Solution brochure _English_7070
adrie aarts
 
20 may special education needs
20 may special education needs20 may special education needs
20 may special education needs
francisfloresdbb
 

Viewers also liked (6)

Ladou Corporate Presentation
Ladou Corporate PresentationLadou Corporate Presentation
Ladou Corporate Presentation
 
Lebanon roofing 888 778 0212
Lebanon roofing  888 778 0212Lebanon roofing  888 778 0212
Lebanon roofing 888 778 0212
 
Cat 2013 (1)
Cat 2013 (1)Cat 2013 (1)
Cat 2013 (1)
 
Su dung tieng anh va cac khau ngu
Su dung tieng anh va cac khau nguSu dung tieng anh va cac khau ngu
Su dung tieng anh va cac khau ngu
 
EAM Solution brochure _English_7070
EAM Solution brochure _English_7070EAM Solution brochure _English_7070
EAM Solution brochure _English_7070
 
20 may special education needs
20 may special education needs20 may special education needs
20 may special education needs
 

Similar to Spring Lab

Maven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolMaven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension tool
elliando dias
 
Using Maven to build Java & Android program
Using Maven to build Java & Android programUsing Maven to build Java & Android program
Using Maven to build Java & Android program
Mu Chun Wang
 
HotPush with Ionic 2 and CodePush
HotPush with Ionic 2 and CodePushHotPush with Ionic 2 and CodePush
HotPush with Ionic 2 and CodePush
Evan Schultz
 

Similar to Spring Lab (20)

JDD 2017: 7 things which you should care about before release your code to pr...
JDD 2017: 7 things which you should care about before release your code to pr...JDD 2017: 7 things which you should care about before release your code to pr...
JDD 2017: 7 things which you should care about before release your code to pr...
 
Slim3 quick start
Slim3 quick startSlim3 quick start
Slim3 quick start
 
Maven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolMaven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension tool
 
Using Maven2
Using Maven2Using Maven2
Using Maven2
 
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOpsPVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
PVS-Studio Is Now in Chocolatey: Checking Chocolatey under Azure DevOps
 
EWD 3 Training Course Part 5a: First Steps in Building a QEWD Application
EWD 3 Training Course Part 5a: First Steps in Building a QEWD ApplicationEWD 3 Training Course Part 5a: First Steps in Building a QEWD Application
EWD 3 Training Course Part 5a: First Steps in Building a QEWD Application
 
Django deployment with PaaS
Django deployment with PaaSDjango deployment with PaaS
Django deployment with PaaS
 
How to Webpack your Django!
How to Webpack your Django!How to Webpack your Django!
How to Webpack your Django!
 
Let's play with adf 3.0
Let's play with adf 3.0Let's play with adf 3.0
Let's play with adf 3.0
 
Java, Eclipse, Maven & JSF tutorial
Java, Eclipse, Maven & JSF tutorialJava, Eclipse, Maven & JSF tutorial
Java, Eclipse, Maven & JSF tutorial
 
Whatever it takes - Fixing SQLIA and XSS in the process
Whatever it takes - Fixing SQLIA and XSS in the processWhatever it takes - Fixing SQLIA and XSS in the process
Whatever it takes - Fixing SQLIA and XSS in the process
 
CDNs para el SharePoint Framework (SPFx)
CDNs para el SharePoint Framework (SPFx)CDNs para el SharePoint Framework (SPFx)
CDNs para el SharePoint Framework (SPFx)
 
Using Maven to build Java & Android program
Using Maven to build Java & Android programUsing Maven to build Java & Android program
Using Maven to build Java & Android program
 
HotPush with Ionic 2 and CodePush
HotPush with Ionic 2 and CodePushHotPush with Ionic 2 and CodePush
HotPush with Ionic 2 and CodePush
 
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
CollabSphere 2021 - DEV114 - The Nuts and Bolts of CI/CD With a Large XPages ...
 
Google app engine by example
Google app engine by exampleGoogle app engine by example
Google app engine by example
 
Release with confidence
Release with confidenceRelease with confidence
Release with confidence
 
Microsoft Windows Server AppFabric
Microsoft Windows Server AppFabricMicrosoft Windows Server AppFabric
Microsoft Windows Server AppFabric
 
Maven
MavenMaven
Maven
 
Passo a Passo para criar uma aplicação Móvel Híbrida
Passo a Passo para criar uma aplicação Móvel HíbridaPasso a Passo para criar uma aplicação Móvel Híbrida
Passo a Passo para criar uma aplicação Móvel Híbrida
 

Recently uploaded

Recently uploaded (20)

Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
De-mystifying Zero to One: Design Informed Techniques for Greenfield Innovati...
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 

Spring Lab