프로세스 응용프로그램 데이터 소스 및 세트 참조 설정 구성

특정 데이터베이스 하부 구조에 대한 SQL 문을 실행하는 프로세스 응용프로그램을 구성해야 할 수 있습니다. 이러한 SQL 문은 정보 서비스 활동에서 생성될 수도 있고 프로세스 설치 또는 인스턴스 시작 시 실행되는 명령문이 될 수도 있습니다.

이 타스크의 수행 목적 및 시기

응용프로그램 설치 시, 다음 데이터 소스 유형을 지정할 수 있습니다.

SQL 스니펫 활동을 실행하는 데 필요한 데이터 소스는 tDataSource 유형의 BPEL 변수에서 정의됩니다. SQL 스니펫 활동에 필요한 데이터베이스 스키마 및 테이블 이름은 tSetReference 유형의 BPEL 변수에서 정의됩니다. 이들 두 변수 모두의 초기값을 구성할 수 있습니다.

wsadmin 도구를 사용하여 데이터 소스를 지정할 수 있습니다.

이 타스크의 단계

  1. wsadmin 도구를 사용하여 프로세스 응용프로그램을 대화식으로 설치하십시오.
  2. 데이터 소스 및 세트 참조를 갱신하는 타스크가 나올 때까지 단계에 따라 타스크를 수행하십시오.

    환경에 맞게 설정을 구성하십시오. 다음 예는 이러한 각 타스크에서 변경할 수 있는 설정을 설명합니다.

  3. 변경사항을 저장하십시오.

예: wsadmin 도구를 사용하여 데이터 소스 및 세트 참조 갱신

예: wsadmin 도구를 사용하여 데이터 소스 및 세트 참조 갱신

데이터 소스 갱신 타스크에서는 프로세스 설치 또는 시작 시 사용한 명령문 및 초기 변수값에 대한 데이터 소스 값을 변경할 수 있습니다. 세트 참조 갱신 타스크에서는 데이터베이스 스키마 및 테이블 이름과 관련된 설정을 구성할 수 있습니다.

타스크[24]: 데이터 소스 갱신

//Change data source values for initial variable values at process start

Process name:  Test
// Name of the process template					
Process start or installation time:  Process start	
// Indicates whether the specified value is evaluated 
//at process startup or process installation
Statement or variable:  Variable	
// Indicates that a data source variable is to be changed		
Data source name:  MyDataSource 
// Name of the variable			
JNDI name:[jdbc/sample]:jdbc/newName	
// Sets the JNDI name to jdbc/newName
		
타스크[25]: 세트 참조 갱신

// Change set reference values that are used as initial values for BPEL variables

Process name:  테스트
// Name of the process template					
Variable:  SetRef	
// The BPEL variable name
JNDI name:[jdbc/sample]:jdbc/newName	
// Sets the JNDI name of the data source of the set reference to jdbc/newName
Schema name: [IISAMPLE]
// The name of the database schema
스키마 접두부:  []:
// The schema name prefix. 
// This setting applies only if the schema name is generated.
Table name: [SETREFTAB]: NEWTABLE
// Sets the name of the database table to NEWTABLE
테이블 접두부:  []:// The table name prefix.
// This setting applies only if the table name is generated.		
관련 태스크
스크립트를 사용한 응용프로그램 전개
wsadmin 스크립트 클라이언트 시작

ⓒ Copyright IBM Corporation 2005, 2006.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org)