Home arrow Java arrow Displaying Data from a Data-centric Web Page with Sun Java Creator 2

Displaying Data from a Data-centric Web Page with Sun Java Creator 2

Most of our activities are data-centric and will become more so even if our communication mode moves on to an increasingly message-driven architecture. Most application software programs place a major emphasis on how data is retrieved, displayed, manipulated, recorded and archived. Sun Java Studio Creator 2 is no exception.

Author Info:
By: Jayaram Krishnaswamy
Rating: 4 stars4 stars4 stars4 stars4 stars / 5
October 18, 2006
  1. · Displaying Data from a Data-centric Web Page with Sun Java Creator 2
  2. · Referencing a Data Source
  3. · Connecting Table to Data
  4. · Displaying the Data

print this article

Displaying Data from a Data-centric Web Page with Sun Java Creator 2
(Page 1 of 4 )

Another direction that software programs are headed is in the pursuit of Rapid Application Development. RAD translates to writing less and less code without losing the functionalities achieved by programs fortified with bulletproof code. This article shows how effortless it is to display data from a data server on a web page using the Sun Java Studio Creator 2.

Creating a Web Page

It will be helpful if readers can review the article JSP Basics with Java Studio Creator 2 for VB Programmers which described the Sun Java Creator 2 IDE in considerable detail. The article also described some of the tasks like adding a control to the web page, creating and responding to an event raised by the control, adding images, and so forth.

You may create a new project in the New Project window which may be accessed from the menu item file in its drop-down option, New Project.... You will be choosing to create a JSF Web Application project, which will be called DisplayData. It may be useful to remember where the files and folders for the project are created. The Project may be stored in a location of your choice, but in this tutorial the defaults are accepted as shown.

This simple act of creating a project has created a whole support structure for the project as evidenced in this project directory tree. For formatting the display you have the support of a stylesheet.css and a number of themes.

The project also has the default page, Page1.jsp, with all the necessary HTML markups, as well as the built-in Request, Session and Application beans as shown in the next picture. By default, the page comes up with the default layout, GridLayout. This may be changed to FlowLayout if desired.

blog comments powered by Disqus

- Java Too Insecure, Says Microsoft Researcher
- Google Beats Oracle in Java Ruling
- Deploying Multiple Java Applets as One
- Deploying Java Applets
- Understanding Deployment Frameworks
- Database Programming in Java Using JDBC
- Extension Interfaces and SAX
- Entities, Handlers and SAX
- Advanced SAX
- Conversions and Java Print Streams
- Formatters and Java Print Streams
- Java Print Streams
- Wildcards, Arrays, and Generics in Java
- Wildcards and Generic Methods in Java
- Finishing the Project: Java Web Development ...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials