You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Rick <ri...@gmail.com> on 2008/11/04 00:06:36 UTC
iBATIS with Tomcat vs JBoss
After wrestling with JPA/Hibernate for a bit I'm not seeing all the
gain and there are ton of 'gotchas' you have to look out for, so I'm
thinking of skipping even using JBoss since I really don't have to use
EJBs if I'm using iBATIS, and instead just going to my old faithful
Tomcat/iBATIS setup. (The app will be 95% read only. Feeds meta data
to the front end gui for display prompts available to the user.) (By
the way yes I know you can use OpenEJB inside of Tomcat, but it just
seemed easier using a JBoss setup since I'm already familiar with it.)
The app will mostly get hit by about 2K users all at the same time
when they login to try to get a list of reports available to them at
3PM.
Are there some major performance gains I'll get using JBoss over
Tomcat? Tomcat over JBoss?
Are there any other issues I should consider before I make the switch?
Thanks
--
Rick
Re: iBATIS with Tomcat vs JBoss
Posted by Sundar Sankar <fa...@gmail.com>.
2k parallel users.. Hmm, I dont see a need for you to think beyond tomcat.
But I would still vouch for jboss, cos it can get you support if you wanted.
I am hearing a lot of organizations talk about it these days and if you are
in one them or could be impacted by that clause later. yeah. Or else it
really doesnt matter.
As with regards to EJB. I am not sure on what open EJB is. But if you Have
to and only if you have to, use ejb3 with seam. I just dont see a use of you
thinking beyond Spring and Ibatis for ANY project.
-Sundar
On Wed, Nov 12, 2008 at 3:49 PM, Kai Grabfelder <no...@kinokai.de> wrote:
> you should consider opening a bottle of beer as it is just much less
> painful to develop simple (spring
> powered) web applications with a jetty and a tomcat instead of struggling
> with EJBs and application servers.
> Trust me ;-)
>
> I think your development efficiency will increase as you'll probably have
> faster deployment/development cycles
> without all the ejb overhead. In terms of runtime / production performance
> I don't think that a pure tomcat
> setup is that much faster - but it will consume a lot less of resources -
> thats for sure.
>
> Regards
>
> Kai
>
> --- Original Nachricht ---
> Absender: Rick
> Datum: 04.11.2008 00:06
> > After wrestling with JPA/Hibernate for a bit I'm not seeing all the
> > gain and there are ton of 'gotchas' you have to look out for, so I'm
> > thinking of skipping even using JBoss since I really don't have to use
> > EJBs if I'm using iBATIS, and instead just going to my old faithful
> > Tomcat/iBATIS setup. (The app will be 95% read only. Feeds meta data
> > to the front end gui for display prompts available to the user.) (By
> > the way yes I know you can use OpenEJB inside of Tomcat, but it just
> > seemed easier using a JBoss setup since I'm already familiar with it.)
> >
> > The app will mostly get hit by about 2K users all at the same time
> > when they login to try to get a list of reports available to them at
> > 3PM.
> >
> > Are there some major performance gains I'll get using JBoss over
> > Tomcat? Tomcat over JBoss?
> >
> > Are there any other issues I should consider before I make the switch?
> >
> > Thanks
> >
>
>
Re: iBATIS with Tomcat vs JBoss
Posted by Jason Sheedy <mo...@gmail.com>.
Ahh beer ..... is there anything it can't do !!
I have to agree with Rick regarding hibernate in the original post. We
wasted allot of time on all of it's hidden "features". I'd echo what
I've seen posted around quite a bit in the it's great for fairly
simple object graphs, but once it starts to get a bit complex ..
things start to get a bit hairy..
Anyhow, we're using a Spring/iBatis/Tomcat stack and it's a joy..
maximum power, flexibility and efficiency .. couldn't be happier. The
time taken to create/maintain our own sql maps in iBatis is small in
comparison to debugging hibernate trickery (Beware ... there be
dragons)
- jason
2008/11/14 David McReynolds <dm...@secureworks.com>:
> En-Joy-Beer
>
> I can't help myself sometimes.
>
Re: iBATIS with Tomcat vs JBoss
Posted by Sundar Sankar <fa...@gmail.com>.
The best name for EJB ever seen. I wish there is no one from the EJB Jsr
Team reading all of this ;)
-S
On Thu, Nov 13, 2008 at 11:16 AM, David McReynolds <
dmcreynolds@secureworks.com> wrote:
> En-Joy-Beer
>
> I can't help myself sometimes.
>
> -----Original Message-----
> From: Larry Meadors [mailto:larry.meadors@gmail.com]
> Sent: Thursday, November 13, 2008 12:44 PM
> To: user-java@ibatis.apache.org
> Subject: Re: iBATIS with Tomcat vs JBoss
>
> So the B in EJB stands for Beer? :-D
>
> Larry
>
>
> PS: It's not even Friday yet, either...
>
>
> On Thu, Nov 13, 2008 at 9:01 AM, Sundar Sankar <fa...@gmail.com>
> wrote:
> > Beer was what was the life saviour for us all ;)
> >
>
RE: iBATIS with Tomcat vs JBoss
Posted by David McReynolds <dm...@secureworks.com>.
En-Joy-Beer
I can't help myself sometimes.
-----Original Message-----
From: Larry Meadors [mailto:larry.meadors@gmail.com]
Sent: Thursday, November 13, 2008 12:44 PM
To: user-java@ibatis.apache.org
Subject: Re: iBATIS with Tomcat vs JBoss
So the B in EJB stands for Beer? :-D
Larry
PS: It's not even Friday yet, either...
On Thu, Nov 13, 2008 at 9:01 AM, Sundar Sankar <fa...@gmail.com> wrote:
> Beer was what was the life saviour for us all ;)
>
Re: iBATIS with Tomcat vs JBoss
Posted by Larry Meadors <la...@gmail.com>.
So the B in EJB stands for Beer? :-D
Larry
PS: It's not even Friday yet, either...
On Thu, Nov 13, 2008 at 9:01 AM, Sundar Sankar <fa...@gmail.com> wrote:
> Beer was what was the life saviour for us all ;)
>
Re: iBATIS with Tomcat vs JBoss
Posted by Sundar Sankar <fa...@gmail.com>.
The biggest problem I had when I did "some" development with ejb3, more that
year or so back was that, most of the exception was hibernate specific. I
understood it was build on top of hibernate, but since ejb3 was throwing
back hibernate exceptions, google could hardly help us in solving us some
critical issues.
Beer was what was the life saviour for us all ;)
-Sundar
On Thu, Nov 13, 2008 at 12:01 AM, David Blevins <da...@visi.com>wrote:
>
>
>
> Larry Meadors wrote:
> >
> > On Wed, Nov 12, 2008 at 5:44 PM, David Blevins <da...@visi.com>
> > wrote:
> >> Here's a blog from a newer user who was pretty shocked and amazed that
> >> developing EJBs could actually be... dare I say *enjoyable*.
> >>
> http://qbeukes.blogspot.com/2008/08/rapid-ejb-development-with-unit-tests.html
> >>
> >
> > But I bet a beer would be *more* enjoyable. ;-)
> >
> > Larry
> >
>
> Who can argue with that ;-)
>
> -David
>
> --
> View this message in context:
> http://www.nabble.com/iBATIS-with-Tomcat-vs-JBoss-tp20313042p20475704.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>
Re: iBATIS with Tomcat vs JBoss
Posted by David Blevins <da...@visi.com>.
Larry Meadors wrote:
>
> On Wed, Nov 12, 2008 at 5:44 PM, David Blevins <da...@visi.com>
> wrote:
>> Here's a blog from a newer user who was pretty shocked and amazed that
>> developing EJBs could actually be... dare I say *enjoyable*.
>> http://qbeukes.blogspot.com/2008/08/rapid-ejb-development-with-unit-tests.html
>>
>
> But I bet a beer would be *more* enjoyable. ;-)
>
> Larry
>
Who can argue with that ;-)
-David
--
View this message in context: http://www.nabble.com/iBATIS-with-Tomcat-vs-JBoss-tp20313042p20475704.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
Re: iBATIS with Tomcat vs JBoss
Posted by Larry Meadors <la...@gmail.com>.
On Wed, Nov 12, 2008 at 5:44 PM, David Blevins <da...@visi.com> wrote:
> Here's a blog from a newer user who was pretty shocked and amazed that
> developing EJBs could actually be... dare I say *enjoyable*.
> http://qbeukes.blogspot.com/2008/08/rapid-ejb-development-with-unit-tests.html
>
But I bet a beer would be *more* enjoyable. ;-)
Larry
Re: iBATIS with Tomcat vs JBoss
Posted by David Blevins <da...@visi.com>.
Kai Grabfelder-2 wrote:
>
> I think your development efficiency will increase as you'll probably have
> faster deployment/development cycles without all the ejb overhead. In
> terms of runtime / production performance I don't think that a pure tomcat
> setup is that much faster - but it will consume a lot less of resources -
> thats for sure.
>
Cutting those deployment/development cycles is the major focus of OpenEJB
and something we're bringing to the EJB 3.1 spec. We want EJB to be as easy
to develop/test as any other plain java object with no exceptions. I think
we do extremely well at it.
Here's a blog from a newer user who was pretty shocked and amazed that
developing EJBs could actually be... dare I say *enjoyable*.
http://qbeukes.blogspot.com/2008/08/rapid-ejb-development-with-unit-tests.html
-David
--
View this message in context: http://www.nabble.com/iBATIS-with-Tomcat-vs-JBoss-tp20313042p20472759.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
Re: iBATIS with Tomcat vs JBoss
Posted by Larry Meadors <la...@gmail.com>.
On Wed, Nov 12, 2008 at 3:49 PM, Kai Grabfelder <no...@kinokai.de> wrote:
> you should consider opening a bottle of beer as....
That sounds way better than coding. I like how you think. ;-)
Larry
Re: iBATIS with Tomcat vs JBoss
Posted by Kai Grabfelder <no...@kinokai.de>.
you should consider opening a bottle of beer as it is just much less painful to develop simple (spring
powered) web applications with a jetty and a tomcat instead of struggling with EJBs and application servers.
Trust me ;-)
I think your development efficiency will increase as you'll probably have faster deployment/development cycles
without all the ejb overhead. In terms of runtime / production performance I don't think that a pure tomcat
setup is that much faster - but it will consume a lot less of resources - thats for sure.
Regards
Kai
--- Original Nachricht ---
Absender: Rick
Datum: 04.11.2008 00:06
> After wrestling with JPA/Hibernate for a bit I'm not seeing all the
> gain and there are ton of 'gotchas' you have to look out for, so I'm
> thinking of skipping even using JBoss since I really don't have to use
> EJBs if I'm using iBATIS, and instead just going to my old faithful
> Tomcat/iBATIS setup. (The app will be 95% read only. Feeds meta data
> to the front end gui for display prompts available to the user.) (By
> the way yes I know you can use OpenEJB inside of Tomcat, but it just
> seemed easier using a JBoss setup since I'm already familiar with it.)
>
> The app will mostly get hit by about 2K users all at the same time
> when they login to try to get a list of reports available to them at
> 3PM.
>
> Are there some major performance gains I'll get using JBoss over
> Tomcat? Tomcat over JBoss?
>
> Are there any other issues I should consider before I make the switch?
>
> Thanks
>