r/programming • • May 18 '12

Goodbye Tomcat!

http://blog.webagesolutions.com/archives/636
0 Upvotes

19 comments sorted by

3

u/caboteria May 18 '12

Talk about not getting it.

The reason people use Tomcat is because they don't want to deal with the ridiculous J2EE baggage. So let's write an article talking about new J2EE baggage!

2

u/henk53 May 18 '12

The J2EE baggage was indeed ridiculous, but that was in 2004!

Java EE, especially the web profile, doesn't have any ridiculous baggage and nearly everything in it adds something very useful to the platform.

Full stack platforms for the win!

5

u/rockvilleJD May 18 '12

Please explain the problems you have run into by using a full Java EE application server like Glassfish instead of Tomcat.

-3

u/crusoe May 18 '12

SLOW

Memory hog.

5

u/robinwholikesjava May 18 '12

I found that adding tons of libraries to Tomcat, AND YES... EVERYONE ALWAYS DOES THAT, NOBODY... NOBODY USES AN ABSOLUTELY BARE TOMCAT, exactly makes Tomcat much slower than Glassfish, JBoss or TomEE.

Oh, and uses more memory too.

Oh, and is less stable.

Oh, and gives you the headache of upgrading individual parts.

5

u/robinwholikesjava May 18 '12

Talk about not getting it.

Talk about you not getting the article. What you refer this was true nearly a decade ago, and is not absolutely not true today, which is the main point of the article (which you completely missed).

4

u/ErstwhileRockstar May 18 '12

Tomcat has been a very popular alternative to other application servers like JBoss, WebLogic and WebSphere

except that Tomcat is a 'web-container', not an application server

Let’s have a quick summary of what makes Java EE 6 so great ... None of the above technologies are supported by Tomcat out of the box.

except that Tomcat now has a big brother which supports (the best of) JEE: TomEE

Goodbye uninformed blogpost!

-3

u/bbejeck May 18 '12

Surely, you can add enough JAR files to your web project to get CDI, JSF and JAX-RS. After you are done doing that, you have pretty much created a JBoss look alike

That's the beauty of tomcat, it allows to add/remove only what you actually need without all of the bloat of the application servers.

3

u/robinwholikesjava May 18 '12

Question; do you download Ubuntu, OS X, Windows [pick your poison], or do you always install a bare Linux, BSD, ... kernel [again, pick your poison] and then build your OS from the ground up.

If not, why is this supposedly a good thing for your AS?

3

u/mikehaggard May 18 '12

What bloat???

TomEE is 25 freaking MB... It starts up in a second.

What bloat are you talking about bbejeck? The bloat that Rod Johson persuaded you was there so he could sell you Spring?

0

u/bbejeck May 19 '12

I was referring to weblogic

-7

u/hmaon May 18 '12

Perhaps a more focused subreddit would be better for this?

3

u/henk53 May 18 '12

So this subreddit can focus on Python you mean?

-1

u/hmaon May 18 '12

Yes! :D

5

u/rockvilleJD May 18 '12

This is a programming reddit. Tomcat is a widely used server that supports one of the most widely used languages in the world. If that is not relevant then shut this reddit down because nothing is.

-3

u/crusoe May 18 '12

Glassfish is overkill for 99% of the things you want to do on the web.

3

u/mikehaggard May 18 '12

I don't agree. The Web Profile addition of GlassFish contains exactly the functionality that 99% of all web applications use in some form or the other.

0

u/[deleted] May 19 '12

Examples?

2

u/[deleted] May 19 '12

Examples?