Although this was in response to Geir's post, I'm guessing it's for
me...

Anyway, no, I haven't. This is the first time I'm looking at this
project on Sourceforge. Although there isn't a great deal of
documentation on the site, isn't this thing a tag library that revolves
around JSP's? 

I would be very happy if my PumpServlet (7 kB compressed) was similar in
functionality to a 700+ kB project :-) but I don't think that's the
case. These guys have an API and all, my servlet is just a servlet. It
is actually declared final since I didn't even provide hooks to extend
it. Apart from init(), only doPost() actually does something. As it
turns out, the lion's share of the work is done by Velocity and the
beans that were supplied to it. This leaves:

- a web designer hammering out VTL pages and using the beans
- a programmer writing beans without ever touching servlet API

which was what I intended.

You see, I suffer from 'split personality disorder', since in my own
company I have to work sometimes as a programmer and sometimes as a web
designer. If things go well, one day other people will be doing those
things and I don't think mixing the two is very healthy (just look what
it did to me ;-). Therefore the pump...

--- Switch to rant mode ---
But the underlying idea of this servlet is to use Velocity, because I
think JSP's are just plain wrong (although much better than servlets to
the untrained eye). If you consider the fact that with JSP's every page
is a servlet that gets generated, compiled, loaded and then executed, it
seems like a lot of stress on the container. Why would anyone convert an
HTML document into Java code when it's eventually going to be pushed out
as text, is really beyond me. We all learnt that doing println()'s from
servlets is bad, and that's exactly what JSP's come down to.
--- End rant mode ---

Bojan

Dave Bryson wrote:
> 
> This sounds interesting.  Have you looked at WebWork?
> Http://www.sourgeforge.net/projects/webwork  It sounds like you
> have some similiar functionality.
> 
> Dave
> 
> "Geir Magnusson Jr." wrote:
> >
> > Any chance of an Apache-like license?
> >
> > geir
> >
> > Bojan Smojver wrote:
> > >
> > > It is available from here: ftp://ftp.binarix.com/pub/pump/pump.tar.gz
> > >
> > > Bojan
> > >
> > > Andrew Freeman wrote:
> > > >
> > > > I'd be interested in seeing it just because of how you handled the
> > > > ByteArrayOutputStream.
> > > >
> > > > Andy
> >
> > --
> > Geir Magnusson Jr.                           [EMAIL PROTECTED]
> > System and Software Consulting
> > Developing for the web?  See http://jakarta.apache.org/velocity/
> > Well done is better than well said - New England Proverb

Reply via email to