Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace JSPs with a more up-to-date view technology in SCXA #390

Open
ke4 opened this issue Apr 26, 2024 · 0 comments
Open

Replace JSPs with a more up-to-date view technology in SCXA #390

ke4 opened this issue Apr 26, 2024 · 0 comments
Labels
improvement Improve/refactor existing code technical debt Technical debt

Comments

@ke4
Copy link
Contributor

ke4 commented Apr 26, 2024

JSP is a technology that has been around for a long time and is based on the Java Servlet API. It allows developers to create dynamic web pages by embedding Java code directly into the HTML markup.

Some of the advantages of JSP include:

  • Easy integration with Java-based web frameworks such as Spring and Struts.
  • Familiarity with Java developers who are already familiar with Java and JEE technologies.
  • Rich set of JSTL (JavaServer Pages Standard Tag Library) tags for formatting and manipulating data.

However, JSP has some drawbacks as well, such as:

  • Tight coupling of the presentation layer and business logic, making it harder to separate concerns and follow modern design patterns.
  • Complexity and verbosity, with lots of boilerplate code required for even simple tasks.
  • Limited support for modern front-end technologies such as HTML5 and CSS3.

I would suggest to use Thymeleaf. It is very popular framework used together with Spring.
It is a more modern templating engine that is based on XML, HTML, and plain text. It allows developers to create dynamic web pages by using HTML templates with additional attributes that define how the data should be displayed.

Article around this topic:

@ke4 ke4 changed the title Replace JSPs with Thymeleaf in SCXA Replace JSPs with a more up-to-date view technology in SCXA May 8, 2024
@ke4 ke4 added technical debt Technical debt improvement Improve/refactor existing code labels Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improve/refactor existing code technical debt Technical debt
Projects
None yet
Development

No branches or pull requests

1 participant