JavaServer Pages (JSP), an extension of Sun Microsystems' Java Servlet technology for creating Web applications, allows developers to embed Java code directly into HTML Web pages. Aimed at speeding Web application development, JSP separates the Web interface logic from the back-end content generation logic so that Web designers and Web developers can work on the same Web page without getting in each other's way.



JSP offers several significant advantages over the other technologies that fuel dynamic applications:

  • It makes it easier for individual team members to focus on the parts of Web pages that most concern them. Because JSP files look like HTML files with extra tags, designers can easily modify page layout, graphics, colors and so on without having any (or only very basic) knowledge about Java. On the other hand, developers can easily test application flow and logic by creating raw JSP files and leaving graphical design details for designers.

  • It makes the presentation and logic easier to understand. Clean JSP files present the HTML with very few other tags, so it is easy to look at the page and determine what the resulting page will look like. Moreover, JSP frees the Java code from statements about how to produce HTML code so it can focus entirely on the application logic. The increased code focus and clarity allow for faster development.

  • It creates a relatively simple way to change the application's look and feel (or even produce alternative sets of pages for different purposes) without having to change the application's logic. For example, you could produce one set of pages for WML browsers, a different set for regular HTML browsers and yet another set that uses XML--all without touching the actual logic implementing the application. In this scenario, the testing performed on one version's application logic would carry over to the other versions, reducing the number of bugs overall.

However, because JSP blends Java and HTML (or XML) to create a new paradigm, it not only inherits the pitfalls of its borrowed languages but is also fraught with new problems unique to the mixture. In this article, we'll provide a handful of testing tips that should help you improve the reliability of your applications that use JSP.

-1-

1  2  3  4  

   Next Page

Explore Our Topics

  • EDITOR'S BRIEFING
ebizQ editorial highlights and updates, compiled by Site Editor Anne Stuart
  • Today's trends: BPM suites are more popular than ever, according to recent BPTrends research. ebizQ Site Editor Anne Stuart shares highlights from the report.
  • Agility e-zine: Don't miss the second issue of ebizQ's new Business Agility Insights e-zine for updates on two key BPM standards and expert advice on decision management.
  • Burning question: How useful is BPM for addressing compliance issues? Join the discussion on the ebizQ Forum.
  • ebizQ editorial: Browse our collection of independent editorial content, including articles, tips, Q & As, podcasts, guest columns, book excerpts and more.
  • Want to contribute to ebizQ? Read our editorial guidelines,then contact Site Editor Anne Stuart (astuart@techtarget.com).
  • Virtual Conferences
  • Webinars
  • Roundtables

BPM in Action

March 10, 2011

The sixth annual BPM in Action 2011 Virtual Conference will explore cutting-edge market developments in BPM and describe how to leverage them for improved business operation and performance. More

View All Virtual Conferences

Best Practices in Moving Processes to the Clouds

Date:Apr 07, 2010
Time:13:00 PM ET- (17:00 GMT)

REGISTER TODAY!

How Can the Cloud Fit Into Your Applications Strategy?

Date:Apr 07, 2010
Time:12:00 PM ET- (16:00 GMT)

REGISTER TODAY!
View All Roundtables
  • Research Library
  • Podcasts
  • News

Joe McKendrick: Part II of II: Designing Evolve-ability into SOA and IT Systems

In part two of Joe McKendrick's recent podcast with Miko Matsumura, chief strategist for Software AG, they talk about how SOA and IT systems need to change and grow and adapt with the organization around it.

Listen Now

Phil Wainewright: Helping Brands Engage with Social Media

Phil Wainewright interviews David Vap, VP of products at RightNow Technologies, and finds out how sharing best practices can help businesses understand how best to engage with online communities.

Listen Now

Peter Schooff: Making Every IT Dollar Result in a Desired Business Outcome: Scott Hebner of IBM Rati

Scott Hebner, Vice President of Marketing and Strategy for IBM Rational, discusses a topic on the top of every company's mind today: getting the most from IT investments.

Listen Now

Jessica Ann Mola: Where Will BI Fit In? Lyndsay Wise Explains

In BI, this tough economy and the increasing role of Web 2.0 and MDM are certainly topics on people's minds today. WiseAnalytics' Lyndsay Wise addresses each of them in this informative podcast.

Listen Now

Dennis Byron: Talking with...Deepak Singh of BPM Provider Adeptia

Deepak Singh, President and CTO of Adeptia, joins ebizQ's Dennis Byron in a podcast that gets its hand around the trend of industry-specific BPM.

Listen Now
More Podcasts
  • Most Popular
  • Quick Guide
  • Most Discussed

Quick Guide: What is BPM?

Learn More

Quick Guide: What is Event Processing?

Smart event processing can help your company run smarter and faster. This comprehensive guide helps you research the basics of complex event processing (CEP) and learn how to get started on the right foot with your CEP project using EDA, RFID, SOA, SCADA and other relevant technologies. Learn More

Quick Guide: What is Enterprise 2.0?

A lot of people are talking about Enterprise 2.0 as being the business application of Web 2.0 technology. However, there's still some debate on exactly what this technology entails, how it applies to today's business models, and which components bring true value. Some use the term Enterprise 2.0 exclusively to describe the use of social networking technologies in the enterprise, while others use it to describe a web economy platform, or the technological framework behind such a platform. Still others say that Enterprise 2.0 is all of these things. Learn More


E-Zine: BPM Quarterly

This new publication from our sister site SearchSOA.com explores workflow, business activity monitoring (BAM) and complex event processing (CEP) issues.

Featured Bloggers

Peter Schooff's Latest Blog Posts:

Read Peter Schooff's Blog
Michael Poulin's Latest Blog Posts:

Read Michael Poulin's Blog
Scott Cleveland's Latest Blog Posts:

Read Scott Cleveland's Blog
Janne J. Korhonen's Latest Blog Posts:

Read Janne J. Korhonen's Blog
Adrian Grigoriu's Latest Blog Posts:

Read Adrian Grigoriu's Blog
Steven Minsky's Latest Blog Posts:

Read Steven Minsky's Blog
Anne Stuart's Latest Blog Posts:

Read Anne Stuart's Blog

View All ebizQ Bloggers