JavaBeat
JSP Home Articles Resources Tutorials FAQs Forums  


Page 1 of 15 articles
UseFul Links
JavaBeat Search
JavaBeat Blogs
SCWCD Mocks
SCJP 5.0 Mocks
AJAX Articles
JavaBeat Forums
Struts Articles
Spring Articles
JSF Articles
Hibernate Articles
Sponsors
Understanding JavaServer Pages Model 2 architecture
Despite its relatively recent introduction, JavaServer Pages (JSP) technology is well on its way to becoming the preeminent Java technology for building applications that serve dynamic Web content. Java developers love JSP for myriad reasons. Some like the fact that it brings the "write once, run anywhere" paradigm to interactive Web pages; others appreciate the fact that it is fairly simple to learn and lets them wield Java as a server-side scripting language. But most concur on one thing -- the biggest advantage of using JSP is that it helps effectively separate presentation from content. In this article, I provide an in-depth look at how you can gain optimal separation of presentation from content by using the JSP Model 2 architecture. This model can also be seen as a server-side implementation of the popular Model-View-Controller (MVC) design pattern. Please note that you should be familiar with the basics of JSP and servlet programming before continuing on, as I do not address any syntax issues in this article.
A very simple JSP-architecture
There's a lot of talk these days about J2EE and other advanced Java-architectures, and it's sure hot stuff--and interesting and relevant too. But you shouldn't forget that many smaller applications are best (and fastest) built using a simpler architecture.
Six Cool New JSP and Servlet Features
If you use a web container such as Tomcat 5.x, which supports Servlet API 2.4 and JSP 2.0, then you can use a number of useful new features. These include:
Serving Dynamic WAP Content with Java Server Pages
Here's how to create dynamic content for WAP-enabled mobile phones using the Wireless Markup Language (WML) and Sun Microsystems' Java Server API. Our Java Server Pages application displays regularly updated appointment data for someone on the move, such as an appliance engineer making house calls.
Building Java Server Pages
A detailed look at building JSP pages. Should you use JSP or servlets? It depends on the ratio of markup to code. Here you'll also find a guide to the different varieties of tag, and details about the main tags such as and .
JSP: The Back Door into Java
Edward Tanguay discovers JSP, and finds it finally allows him to put his theoretical knowledge of Java to use, and hence, get a foot into the Java programming world.
Tracking Users with Sessions and Cookies
Learn several ways, including hidden text, cookie objects, session objects, applications, and JavaBeans, to track users and the benefits of each one.
JSP Syntax for J2EE Programmers
Find out what JavaServer Pages are, and where they fit into the wider Java 2 Enterprise Edition picture. This sample chapter will introduce you to the standard actions used for forwarding and including, embedding applets, and interacting with JavaBeans.
Getting Started with JSP
Learn what JSP can help you do, how to set up your development environment and run the Tomcat Server, how to build and dissect your first JSPs, and examine JSP syntax and JSP online resources.
Servlets and JSP Pages Best Practices
Here's a compendium of the most elegant and efficient ways to use servlets and JSP pages in your web applications.
Developing Multilingual Web Applications Using JavaServer Pages Technology
Learn how to use JavaServer Pages for localization and multilingual applications.
Next>>


JavaBeat 2006, India | javabeat home | About Us | partners directory | Advertise with us