English flagItalian flagGerman flagSpanish flagFrench flagPortuguese flagRussian flag
IC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Business Objects XIのSDKの例は、パート1

Business Objects XI SDK Example, Part 1 Business Objects XIのSDKの例は、パート1

The following example walks through a simple use of the Java SDK for XI.次の例では、 Java SDKのXIの簡単な使用して歩く。 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.これはステップバイステップの方法では、 Business Objectsの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形式やタブ区切りの出力としては、 Web Intelligenceのデータソースの電子メールの内容。

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 Webアプリケーション( WAR )を呼び出すと、露出されるため、簡単に展開されます。

The primary components of the example this little system are:ほとんどの例は、このシステムの主要コンポーネントがあります:

1. 1 。 Web application (.war file) - contains SDK code Webアプリケーション( 。 warファイル) - SDKのコードが含まれて

2. 2 。 Python script (report-mailer.py) - talks to the web app Pythonスクリプト(報告mailer.py ) -会談は、 Webアプリケーションに

3. 3 。 Configuration file - text file that stores configuration information, one file per report emailed設定ファイル-テキストファイルには、店舗の構成情報、レポートごとに1つのファイルをメールで送信

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.構成の文書の識別子には、設定ファイルで( docIdentifier )は、最新のインスタンスからのデータソースをプルし、設定ファイルに要求する内容のメール。

With a little modification of the python script, we could supply output in a number of different formats. Pythonのスクリプトを少し修正を加えて、さまざまな形式での出力を供給可能性がある。 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).戦争は、 Javaアプリケーションサーバーに( ) Tomcatの例を展開しています。 This can be the same server or a different one than the one running BO.これは、同じサーバーまたはボーとは別の1つ1つを実行することができます。

The example code supplied by Busness Objects is packaged with jars such that they can run standalone (from a BOXI server).この例のコードをBusiness Objectsが提供するJARファイルにパッケージ化されては、スタンドアロンのサーバーBOXI ( )から実行できるようになります。

Continued in Business Objects XI SDK Example , Part 2 Business Objects XIのSDKの例は、パート2の続き

Spread the wordという言葉を広める

del.icio.us Digg Furl Reddit del.icio.us Digg米Furl巻き上げる しかし、

Permalink Print Comment 固定リンク 印刷 コメント

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 » Business Objects XIのSDKの例は、パート1 »を1つのコメント

Business Objects XI SDK Example, Part 2 @ 1:25 pm (Pingback) Business Objects XIのSDKの例は、第2部 @ 1:25午後 (ピングバック)

[…] 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 Objects XIのSDKの例は、パート2 Business Objects XIのSDKの例は、この記事ではパート1からの続きは、どのようにボーXIのJava SDKのCSVファイルの出力を処理するためのPythonスクリプトで使用することが行くよ。 […] [ ... ]

Leave a Commentコメントを残しなさい




* ) *
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text . あなたは人(ないスパムのスクリプト) 、タイプは、セキュリティテキスト画像表示して証明するここをクリックして新しいテキストを再生成する
オーディオファイルをクリックして、反スパムの単語を聞いて