tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Morgan Delagrange <>
Subject RE: Most useful Tag library Poll
Date Fri, 06 Jul 2001 16:16:14 GMT
Interestingly, lately I've seen lots of developers come to the
conclusion that EJBs (Entity and Session) are not appropriate for all (or
even most) Enterprise tasks.  I've seen several threads lately about
companies that started out with pure EJB solutions and then scaled back to
simple classes running inside the Servlet container and/or taglibs,
resulting in significant performance boosts (I myself worked on such a

Lots of companies start out under the assumption that all their business
logic MUST be in an EJB, rather than a class or taglib.  The reality is,
EJBs are not always an efficient alternative.  Remember EJBs create
signficant Serialization overhead and, in the case of stateless beans,
often lead to serious sacrifices in programming technique.

Use the right tool for the right job.  If you are performing the same
credit card transactions over and over, then an EJB is probably the
ticket.  If, on the other hand, you're providing a view of some database
rows to your JSP, you might want to avoid the Serialization overhead and
use a tag library (like DBTags :).

- Morgan

On Thu, 5 Jul 2001, Lee Ball wrote:

> Hi
> While that I would agree that most web apps use a DB I'm not sure that
> the DB tags are that useful for an enterprise application as the DB access
> should be done through Data Access Objects or Entity Beans??
> I have found the jakarta input tags very useful as well as the loop tags
> which are supplied with WebLogic.
> Cheers
> Lee
> -----Original Message-----
> From: mihai manuta []
> Sent: 05 July 2001 16:12
> To:
> Subject: RE: Most useful Tag library Poll
> Maybe the DBtaglib is the most used library. I mean... I cannot think of a
> Web application without DB access.
> Sincerely,
> Mihai Manuta
> tel: +336.

View raw message