Java
  Home arrow Java arrow Querying Oracle 10G XE using Sun Java Crea...
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  
Moblin 
JMSL Numerical Library 
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

Querying Oracle 10G XE using Sun Java Creator 2
By: Jayaram Krishnaswamy
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 3
    2006-12-06

    Table of Contents:
  • Querying Oracle 10G XE using Sun Java Creator 2
  • Creating a table in Oracle 10G XE
  • Adding an Oracle 10G XE data source to Creator 2
  • Adding data to the page
  • Displaying the Query results

  • 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


    Querying Oracle 10G XE using Sun Java Creator 2


    (Page 1 of 5 )

    Microsoft ASP.NET 2.0 provides an excellent platform for developing data centric applications. Data manipulation within the IDE is supported by an excellent query editor. Sun Java Studio Creator IDE with the JSF framework also has excellent support and this article shows how it is carried out.

    For this tutorial the data comes from Oracle 10G XE. With Oracle 10G XE and Sun Java Studio Creator 2 being free downloads, it will be worth working these for those who want to acquire skill in these products. For VB programmers who want to branch out to Java this is an excellent path to pursue. Readers will benefit from reading the previous article, Displaying Data from a Data-centric Web Page with Sun Java Creator 2.

    The Query Editor Project

    This project is called the Query Editor Project. You may create this as a New Java Server Faces Web Application from the main menu item File and the drop-down from it, the New Project. Java Server Faces is a server-side program resembling ASP or JSP; if you are new to using this IDE, you may review the following article. It provides the necessary framework for graphic user interface based applications based on Java. You provide the name in the window that pops up when you create a new project.

    Creating a Validation table in Oracle 10G Xe

    The validation table is necessary for the IDE to make sure that a connection exists and is still valid. The application in Creator 2 obtains its database connections from the Sun Java application server's connection pool. The application server queries the validation table to make sure that the connection is valid. The Test Connection button (which you will see in a later window) also does the same behind the scenes. This table must exist. Although any table can be used, it better be a table which is accessible, and very small. Therefore before you bring data into Creator 2, short for Sun Java Studio Creator 2, you must create a Validation table, a tiny table with no data used just for the express purpose of establishing connection.

    More Java Articles
    More By Jayaram Krishnaswamy


       · I am a mostly Microsoft guy and when I used Sun Java Studio Creator 2, I was quite...
     

    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 1 hosted by Hostway
    Stay green...Green IT