Overview JavaServer Pages (JSP)
Java Server Pages (JSP) created by Sun Microsystems (1998) is their online solution for creating dynamic web content on the fly. Sun describe JSP, “JSP technology provides a simplified, fast way to create web pages that display dynamically-generated content." (http://java.sun.com)JSP is a combination of scriptlets and java on the server side. The client side browser is only plain html. JSP can use other APIs in the same way as JAVA. This is because JSP’s heart is set in Sun’s JAVA technology, allowing JSP to merge its HTML feel with dynamic JAVA components resulting in rich dynamic web-based content/applications.
In a similar method to HTML’s which uses tags, JSP can has several predefined tags available out of the box helping to reduce bloated or the need to duplicated code. JSP1.1 allowed developers to build their own tag based library, giving the ability to reuse and encapsulate code in an even better object orientated fashion.
JavaBeans are a similar principle to tags. Both can be used to encapsulate functionality within pages. Tiring to differentiate which to use where is what JAVA developer Simon Brown reported on in his recent online article, he went on to describe JavaBeans as “non-visual components, better for maintaining session information” and tags as “actions common functionality that generates dynamic HTML or controls the page in some way” (Encapsulate reusable functionality, javaworld.com)
This page was created on:
Last modified: 08/29/2006









