DB Server Practice

egyptiannorweiganInternet και Εφαρμογές Web

31 Οκτ 2013 (πριν από 3 χρόνια και 9 μήνες)

67 εμφανίσεις

WebLogic + JDBC Driver +
DB Server Practice

장성봉

Http://ejavaschool.com.ne.kr

1. WebLogic + JDBC Driver +

Oracle


Oracle DB Server


WebLogic Application
Server


연결하여

Web Application


개발하


과정을

실습한다
.


순서


1.
Oracle
설치


2.
Oracle
사에서

제공하는

JDBC Driver
설치

3.
J2SDK
환경

설정



PATH
설정

4.
WebLogic
환경

설정

±

PATH
설정


5.
SQL


작성

6.

Application
작성

-


java class
파일

생성


Oracle Server JDBC Driver
downloading(1)

WebLogic Environment set (2)


JVM


class loader


88F¨

JVM class Path


d:
\
weblogic
\
startWeblogic.bat

파일에

설정한

.


-

setJAVA_CLASSPATH=

d:j2sdk
\
jre
\
lib
\
ext
\
classes12.zip;
d:
\
weblog
ic
\
lib
\
weblogic510sp4boot.jar;.
\
lib
\
weblo
gic510sp12boot.jar;.
\
classes
\
boot;.
\
eval
\
cloudscape
\
lib
\
cloudscape.jar

-

d:j2sdk
\
jre
\
lib
\
ext
\
classes12.zip;


Jdbc
driver path

Weblogic path
설정
(3)

J2SDK Environment set(1)

1. JDBC Driver
저장



-

c:
\
j2sdk1.4.0
\
jre
\
lib
\
ext Directory


classes12.zip

Driver copy
해서




2. PATH
설정


-

class
path=.%classpath%;c:
\
j2sdk1.4.0
\
jr
e
\
lib
\
ext
\
classes12.zip

JDBC Driver
저장
(2)

Class Path
설정
(3)

2. WebLogic + JDBC Driver +
MS
-
SQL Environment


JVM


class loader


88F¨

JVM class Path


d:
\
weblogic
\
startWeblogic.bat

파일에

설정한

.

-

set JAVA_CLASSPATH=

d:j2sdk
\
jre
\
lib
\
ext
\
jkjdbc.jar;
d:
\
weblogic
\
li
b
\
weblogic510sp4boot.jar;.
\
lib
\
weblogic51
0sp12boot.jar;.
\
classes
\
boot;.
\
eval
\
cloud
scape
\
lib
\
cloudscape.jar

-

d:j2sdk
\
jre
\
lib
\
ext
\
jkjdbc.jar;


MS
-
SQL
JDBC Driver path
2X9I
.

MS
-
SQL Driver Download site

http://tipstips.net/
(1)

Downloading(2)

d:j2sdk
\
jre
\
lib
\
ext Directory


jkjdbc.jar Driver
저장

(3)

J2SDK Environment set(1)


JDBC Driver
저장



-

c:
\
j2sdk1.4.0
\
jre
\
lib
\
ext
디렉토리


jkjdbc.jar

Driver copy
해서

저장


PATH
설정


-

class
path= .%classpath%;c:
\
j2sdk1.4.0
\
jre
\
lib
\
ext
\
jkjdbc.jar

JDBC Driver
저장
(2)

Class Path
설정
(3)