Skip to content

A template Spring application using that embeds Jetty and uses Thymeleaf as the view technology.

Notifications You must be signed in to change notification settings

mkorszun/jetty-springmvc-thymeleaf-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template - Embedded Jetty/SpringMVC/Thymeleaf Application

Summary

This is a standalone Spring based Java application that embeds Jetty and uses SpringMVC as its web tier.

It is a template that demonstrates embedding Jetty and SpringMVC into your application as a web tier instead of deploying your application into a container.

Thymeleaf is used as a view technology greatly simplifying the process compared to using JSP views with embedded Jetty.

Running

With Maven

mvn exec:java -Dexec.mainClass=ca.unx.template.Main

Then point your browser at http://localhost:8080.

Shaded Jar

mvn package
java -jar target/jetty-springmvc-thymeleaf-template-0.0.1-SNAPSHOT.jar

Then point your browser at http://localhost:8080.

About

A template Spring application using that embeds Jetty and uses Thymeleaf as the view technology.

Resources

Stars

Watchers

Forks

Packages

No packages published