loading...

CS506 Web Design and Development GDB Solution Spring 2013

ABC Company is working on a newly assigned Java project which generate large amount of web contents dynamically. The critical requirements/constraints for this project includes:

i) Application should be efficient and secure.

ii) The application should be developed within limited time using Rapid Application Development (RAD) approach with existing team members.

The Project Manager needs your recommendations and you have the choice to use either servlets or Java Server Pages (JSP) or Both (Servlets and JSP).

Based on the above scenario, which choice you will prefer? In either case justify your selection with solid reason(s).

Solution:

JSP is better approach. JSP allows developers to easily distribute application functionality to a wide range of page authors. These authors do not have to know the Java programming language or know anything about writing servlet code, so they can concentrate on writing their HTML code while you concentrate on creating your objects and application logic.

  • JSP pages easily combine static templates, including HTML or XML fragments, with code that generates dynamic content.
  • JSP pages are compiled dynamically into servlets when requested, so page authors can easily make updates to presentation code. JSP pages can also be precompiled if desired.
  • JSP tags for invoking JavaBeans components manage these components completely, shielding the page author from the complexity of application logic.
  • Developers can offer customized JSP tag libraries that page authors access using an XML-like syntax.
  • Web authors can change and edit the fixed template portions of pages without affecting the application logic. Similarly, developers can make logic changes at the component level without editing the individual pages that use the logic.
DOWNLOAD SOLUTION HERE
loading...