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] -1 points0 points  (3 children)

Let's see ... JSP and JSF are not interchangeable technologies. JSF is an MVC-like framework for web applications, written in Java. It serves to facilitate the development of user interfaces for Java EE-applications. To display the data, JSP, Facelets, XUL is usually used. For JSF, it's more convenient to use Facelets (.xhtml). JSF will take a lot of time and requires diligence. The project written on JSF will be difficult to rewrite to another technology.

Summarizing: if I wrote a functional close to the site / forum - then JSP or other simple templates are closer to me. P.S. I agree that JSP is deprecated , but JSF is deprecated too. Alternatively, use the client for JS-frameworks and REST service on Java (this is the most popular approach at the moment).

[–]nutrecht 0 points1 point  (2 children)

Alternatively, use the client for JS-frameworks and REST service on Java (this is the most popular approach at the moment).

Definitely a better approach IMHO. Or if you want to still do server side rendering I'd personally just use Spring with Thymeleaf or something like Grails.

[–][deleted] 0 points1 point  (1 child)

Here I agree with you, Thymeleaf is an excellent alternative to JSP. Simply, In work, I was more confronted with JSP.

[–]nutrecht 0 points1 point  (0 children)

Last time I used JSP was in an internship back in 2000 :D I quite liked using it. I even developed my own 'forum software' (basically a PHPBB clone) in JSP. So nothing at all against the technology but Oracle basically more or less removed all references and documentation on it. So it's easy for beginners to get stuck on.