Notice»

Recent Post»

Recent Comment»

Recent Trackback»

Archive»

« 2025/9 »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30

 

'Java -/Spring'에 해당되는 글 1

  1. 2009.10.26 Spring setting
 

Spring setting

Java -/Spring | 2009. 10. 26. 16:18 | Posted by 신b
- 스프링은 간단히 EJB를 사용하지 않고 엔터프라이즈 어플리케이션을 개발하는 방법이라고 할수있다.
 
1. DataSource 설정

<Resource auth="Container" driverClassName="oracle.jdbc.driver.OracleDriver" maxActive="100" maxIdle="30" maxWait="10000" name="jdbc/oracle" password="1234" type="javax.sql.DataSource" url="jdbc:oracle:thin:@localhost:1521:XE" username="spring"/>

2.
 - spring-framework-2.5.6-with-dependencies\spring-framework-2.5.6\dist\modules 의 파일과,
 spring-framework-2.5.6\dist 의 spring.jar 파일을 복사(webmvc-portlet, webmvc-struts파일 제외) 하여
 C:\Program Files\Apache Software Foundation\Tomcat 6.0\lib 경로에다가 붙여넣기!
   http://www.springsource.org/download 에서 spring-frameword-2.5.6-with-depenencies.zip파일 받기!


3. 이클립스 플러그인 설정
 - Help -  Install new Software 클릭!!
  - Work with에 추가!! - Location을 http://springide.org/updatesite 로 지정! -  밑에 5개 파일 선택! Group items by category해제후 Spring IDE AJDT Integration(optional) 만 해제후 next !! I agree 후 finish !!

4.
 - 사용하고자 하는 프로젝트의 WEB-INF에 밑에 파일 복사!! 

이클립스에서 Quantum DB 사용하기!!
1. eclipse-jee-galileo-win32\eclipse 경로에 압축풀고 폴더 덮어쓰기!!                 
2. 오른쪽 상단 버튼 클릭!! other 클릭!! Quantum DB 선택!
 - New Bookmark 클릭! - Add Driver - Add External Jar - ojdbc14.jar 선택! - Oracle JDBC 선택
 - Userid와 Password 적고 Databasename(sid(xe)) 적은후 next - oracle 적고 피니쉬!!!
: