Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Spring Lab
LeoNguyen.com
July 11, 2013
Programming
0
1.7k
Spring Lab
Spring Lab
http://leonguyen.com
LeoNguyen.com
July 11, 2013
Tweet
Share
More Decks by LeoNguyen.com
See All by LeoNguyen.com
Node.js Lab
leonguyen
1
1.5k
PhoneGap Lab
leonguyen
0
1.5k
jQuery Plugin
leonguyen
0
1.6k
JS Plugin
leonguyen
0
2.5k
HTML5 Lab
leonguyen
0
1.6k
PHP Lab
leonguyen
0
1.7k
Laravel Lab
leonguyen
0
1.8k
Design Resources
leonguyen
1
330
AE Resources
leonguyen
0
310
Other Decks in Programming
See All in Programming
量子コンピュータ時代のプログラミングセミナー / 20221222_Amplify_seminar _route_optimization
fixstars
0
250
What's new in Shopware 6.5
shyim
0
110
Excelの助けを借りて楽にシナリオを作ろう
rpa_niiyama
0
290
SHOWROOMの分析目的を意識した伝え方・コミュニケーション
hatapu
0
240
An Advanced Introduction to R
nicetak
0
1.8k
僕が考えた超最強のKMMアプリの作り方
spbaya0141
0
180
Hatena Engineer Seminar #23「新卒研修で気軽に『ありがとう』を伝え合える Slack アプリを開発した話」
slashnephy
0
240
PHPアプリケーションにおけるアーキテクチャメトリクスについて / Architecture Metrics in PHP Applications
isanasan
1
240
Workshop on Jetpack compose
aldefy
0
140
Cloudflare Workersと状態管理
chimame
3
480
PHPDocにおける配列の型定義を少し知る
shimabox
1
130
爆速の日経電子版開発の今
shinyaigeek
2
600
Featured
See All Featured
Navigating Team Friction
lara
177
12k
YesSQL, Process and Tooling at Scale
rocio
159
12k
Art Directing for the Web. Five minutes with CSS Template Areas
malarkey
196
9.8k
WebSockets: Embracing the real-time Web
robhawkes
58
6k
Happy Clients
brianwarren
90
5.8k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
224
50k
A Philosophy of Restraint
colly
193
15k
Gamification - CAS2011
davidbonilla
75
4.1k
A Tale of Four Properties
chriscoyier
149
21k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
24
4.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
182
15k
Designing on Purpose - Digital PM Summit 2013
jponch
108
5.9k
Transcript
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:\ProjectJava\junit.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