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

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 / 3
October 18, 2006
TABLE OF CONTENTS:
  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
SEARCH DEVARTICLES

TOOLS YOU CAN USE

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

Double click the Data Source Reference node in the project directory, which brings up the following window from which you may add a Data Source Reference by choosing one of the existing data sources. 2k5Java is a datasource which was added to Sun Java Creator 2's Data Sources as described in a previous article. 2K5Java obtains its data by virtue of a connection established with the SQL 2005 Server. It is really effortless to connect to a data source as the interface is very easy and GUI-driven.

You will be using the 2k5Java source for this tutorial. Highlight 2k5Java and click on the Add button.

Adding a table object to the page

The object of adding a table object is to use the table as a container for the data that is retrieved from the data source. You add the table by double clicking the control in the Palette. By default, the controls will be added to the top, left corner of the web page and you may drag them to some other location if you wish. The row/column numbering is explicitly shown and the table object comes up with a default having three columns and five rows as shown.


blog comments powered by Disqus
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...

Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 



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