Hacker News new | past | comments | ask | show | jobs | submit login

"So I'm not sure how complex all of these to grok, granted if you need to do something out of the ballpark, you may have to learn a bit more of each individual component but to get started and be productive seems quite easy for me."

It is so easy only if you don't try to write some serious production level stuff using it. You must be insane to start a project in JEE knowing only some basic tutorials and without deep understanding how the full stack works. I worked for a company that do JEE trainings. It was near impossible to teach a team using full JEE stack in 5 days (7 hour / day) - no, actually each single component is like 1-2 days of training, given that everything is preconfigured and ready to go. And after training they usually ask for consulting, because they still have some technical problems with it.

This is similar to Scala. You have to probably have someone on the team with deep understanding, but most of the coders just need to know how to do basic things in it.

We used Scala for a project in the company, and the only concern then was poor tooling (that was 2 years ago - it is much much better now), not the language itself. Most programmers just jumped right into it as a Java with slightly simplified syntax - "oh, I don't need to know when to use Integer and int, cool!".

// Errata: I meant EJB 2.1, not JEE 2.1, sorry for the mistake.




Actually... I've had previous positive experience dealing with some parts of JEE and some parts of Spring from almost zero (just knowledge on Servlet and JSP) to production level (JAX-RS, JAX-WS, JPA/Spring-Data/Spring-Transaction, Spring-Portlet-MVC, Spring-Core). They just seem to ... "work out of the box".

Had two production issues in a year and they are all JPA.

From all of the modules, JPA seems to be the more complex piece of the puzzle with EJB/JMS probably trailing. (Granted we did not have to use JMS yet).

While I do understand your side of the story (you may be aiming for JEE full-stack from JSP, JSF, Servlet, JPA, EJB and tons of its quirk, JMS, transaction, etc), if you focus to the essential: JEE 6 web-profile, it is much easier compare to starting with Scala from zero to knowing best-practices and idioms of the language.


Agreed, but before JEE 6 web profile, essentially all before JEE 5 was much much harder to work with. Deploying a basic demo EJB 2 app on some ancient JBoss took our team of "enterprise developers" about two weeks. I'm just saying Scala is nothing exceptionally more complex than many other things that are or were used by so called "enterprise developers".

BTW: on the last training in databases I led we used Scala as a language in which some sample programs were created. The group was not specifically prepared for that. Actually they were even not all Java developers. They had no problems in understanding Scala code and modifying it for the purpose of the excercises.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: