ผู้สอน: อุษา สัมมาพันธ์
วันที่ 1 : ทบทวน Java
เช้า: ทบทวน Java พื้นฐาน (book-draft)
Getting to know ผู้เข้าอบรม
แนะนำเครื่องมือ IntelliJ IDE
Object-oriented concepts with class and object
Instance variables, methods and constructors
Access specifiers, this keyword, getters, setters, toString()
IntelliJ IDE code generator
Student and BankAccount examples
บ่าย: Composition
Composition
ArrayList and for-each loops
ATM example (code) (UML diagram)
วันที่ 2 : ทบทวน Java และ Basic Spring Framework
วันที่ 3 : (Front) Spring MVC and Thymeleaf
บ่าย:
Spring Thymeleaf HTML components ต่าง ๆ
วันที่ 4 : (DB) Spring Framework and Database
เช้า:
ทำ Spring Thymeleaf ต่อ
Database Connection แบบ ORM, JDBC and DAO (lab sheet)
DB to/from front
บ่าย:
Database Connection แบบ JPA and Hibernate (lab sheet)
วันที่ 5 : (Back) Spring Boot Web Service and API
เช้า:
Creating web service with Spring Boots (lab sheet)
PostMan. JSON
บ่าย
Connect (send to/receive from) web service (lab sheet)
Run with mvn command line
$ mvn spring-boot:run
Git