Will, that is a really interesting read, thank you!

Speaking of modern JSF, I really enjoyed reading a 2018 book:
"The Definitive Guide to JSF in Java EE 8: Building Web Applications
with JavaServer Faces 1st ed. Edition"
by  Scholtz, Bauke, Tijms, Arjan
Here's one of the links to it
https://www.amazon.com/Definitive-Guide-JSF-Java-Applications/dp/1484233867

It covers modern enhancements and quite a bit of complicated history of JSF.

---
In one of our projects we nicely used a combination of
https://freemarker.apache.org/ as a templating engine
and JAX-RS, but I didn't like the fact that freemarker does not
support Expression Language (JSR 341,
https://jcp.org/en/jsr/detail?id=341),
I think this fits into the action framework concept.

But I also tend to think JSF 2.1+, especially 2.3+ is a good choice,
although it takes some time to learn but there are nice textbooks on
it!

My 2 cents,

Nikita

On Tue, 12 Jan 2021 at 18:50, Will Hartung <willhart...@gmail.com> wrote:
>
> On Tue, Jan 12, 2021 at 12:31 AM Som Lima <somplastic...@gmail.com> wrote:
>>
>>
>> My concerns layed to rest with my direction set.
>>
>> I feel I must ask one more question from this knowledge pool. A bonus 
>> question if you please.
>>
>> It is my understanding struts is a competitor to spring but I don't believe
>> It is part of EE.
>>
>> Where does struts1 + 2 fit into the Big picture you guys  painted   ?
>
>
> Formally, Struts in any form has nothing to with JEE. It's only a competitor 
> to a portion of Spring.
>
> Struts 1 needs to die in a fire. It should remain only to be held up as an 
> example of things not to do, especially today. It's single claim to fame back 
> in the day was simply that it arrived first. Struts 1 is awful, IMHO. Modern 
> JSP and Servlets alone are far better, and there are much better frameworks. 
> Struts II is a vast improvement and related to Strut 1 in name only. I would 
> put them both aside, frankly.
>
> In JEE, you have JSP 2.x + Servlets and JSF. JSP 2.x is, IMHO, one of the 
> finest web application templating systems out there. JSP + Tag files + 
> Expresion Language is really powerful. If you want a templating language for 
> other things, JSP is a rough fit. But if you want one for web pages, it's 
> really remarkable.
>
> That said, modern JSF is really amazing. It's really powerful, but it 
> certainly comes with complexity. JSF is a true modular and component based 
> framework that scary powerful abstractions can be laid upon. Most people 
> don't take it there, but the underlying capability is there. If you were to 
> go with a more server side rendering system, JSF is very viable.
>
> There's been calls for a JEE standard MVC framework. Struts II was considered 
> an MVC framework. The term "Action Framework" is another term of art for it. 
> That effort stalled and derailed when Oracle dumped JEE on to the world. I 
> don't know the current status. Spring has an action/MVC framework as well. 
> JAX-RS with a little work is a pretty usable action framework.
>
> Today, most folks seem to trend to javascript heavy, single page apps with 
> JSON backend services. In that case, you don't need much of anything server 
> side. I can not speak to those, as that's not my area of expertise. As a 
> rule, I find most modern webapps to be not very good. There needs to be a 
> balance between the heavy pages and static pages with live controls. In that 
> realm, I think JSF is a better fit, but I have not worked on such an app in 
> some time.
>
> Regards,
>
> Will Hartung

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to