Chapter 19. Servlets and JavaServer Pages—Best Practices

In the preceding chapters, you saw servlets and JavaServer Pages in action. From a purely technical level, they are essentially interchangeable technologies. However, the intended developer for each technology is vastly different. How can you best leverage the skill sets inherent in Java programmers and HTML programmers? Common design patterns used in computer science are easily applicable to this problem. The most directly applicable pattern is the Model-View-Controller (MVC) pattern, which helps to delineate responsibilities between the presentation layer (usually the JSP) and the ...

Get BEA® WebLogic Platform 7 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.