Model-View-Controler for Java Server Pages

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):

  1. PXSL Servlet
  2. The trouble with Java Server Pages
  3. Servlet Programming for Teams
  4. More on running Tomcat under OS X
  5. XML syntax for Java Server Pages

More like this: , , .