Download - Spring Lab
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: JARS2) Customer: SWO, Lean Startup, CRM3) Internal Process: Intranet, Scrum-Agile, 5W-1H-2C-5M4) 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 List1) Jars (ja): Income (Inc), Nec, Ltss, Edu, Ffa, Play, Give2) Customer (c), Contact, Deal, Contract (ct)Swot (swot): Object (obj), S, W, O, T3) 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 List2) c: cId, cNo, cName, cDescu: uId, [cId-eId], uName, uPass, uEmailct: ctId, cId, ctNo, ctDate, ctDesc3) p: pId, pTitle, pDesct: tId, pId, tTitle, tDesce: 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