Business Objects XI SDK Example, Part 1 비즈니스 오브젝트 XI SDK를 예, 제 1 부
The following example walks through a simple use of the Java SDK for XI. 다음 예제는 XI 용 Java SDK의 사용을 통해 간단하게 걸어간다. It explains in a step-by-step manner how the Business Objects SDK can be used in conjunction with some complementary technologies - a python script. 그것은 단계에서 - 의해 - 단계 방식으로 비즈니스 오브젝트의 SDK를 일부 보완하는 방법을 기술과 함께 사용할 수있는 설명 - python 스크립트.
To illustrate SDK usage we will build a utility script that emails the contents of a Web Intelligence data source as a csv or tab delimited output. 우리는 유틸리티 스크립트를 구축할 것입니다 SDK를 사용을 설명하기 위해서는 CSV 또는 탭으로 구분된 출력으로 웹 인텔리 전스 데이터 원본의 이메일 내용.
Why base the output on the BO data source? 왜 볼로냐 데이터 소스에있는 출력 기지?
Because of the nature of reports being intended for human readability, various elements are included in a report that would be undesirable for system to system communication. 보고서의 성격 때문에 인간의 가독성을위한 다양한 요소가 리포트에 포함하는 시스템의 통신 시스템을위한 것이 바람직하지 의도하고있다. For example, reports typically have logo files, report dates, etc. When converting a report to csv these "human intended" elements can cause problems. 예를 들어, 보고서는 일반적 등 csv로이 "인간의 의도가"요소에 문제가 발생할 수있는 리포트를 변환 로고 파일, 보고서의 날짜가.
We want clean, tabular output. 우리는, 표 형식의 출력을 깨끗히 해둬.
A quick way of learning a new API is to take supplied example code and modify. 새로운 API를 배우는 가장 빠른 방법은 예제 코드 공급 및 수정을하는 것입니다.
So for this example, we will take the examples included with the Buiness Objects SDK as a starting point. 그래서 예를 들면, 우리는 예를 걸릴 것입니다 Buiness 객체 SDK와 함께 출발점으로 포함되어있습니다.
The functionality will be exposed as a call to a java web application (WAR), and will thus be easily deployable. 이 기능은 Java 웹 응용 프로그램 (전쟁)를 호출하며, 따라서 쉽게 노출 될 배치할 예정이다.
The primary components of the example this little system are: 예를이 작은 시스템의 주요 구성 요소가있습니다 :
1. Web application (.war file) - contains SDK code 웹 응용 프로그램 (. war 파일) - SDK는 코드가 포함되어있는
2. Python script (report-mailer.py) - talks to the web app Python 스크립트 (보고서 - mailer.py) - 담 웹 애플 리케이션을
3. Configuration file - text file that stores configuration information, one file per report emailed 구성 파일 - 텍스트 파일을 저장하는 구성 정보, 보고서는 당 하나의 파일을 이메일로 전송
This example is intended for a non-packaged report with a single data source (query). 이 예제에 대한 의도가 아닌 - 단일 데이터 소스 (검색어)와 함께 보고서는 포장. Based on the configured document identifier (docIdentifier in the config file), it will pull the data source from the latest instance and email the contents as requested in the configuration file. 구성된 문서 식별자에 config 파일에 (docIdentifier)을 바탕으로, 최신의 인스턴스에서 데이터 소스를 가져옵니다과 구성 파일에서 요청한 내용으로 이메일을 보내주세요.
With a little modification of the python script, we could supply output in a number of different formats. 파이썬 스크립트의 약간의 수정과 함께, 우리는 여러 가지 다른 형식의 출력을 공급할 수있다. We could write to the local file system in an ftp accessible directory (available for "pull" by other systems). 우리는 로컬 파일 시스템에 액세스할 수있는 FTP 디렉토리 (에 해당하는 ""다른 시스템에 의해) 당겨 쓸 수있습니다. We could "push" the data to another server via FTP, SFTP, SCP, etc. 우리 ""는 FTP, SFTP를, SCP가, 등등을 통해 다른 서버로 데이터를 밀어 내자
The war is deployed into a java application server (eg Tomcat). 이 전쟁은 자바 애플 리케이션 서버로 ()는 Tomcat 예 배치됩니다. This can be the same server or a different one than the one running BO. 이것은 같은 서버 또는 하나의 실행 볼로냐가 아닌 다른 한 수있습니다.
The example code supplied by Busness Objects is packaged with jars such that they can run standalone (from a BOXI server). 이 예제 코드는 비즈니스 오브젝트가 제공하는 항아리와 함께 패키지되어 그들의 독립형 a BOXI 서버 ()에서 실행할 수있습니다.
Continued in Business Objects XI SDK Example , Part 2 비즈니스 오브젝트 XI SDK를 예, 제 2 부에서 계속
Spread the word 확산 단어
del.icio.us Digg Furl Reddit del.icio.us Digg Digg에 추가 Furl furl Reddit
Trackback uri 트랙백 URI를
http://www.boguru.com/business-objects-xi-sdk-example-1-part-1/trackback/ http://www.boguru.com/business-objects-xi-sdk-example-1-part-1/trackback/



















1 Comment on Business Objects XI SDK Example, Part 1 » 비즈니스 오브젝트 XI SDK를 예, 제 1 부»에 1 개의 코멘트
Business Objects XI SDK Example, Part 2 @ 1:25 pm (Pingback) 비즈니스 오브젝트 XI SDK를 예, 제 2 부 @ 오후 1시 25분 (Pingback)
[…] 10, 2007Business Objects XI SDK Example, Part 2 Continued from Business Objects XI SDK Example, part 1 In this post, we'll go over how we can use a python script to process BO XI Java SDK CSV output. [...] 10, 2007Business 오브젝트 XI SDK를 예, 제 2 부 비즈니스 오브젝트 XI SDK를 예,이 기사에서는 1 부에서 계속, 우리는 우리가 어떻게 볼로냐 XI의 Java SDK를 CSV 출력 처리하는 데 사용할 수있습니다 python 스크립트로 갈 거예요. […] [...]