Java
  Home arrow Java arrow Displaying Data from a Data-centric Web Pa...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
JAVA

Displaying Data from a Data-centric Web Page with Sun Java Creator 2
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    2006-10-18

    Table of Contents:
  • Displaying Data from a Data-centric Web Page with Sun Java Creator 2
  • Referencing a Data Source
  • Connecting Table to Data
  • Displaying the Data

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


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


    (Page 1 of 4 )

    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.

    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.

    More Java Articles
    More By Jayaram Krishnaswamy


       · Microsoft dazzled developers with data centric web pages with no coding. But then...
     

    JAVA ARTICLES

    - 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 ...
    - Generics and Limitations in Java
    - Getting Started with Java Web Development in...






    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
    Stay green...Green IT