Java
  Home arrow Java arrow Page 3 - 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  
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

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 - Adding an Oracle 10G XE data source to Creator 2


    (Page 3 of 5 )

    In the Server's window, make a right click on the Data Sources node to add a new data source as shown in the next picture by clicking on the drop-down menu item, Add Data Source....

    This opens up the window Add Data Source. Insert the information as shown. The name of the data source is Ora10GXE; this gets added to the server node when this window is closed after furnishing the validation table name. Oracle 10G XE is installed on the machine named Hodentek. You also need to put in the User ID and the Password. Now to provide a name for the validation table, click on the Select button.

    This opens the list of tables in Oracle 10G XE as shown. Identify the validation table you created in an earlier step, HR.ORAVAL and click on the Add button.

    This opens up the connection status window as shown. For the details supplied earlier and the validation table chosen, the connection status is showing OK. Click on the OK button and the Ora10gxe datasource gets added to the data source node in the server.

    Now you can expand the Oracle 10G XE dataSource in the Server's window and review all the tables, views and so on you can access from inside Creator 2.

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