Home arrow Oracle arrow Page 4 - Deploying J2EE Applications

Managing Data Sources - Oracle

In this week's part of a multi-part series covering OC4J and J2EE applications, you will learn how to deploy J2EE applications, create data sources, and more. This article is excerpted from chapter eight of the Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill; ISBN: 0072262710).

TABLE OF CONTENTS:
  1. Deploying J2EE Applications
  2. Types of Data Sources
  3. Creating Data Sources
  4. Managing Data Sources
  5. Deploying Web Application Modules
By: McGraw-Hill/Osborne
Rating: starstarstarstarstar / 5
March 15, 2007

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Here are the steps that enable you to manage data sources using the OC4J home page of the Application Server Control:

  1. On the OC4J home page, click the Administration tab.
  2. In the Application Defaults section, click Data Sources.
  3. In the Application Data Sources page (titled Data Sources), youíll see a list of all the available global data sources, which all the deployed applications can use. Figure 8-5 shows the Data Sources page. Notice the OracleDS default data source shown in that page, which is an emulated data source. This means that applications can use only a specific database through this data source. A non-emulated data source will let the application access multiple databases.
  4. You can create a new data source by clicking the Create button or edit a data source by clicking the Edit button in the Data Source Properties page. Youíve already seen how you can create a new data source in the previous section. Letís see how you can edit a data sourceís properties by using the Edit Data Source page, which you reach by clicking the Edit button.
  5. In the Edit Data Source page, shown in Figure 8-6, you can configure data sources so they are mapped to Oracle and non-Oracle databases. You can configure the following data source-Ė related attributes from this page:


    Figure 8-5.  The Data Sources Page



    Figure 8-6.  The Edit Data Source Page
    • Data source name
    • Data source class
    • JDBC URL
    • Database username and password
    • JNDI locations
    • Connection attributes

Now that you have learned how to create and manage data sources, letís turn to a discussion of the deployment methodologies for Web and EJB applications in the following subsections.



 
 
>>> More Oracle Articles          >>> More By McGraw-Hill/Osborne
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

ORACLE ARTICLES

- Oracle Java Security Woes Continue
- Oracle's New IaaS Cloud Option: There's a Ca...
- Oracle Acquires Eloqua to Boost Cloud Presen...
- Choosing Innovation: Oracle Survey Insights
- Oracle Fixes Privilege Escalation Bug
- Oracle`s Communications Service Availability...
- Oracle Releases Exalytics, Taleo Plans
- Oracle Releases Communications Network Integ...
- Oracle Releases Communications Data Model 11...
- Oracle Releases PeopleSoft PeopleTools 8.52
- Oracle Integrates Cloudera Apache Distro, My...
- Oracle Releases MySQL 5.5.18
- Oracle Announces NoSQL Database Availability
- Sorting Database Columns With the SELECT Sta...
- Retrieving Table Data with the LIKE Operator

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: