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


    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. 最后成功画面

    技术改变世界
  • 相关阅读:
    NOsql总结
    关于Swift中的指针的那些事
    并发控制的概念
    并发控制--Concurrency control--乐观、悲观及方法
    数据库的三大系统
    数据库沉思录
    代码结构化(分层)阅读
    代码阅读困难的原因
    数据库锁与并发
    SQLite事务、错误与自动回滚
  • 原文地址:https://www.cnblogs.com/davidgu/p/2902633.html
Copyright © 2020-2023  润新知