3 ms·
JEE 6 is a huge leap forward compared to how J2EE used to be. However, there are a few problems. First of all, JSF is the most horrible framework for creating
by vetler 15y ago
JEE 6 is a huge leap forward compared to how J2EE used to be. However, there are a few problems.
First of all, JSF is the most horrible framework for creating web applications that I've ever used. Its intention is to make web development easier, but what you get is a huge mess of HTML and JavaScript that introduces a lot of new problems. Escpecially since it gives you the impression that you don't need to know HTML and JavaScript to work with it.
EJBs are a lot easier, and as long as you don't access them remotely, you don't need interfaces or XML files. If you put them remotely, you need both. With injection you don't need to look up EJBs manually, except if you put them remotely - because if the reference to the remote EJB is invalidated (i.e. if it's accessed while the remote server is down), you'll need to look it up manually again.
As long as you choose something other than JSF, JEE 6 is fine.
Of course, then there's the application servers. I've only tried Glassfish (for a while it was the only fully certified JEE 6 app server), but it had a few problems - I heard one of the latest versions had a GZip filter that would have spinning threads taking 100% CPU.
JEE has come a long way, but I'll probably choose Spring for my next Java project.
- deleted 15y ago[deleted]
- UK-AL 15y agoI remember jsf having a bad rep however jsf2 is supposed to be not as bad.
- edwinnathaniel 15y agoJSF2 has definitely improved compare to the previous version but I suppose JSF (1/2) is more akin of ASP.NET (component oriented) which might put off a large number of developers who prefer simple templating with pure JS.