tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felipe Schnack <feli...@ritterdosreis.br>
Subject Re: JSP's, scriplets, and logic
Date Mon, 28 Oct 2002 13:49:08 GMT
  My approach is to have some servlets and lots of beans :-)
  Roughly speaking, I execute any database query in servlets, fetch data
into beans use standard taglibs to show data (mainly tags to iterate
bean collections and to get bean values). I use the request taglib a lot
too.


On Mon, 2002-10-28 at 12:41, Matt Fury wrote:
> Yes, 
> 
> Again I agree, it can get sloppy. So what would you
> reccommend? Many servlets? many beans? Just curious
> thats all. Lots of times I think there isn't much to
> separate. I am asking because I strive to become a
> better programmer as we all do. Advancing to higher
> levels means understanding business logic. I worked
> for a company who partnered with Rational so we were
> all about business logic. 
> 
> I don't have a problem taking this offline for a bit
> if anyone wants to discuss furthur.
> 
> Thanks.
> 
> -Matt
> 
> 
> 
> --- wsweetman@mac.com wrote:
> > No its just good design.  Its thinking of the
> > future.  Badly 
> > partitioned code is one of the prime reasons that
> > leads to 
> > unmaintainable code
> > On Friday, October 25, 2002, at 08:43 PM, Matt Fury
> > wrote:
> > 
> > > Yes I agree,
> > >
> > > but not all projects warrant EJB's or the like.
> > > I think lots of times trying to separate business
> > > logic is just overkill.
> > >
> > > -Matt
> > >
> > > --- John Trollinger <jakarta@trollingers.com>
> > wrote:
> > >>
> > >>> Which implies you're putting code in scriptlets,
> > >> right?  Sheesh ...
> > >>>
> > >>> Java code to implement business logic belongs in
> > >> Java
> > >>> classes, not intermixed with your presentation
> > >> markup in a JSP page.
> > >>
> > >>
> > >> If only more people would listen to this!!!!!
> > >>
> > >>
> > >> --
> > >> To unsubscribe, e-mail:
> > >>
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > >> For additional commands, e-mail:
> > >> <mailto:tomcat-user-help@jakarta.apache.org>
> > >>
> > >
> > >
> > > =====
> > > ------------------------
> > > int myName() {
> > >   cout << "-Matt Fury \n";
> > >   return 0;
> > > }
> > > ------------------------
> > >
> > > __________________________________________________
> > > Do you Yahoo!?
> > > Y! Web Hosting - Let the expert host your web site
> > > http://webhosting.yahoo.com/
> > >
> > > --
> > > To unsubscribe, e-mail:   
> > >
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > > For additional commands, e-mail: 
> > > <mailto:tomcat-user-help@jakarta.apache.org>
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> > <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> > <mailto:tomcat-user-help@jakarta.apache.org>
> > 
> 
> 
> =====
> ------------------------
> int myName() {
>   cout << "-Matt Fury \n";
>   return 0;
> }
> ------------------------
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> 
> --
> To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
> 
-- 

Felipe Schnack
Analista de Sistemas
felipes@ritterdosreis.br
Cel.: (51)91287530
Linux Counter #281893

Faculdade Ritter dos Reis
www.ritterdosreis.br
felipes@ritterdosreis.br
Fone/Fax.: (51)32303328


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message