Weblogic起步(一) - 配置数据源

简介: 1. In the my_domain domain structure, expandthe Services tab and select the Data Sources node. In the Data Sources table, clickon New and select Gener...

1. In the my_domain domain structure, expand
the Services tab and select the Data Sources node. In the Data Sources table, click
on New and select Generic Data Source as shown in the following screenshot

 

2. In Create a New JDBC Data Source, specify a data source name and JNDI Name
(for example, jdbc/OracleDS) for the data source. The database shall be accessed
using JNDI Name lookup in the Creating a session bean facade section. Select
Database Type as Oracle and click on Next as shown in the following screenshot

 

3. In JDBC Data Source Properties, select Database Driver as Oracle's Driver (Thin
XA). Another JDBC driver may also be selected based on requirements. Refer to
the Selection of the JDBC Driver document available at http://docs.oracle.com/
cd/E14072_01/java.112/e10590/keyprog.htm#i1005587 for selecting a suitable
JDBC driver. Click on Next as shown in the following screenshot:

 

4.Specify Database Name, Host Name as localhost, Port as 1521, Database User
Name and Password, and click on Next as shown in the following screenshot

 

5. The Driver Class Name textbox and connection URL textbox get configured. Click
on the Test Configuration button to test the database connection. If a connection gets
established the message Connection test succeeded. gets displayed. Click on Next as
shown in the following screenshot

 

6. 最后成功画面

 

 

 

 

 

目录
相关文章
|
7月前
|
应用服务中间件
weblogic配置、修改日志保存目录、配置滚动日志
weblogic配置、修改日志保存目录、配置滚动日志
|
Oracle IDE 关系型数据库
Eclipse配置weblogic 10(图文)
Eclipse配置weblogic 10(图文)
251 0
|
XML SQL 开发框架
Weblogic安装与配置详解
Weblogic安装与配置用Eclipse MyEclipse WebLogic8.1开发第一个Web程序1.安装jreEclipse虽然由java开发,但本身并不自带jre。所以你必须先自己安装,去http://java.sun.com/downloads下载最新J2SE1.4.2_03的jre安装文件j2re-1_4_2_03-windows-i586-p.exe。安装成功后,重启机器,并将jre的bin文件夹路径添加到系统环境变量PATH中,如:C:\Program Files\Java\j2re1.4.2_03\bin。
458 0
|
XML SQL 开发框架
weblogic教程:配置MyEclipse的WebLogic服务器
weblogic教程:配置MyEclipse的WebLogic服务器 。 MyEclipse默认的应用服务器为JBoss3,这里我们使用WebLogic8.1。启动Eclipse,选择“窗口首选项”菜单,打开首选项对话框。展开MyEclipse下的Application Servers结点,点击JBoss 3,选中右面的Disable单选按钮,停用JBoss 3。然后点击WebLogic 8,选中右边的Enable单选按钮,启用WebLogic服务器。同时下面的配置
237 0
|
Java 应用服务中间件 网络安全
|
应用服务中间件 数据库 数据库连接
|
应用服务中间件 数据安全/隐私保护 Java
|
关系型数据库 MySQL Java
|
Java 数据库连接 应用服务中间件