Spring Lab

188 views

Published on

Spring Lab
http://leonguyen.com

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
188
On SlideShare
0
From Embeds
0
Number of Embeds
26
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Spring Lab

  1. 1. Spring Lableonguyen.com
  2. 2. Features- Purpose: An open source Spring solution- GUI: ZK + jQuery- Technology: Spring + Hibernate + MongoDB + API- Architechture: Thin Front-end, Fat Back-end
  3. 3. 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
  4. 4. Layout - Portal
  5. 5. Spring Core
  6. 6. JDK 7
  7. 7. Download & Install- Go to: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
  8. 8. Apache Tomcat 7
  9. 9. Download & Install- Go to: http://tomcat.apache.org/download-70.cgi
  10. 10. Spring Framework 3
  11. 11. Download- Go to http://www.springsource.org/spring-community-download
  12. 12. Spring Tool Suite
  13. 13. Download- Go to: http://www.springsource.org/downloads/sts-ggts
  14. 14. Hello world MVC
  15. 15. New Spring Template Project- Go to File > New > Spring Template Project
  16. 16. New Spring MVC Project- Choose Spring MVC Project
  17. 17. Run It- Go to Run As > Run on Server
  18. 18. DB
  19. 19. 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)
  20. 20. 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
  21. 21. Github- Go to: https://github.com/leonguyen/springSolution
  22. 22. Eclipse Java EE
  23. 23. Download- Go to: http://www.eclipse.org/downloads/
  24. 24. Maven
  25. 25. JDK and JAVA_HOME- JAVA_HOME variable is added in Windows environmentvariable, and point to the JDK folder.
  26. 26. Download & Extract- Go to http://maven.apache.org/download.cgi- Extract to <Source Path>maven
  27. 27. MAVEN_HOME- MAVEN_HOME variable is added in Windows environmentvariable, and point to the Maven folder.
  28. 28. Add PATH with MAVEN_HOME- Update PATH variable in Windows environment with string %MAVEN_HOME%bin
  29. 29. Verification- In command prompt, type “mvn –version“
  30. 30. Maven repository- Edit settings.xml in <Source Maven>conf
  31. 31. Generate project structure with Maven- In command prompt, type “mvn archetype:generate -DgroupId=com.springsolution.core -DartifactId=springSolution -DarchetypeArtifactId=maven-archetype-quickstart -DinteractiveMode=false"
  32. 32. Convert to Eclipse project- In command prompt, type “mvn eclipse:eclipse"
  33. 33. Add PATH with JUNIT_HOME- Update PATH variable in Windows environment with string %JUNIT_HOME%D:ProjectJavajunit.jar
  34. 34. Add Spring libs to Eclipse
  35. 35. Add Spring 3 dependency- Edit pom.xml
  36. 36. Spring bean- Add HelloWorld.java
  37. 37. Spring bean configuration file- Create a Spring configuration file SpringBeans.xml
  38. 38. Review project structure
  39. 39. Run It

×