I’ve been leery of Java Server Pages because I don’t want to deal with keeping presentation and buisness logic unentangled. I’ve felt the right way to do that was to have business objects which produced XML, piping their output through servlets with XSL parsers to produce HTML. This Java World article demonstrates a different approach. A Java Bean contains the rules about the object. A servlet handles the interactions between the Bean and a Java Server Page which is only responsible for producing the appropriate HTML.
Possibly Related posts (machine generated):