JSP « J2EE « Java Articles

Java Articles
1. Class Definition
2. Data
3. Development
4. GUI
5. J2EE
6. J2ME
7. JavaBeans
8. Language
9. Microsoft Collabration
10. Network
11. Swing
12. System Resource
13. XML
Microsoft Office Word 2007 Tutorial
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Products
Java by API
C# / C Sharp
C# / CSharp Tutorial
ASP.Net
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
PHP
Python
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Java Articles » J2EE » JSP 
1. Encapsulate reusable functionality in JSP tags
Author:Simon Brown
URL:http://www.javaworld.com/javaworld/jw-08-2000/jw-0811-jsptags.html?
Summary: JavaServer Pages (JSP) are a great mechanism for delivering dynamic Web-based content. JSP provides a set of predefined tags, but you can also define your own tag extensions that encapsulate common functionality. This article will show how easy it is to build, deploy, and use your own custom JSP tag, using the Servlet/JSP reference implementation, Tomcat. (1,700 words)


2. JSP templates
Author:David Geary
URL:http://www.javaworld.com/javaworld/jw-09-2000/jw-0915-jspweb.html?
Summary: Window toolkits typically provide a layout mechanism that positions widgets in a container. For example, AWT and Swing have layout managers, and VisualWorks Smalltalk has wrappers. This article presents a template mechanism for JSP that allows layout to be encapsulated and reused. JSP templates minimize the impact of layout changes and encourage modular design. (1,600 words)


3. Foundations of JSP design patterns: The View Helper pattern
Author:Andrew Patzer
URL:http://www.javaworld.com/javaworld/jw-11-2004/jw-1101-viewhelper.html
Summary: This article, an excerpt from Foundations of JSP Design Patterns (Apress, 2004), describes the View Helper pattern and shows how to build a few useful view helpers that you can add to your own toolkit. (2,300 words; November 1, 2004)


4. Isolate server includes' runtime context
Author:Borislav Iordanov
URL:http://www.javaworld.com/javaworld/jw-12-2003/jw-1205-dynamic.html?
Summary: Dynamically included JavaServer Pages (JSP) pages and servlets offer simple, but limited means for frontend code encapsulation and reuse. A dynamically included resource often relies on runtime data (request parameters, JSP-scoped attributes), and this restricts the runtime context from which it can be included. This article shows how to achieve true black-box reuse of frontend logic in the form of JSP pages or Java servlets, by wrapping the servlet request object and effectively creating a local runtime context for an included resource. (2,900 words; December 5, 2003)


5. Combine the power of XPath and JSP tag libraries
Author:Stanley Santiago
URL:http://www.javaworld.com/javaworld/jw-01-2001/jw-0126-xpath.html?
Summary: In this article, we'll examine the XPath custom tag library for JSPs and see a tag collection that provides simple control constructs and a uniform attribute value substitution facility, all of which combine to reduce complexity and improve functionality. Additionally, this enables a clear separation between the roles of a page author and a programmer. (2,500 words)


6. Call JavaBean methods from JSP 2.0 pages
Author:Andrei Cioroianu
URL:http://www.javaworld.com/javaworld/jw-05-2003/jw-0523-calltag.html?
Summary: JavaServer Pages (JSP) 2.0 introduced many new features that will change the way you develop Java Web applications. In this article, Andrei Cioroianu walks you through three examples that show how to separate the JSP/HTML markup from the Java code using the new expression language (EL) and developing custom tags with dynamic attributes. You'll be able to reuse this article's generic JSP tag in your own applications to invoke JavaBean methods in a way that lets you take advantage of the JSP 2.0 expression language. (3,000 words; May 23, 2003)


7. Add the power of asynchronous processing to your JSPs
Author:Tarak Modi
URL:http://www.javaworld.com/javaworld/jw-02-2001/jw-0209-jms.html?
Summary: Applications based on message-oriented middleware (MOM), such as Java Messaging Service (JMS), tend to be more scalable than those based on remote procedure call (RPC) middleware, such as RMI. But that added scalability does not come for free. Because it forces the developer to think in a discontinuous and unnatural mode, asynchronous programming is inherently more complex than synchronous programming. In this article, Tarak Modi shows how to bring the power of JMS to JavaServer Pages developers who are excellent at content development but not interested in the intricacies of asynchronous programming. (3,700 words)


8. JSP Standard Tag Library eases Webpage development
Author:Steve Small
URL:http://www.javaworld.com/javaworld/jw-02-2003/jw-0228-jstl.html?
Summary: The release of JavaServer Pages (JSP) Standard Tag Library (JSTL) is a significant development for JSP/servlet developers. With an expression language (EL) and a set of four powerful, easy-to-learn standard tag libraries, JSTL is likely to soon become the dominant approach for implementing dynamic, Java-based Websites. (4,100 words; February 28, 2003)


9. More JSP best practices
Author:Dustin Marx
URL:http://www.javaworld.com/javaworld/jw-07-2003/jw-0725-morejsp.html?
Summary: Advancements in the JavaServer Pages (JSP) specification, along with increased availability of JSP development tools and increased coverage of JSP development techniques, have facilitated the development of highly maintainable and standardized JSP-based Web applications. This article discusses key instances of these advancements and how each progression enables easier development of robust JSP Web applications. This article's best practices will help you make the most of JSP's strengths and prepare you to take advantage of future JSP enhancements. (5,000 words; July 25, 2003)


10. Call JavaBean methods from JSP 2.0 pages
Author:Andrei Cioroianu
URL:http://www.javaworld.com/javaworld/jw-05-2003/jw-0523-calltag.html?
Summary: JavaServer Pages (JSP) 2.0 introduced many new features that will change the way you develop Java Web applications. In this article, Andrei Cioroianu walks you through three examples that show how to separate the JSP/HTML markup from the Java code using the new expression language (EL) and developing custom tags with dynamic attributes. You'll be able to reuse this article's generic JSP tag in your own applications to invoke JavaBean methods in a way that lets you take advantage of the JSP 2.0 expression language. (3,000 words; May 23, 2003)


ww__w.__j___a__v___a_2___s___._c_o__m_ | Contact Us
Copyright 2003 - 08 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.