Live data from Hacker News

Developing and running a Java EE Hello World application

wiki.jetbrains.net

1–10 of 84 posts

Re: Developing and running a Java EE Hello World application

#2
I don't do web apps with java, so I honestly don't know if it's the proper way to do it, a satire, or if there is a more straightforward way.

Especially, I don't see why one has to write both the class HelloWorldServlet and HelloWorldBean; couldn't one just inherit from one class or implement one interface?

Re: Developing and running a Java EE Hello World application

#3
Is the point of this saying that J2EE is bloated and that simple operations are made seemingly impossible?

Of course you wouldn't write an "hello world" in j2ee, what would be the point?

All that stuff makes it easier later to write more complex stuff, so I really don't see the point of this submission.

Re: Developing and running a Java EE Hello World application

#6
Taking a cheap jab at Java EE just because their "Hello World" introduction article is a bit lengthy is bad form. Judging by the insulting "kids" reference in your title, Java EE has a completely different mindset than you are used to and the target audience doesn't include you.

That doesn't mean the millions of other developers and billions of other platforms running Java are inferior.

Re: Developing and running a Java EE Hello World application

#7
And yes kids, enterprise applications at large companies are exactly as hard to maintain as you may have guessed (after this article).

Old legacy codebases in Java are one of the worst things I've ever seen. (spiked with old stuff nobody maintains anymore and also nobody pays you to upgrade, such fun times)

Re: Developing and running a Java EE Hello World application

#8
post #3

Is the point of this saying that J2EE is bloated and that simple operations are made seemingly impossible? Of course you wouldn't write an "hello world" in j2ee, what would be the point? All that stuff makes it easier later to write more complex stuff, so I really don't see the point of this submission.

> All that stuff makes it easier later to write more complex stuff

I sincerely doubt that. I've seen E-Banking systems run on Jetty with JDBC directly. No fancy JSRs were needed.

Btw: J2EE was indeed even more bloated than JavaEE. I don't think that anyone would defend J2EE nowadays, not even the folks behind JavaEE

Re: Developing and running a Java EE Hello World application

#9

Taking a cheap jab at Java EE just because their "Hello World" introduction article is a bit lengthy is bad form. Judging by the insulting "kids" reference in your title, Java EE has a completely different mindset than you are used to and the target audience doesn't include you. That doesn't mean the millions of other developers and billions of other platforms running Java are inferior.

At a previous employer, we've migrated a complex J2EE (with EJB 2.0 and such) E-Banking system to use only Jetty and JDBC directly. No one in operations noticed the difference.

But the developers did. Oh they were about 5x as productive afterwards. With no missing features.

Perhaps I'm not included in the target audience. But if E-Banking can do it, what remains of the "target audience" ?

Post reply on HN