If you’re using Java in an enterprise environment, you’ve most likely been using Spring Framework with JSP which does the job pretty well.But I will provide the sampling of how Spring Boot helps you accelerate and facilitate application development better. I will show a templating technology, Thymleaf which can be used much more modern features;
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Modern Java web applications with Spring Boot and Thymeleaf
1. Modern Java web applications
with Spring Boot and Thymeleaf
Mr. LAY Leangsros
Instructor & Web App Developer
School of E-commerce and Logistics,
NIPTICT
m: +855 89 909 978
e: laysros@niptict.edu.kh,
laysros@ymail.com
https://goo.gl/V10mJL
2. Web Frameworks
• Laravel, Symfony, CakePHP framework for PHP
• Django for Python
• Rails for Ruby
• ASP.NET for .NET
• Catalyst for Perl
3. Content
• What is Spring?
• History
• Features
• Structure
• What is Thymeleaf?
• Using Thymeleaf
• Let’s build it!
4. What is Spring?
• Spring is a mature yet still innovative
open-source framework
• Spring has a very active community
• Spring is light-weight
5. History
• 1999 J2EE 1.2
• 2004 Spring Framework 1.0
• Injection
• POJO oriented
• AOP & transactions
• 2006 Java EE 5
• 2013 Spring Boot!
6. Features
• Stand-alone Spring applications
• Embedded Tomcat or Jetty
• Starter dependencies
• Automatic configuration
• Production-ready environment
• No code generation / no XML configuration
• Easy to use but powerful database transaction management
capabilities
7. Features
• Spring Data: Simplifies data access from
relational and NoSQL data stores.
• Spring Security: Robust security framework to
secure applications.
• Spring Social: Supports integration with
social networking sites like Facebook, Twitter,
LinkedIn, GitHub etc.
8. Structure
• Controller (Request Mapping)
• Model (Object)
• Repository (Database, data manipulation)
• Service (Email, Notification..)
• Configure (Security, Endpoint, WebSocket, ..)
• …etc.
9. What is Thymeleaf?
Thymeleaf is a Java XML/XHTML/HTML5
template engine that can work both
in web (Servlet-based) and non-web environments.
Who's using Thymeleaf?