Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #8147

Re: Java EE on tomcat?

From Arved Sandstrom <asandstrom3minus1@eastlink.ca>
Newsgroups comp.lang.java.programmer
Subject Re: Java EE on tomcat?
References <ebbbce69-a30e-4d19-8626-73e3fab2038b@h7g2000yqm.googlegroups.com> <4e69368f$0$303$14726298@news.sunsite.dk> <j55rfb$9sg$1@speranza.aioe.org>
Message-ID <Hnvdq.23201$Ll3.5551@newsfe16.iad> (permalink)
Organization Public Usenet Newsgroup Access
Date 2011-09-18 20:44 -0300

Show all headers | View raw


On 11-09-18 07:30 PM, Torsten Kirschner wrote:
> Den 08.09.2011 23:41, skrev Arne Vajhøj:
>> On 9/8/2011 1:53 PM, nroberts wrote:
>>> If higher ups decided that I had to work with Tomcat...no JBoss or
>>> glassfish or anything...what limitations am I looking at?  What parts
>>> of Java EE become unavailable to me?
>>
>> Tomcat is a web container only (Java EE Web Profile in
>> Java EE 6 terminology).
> [...]
>> You don't have EJB, JCA, JTA, JMS etc..
> [...]
> 
> Using the Spring Framework ( http://www.springsource.org/ ), one gets
> most of the above, except EJB, I guess. Add Hybernate and you're set.
> 
And as Cay Horstmann put it in
http://weblogs.java.net/blog/cayhorstmann/archive/2009/12/29/jsf-20-and-tomcat,
when describing how to set up JSF 2.0 and Java EE 6 EL and CDI and bean
validation and JPA (to some extent):

"But even if you don't, ask yourself what you gain from the Tomcat pain.
GlassFish v3 is very fast, easy to manage, and, due to its modular
nature, you get as much or as little of EE 6 as you want."

Or as Lincoln Baxter put in
http://ocpsoft.com/java/why-doesnt-jpa-jma-jta-ejb-jsf-cdi-work-jee-is-too-complicated/:

"Trust me, the reason people have thought Java EE sucks, is because they
try to do this stuff on Tomcat, and say 'Why doesn’t (JPA, JMS, JTA,
EJB, JSF, CDI) work?'...Tomcat, Jetty, and other 'Servlet Containers'
all have these issues – that’s why they are called Servlet Containers."

Using Spring and a JPA provider and God knows what else with Tomcat,
just so it'll approach the capability provided by a proper Java EE
server, is exactly the same thing that Cay and Lincoln were advising
against. It's unnecessary, wasteful, error-prone, unproductive, and
misguided. Furthermore, the management capabilities provided by all
modern Java EE application servers blow Tomcat completely out of the water.

I use Tomcat myself and have used servlet containers ever since they
appeared. Echoing the comments of the two quoted guys, no disrespect
intended to Tomcat or any other servlet container, use a servlet
container for what they give you out of the box: don't try and make
imitations of Java EE servers out of them.

AHS
-- 
job creator: US Republican term for a wealthy party contributor

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-08 10:53 -0700
  Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-08 11:22 -0700
    Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-08 12:08 -0700
      Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-08 17:48 -0400
    Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-08 17:56 -0400
  Re: Java EE on tomcat? markspace <-@.> - 2011-09-08 12:36 -0700
  Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-08 17:41 -0400
    Re: Java EE on tomcat? Torsten Kirschner <torsten.kirschner@gmail.com> - 2011-09-19 00:30 +0200
      Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-18 20:44 -0300
        Re: Java EE on tomcat? Torsten Kirschner <torsten.kirschner@gmail.com> - 2011-09-20 00:20 +0200
          Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-20 05:50 -0300
            Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-21 08:45 -0700
              Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-21 11:19 -0700
                Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-21 11:31 -0700
                Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-21 17:37 -0300
                Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-21 11:29 -0700
                Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-21 14:26 -0700
                Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-22 10:27 -0700
                Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-22 13:30 -0700
                Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:40 -0400
              Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:35 -0400
                Re: Java EE on tomcat? nroberts <roberts.noah@gmail.com> - 2011-09-22 10:23 -0700
                Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-22 13:38 -0700
                Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 21:15 -0400
      Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-19 21:55 -0400
        Re: Java EE on tomcat? eric@invalid.com (EricF) - 2011-09-21 04:38 +0000
          Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-21 20:29 -0400
            Re: Java EE on tomcat? eric@invalid.com (EricF) - 2011-09-22 02:41 +0000
              Re: Java EE on tomcat? Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-09-22 06:08 -0300
                Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 21:18 -0400
              Re: Java EE on tomcat? Lew <lewbloch@gmail.com> - 2011-09-22 08:39 -0700
                Re: Java EE on tomcat? Robert Klemme <shortcutter@googlemail.com> - 2011-09-22 22:58 +0200
              Re: Java EE on tomcat? Arne Vajhøj <arne@vajhoej.dk> - 2011-09-22 18:47 -0400
                Re: Java EE on tomcat? eric@invalid.com (EricF) - 2011-09-24 04:45 +0000

csiph-web