O'Reilly logo

Sams Teach Yourself EJB in 21 Days by Krishna Kothapalli, Ragae Ghaly

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Learning JavaServer Pages

Servlets provide an excellent mechanism for handling user requests for dynamic content, but they lack a useful way of displaying the response. Servlets rely on hard-coding of the presentation within the Java code. Any change in the look and feel of the presentation requires change to the code. This also mixes the roles of Web designers and Java programmers, which leads to chaos in the development process. JSP was developed to answer these concerns.

Servlets incorporate a tight coupling of content and logic, which reduces application flexibility. With JSP, you don't want to repeat the same issues. JSPs should be used with static content templates and generate dynamic content by calling presentation logic outside the JSP. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required