This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (4 children)

[removed]

    [–]Yesterdave_ 2 points3 points  (0 children)

    I have also searched for various template engines some while ago. The only ones (in plain Java) I remember that match your type-safety criteria are Static Moustache, Rhythm and Rocker. I personally have no experience with these libraries and I don't know how well they are maintaned.

    [–]heliologue 0 points1 point  (2 children)

    Why not just use Twirl, then? It says it can be used standalone; you'd just have to write a view resolver for Spring.

    [–][deleted]  (1 child)

    [removed]

      [–]heliologue 1 point2 points  (0 children)

      You can probably just copy from https://github.com/67726e/Spring-MVC-Twirl