JSP / JavaBean design question

From: Chad (chadahahn_at_yahoo.com)
Date: 11/04/03

  • Next message: Fred: "Re: Do you still choose java????"
    Date: 4 Nov 2003 11:15:55 -0800
    
    

    I am about to start a project to build an e-commerce solution using
    JSP technology. I'm going to write the middle tier business logic
    inside java classes. Should I make the classes javabeans and stick to
    the design patterns specified for javabean classes, or should I simply
    make the business objects simple java classes? What would be the
    benefit of making the middle tier business objects javabeans?

    As a side note, is there any reason for me to consider servlets? I
    have sort-of written servlets off, since JSP pages get compiled into
    servlets and they can serve as my UI layer, while simple java classes
    or javabeans can serve as my middle tier business layer.

    All ideas and comments are welcome. Thanks in advance...

    Chad


  • Next message: Fred: "Re: Do you still choose java????"

    Relevant Pages

    • Re: JSP / JavaBean design question
      ... > JSP technology. ... I'm going to write the middle tier business logic ... Should I make the classes javabeans and stick to ... > make the business objects simple java classes? ...
      (comp.lang.java.developer)
    • How to re-use existing classes in JSP/JavaBeans/Servlets
      ... this is somewhat of a neophyte question but I don't know where else ... What is the best way to integrate existing Java classes into a web ... I looked into JavaBeans, but this technique seems to have ... Servlets seem like the way to go, but it seems I lose the ability to ...
      (comp.lang.java.programmer)
    • Re: How to re-use existing classes in JSP/JavaBeans/Servlets
      ... thecrow wrote: ... What is the best way to integrate existing Java classes into a web ... I looked into JavaBeans, but this technique seems to have ... mix HTML with the code. ...
      (comp.lang.java.programmer)