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"> الأعمال SDK مثال الكائنات الحادي عشر ، الجزء 1

Business Objects XI SDK Example, Part 1 الأعمال SDK مثال الكائنات الحادي عشر ، الجزء 1

The following example walks through a simple use of the Java SDK for XI. المثال التالي من خلال المشي البسيطة باستخدام جافا 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 يمكن استخدامها جنبا إلى جنب مع بعض تكنولوجيات متكاملة -- بيثون السيناريو.

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. وظيفة وسوف تعرض على أنها دعوة إلى تطبيق جافا ويب (حرب) ، وبذلك يكون من السهل للنشر.

The primary components of the example this little system are: والمكونات الأساسية للنظام على سبيل المثال تذكر هذه هي :

1. Web application (.war file) - contains SDK code تطبيق ويب). ملف الحرب) -- يتضمن قانون SDK

2. Python script (report-mailer.py) - talks to the web app بيثون السيناريو (تقرير - 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. وتستند الوثيقة تهيئتها للهوية (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). نستطيع الكتابة إلى نظام الملفات المحلية في متناول دليل بروتوكول نقل الملفات (المتاحة لل"الانسحاب" من قبل النظم الأخرى). We could "push" the data to another server via FTP, SFTP, SCP, etc. يمكننا أن "الدفع" لآخر البيانات عبر خادم بروتوكول نقل الملفات ، SFTP ، جنة الخصخصة ، الخ.

The war is deployed into a java application server (eg 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). على سبيل المثال قانون العمل المقدمة من الكائنات هو تعبئتها مع الجرار بحيث يمكن تشغيلها بذاتها (من BOXI الخادم).

Continued in Business Objects XI SDK Example , Part 2 واستمر في العمل SDK مثال الكائنات الحادي عشر ، الجزء 2

Spread the word انتشار كلمة

del.icio.us Digg Furl Reddit del.icio.us Digg لف Reddit

Permalink Print Comment Permalink طباعة التعليق

Trackback uri Trackback أوري

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 » 1 التعليق على الأعمال SDK مثال الكائنات الحادي عشر ، الجزء 1 »

[…] 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 الأجسام SDK مثال الحادي عشر ، الجزء 2 من استمرار الأعمال SDK مثال الكائنات الحادي عشر ، الجزء (1) في هذا المنصب ، ونحن نذهب الى ما يزيد على الطريقة التي يمكننا استخدام بيثون السيناريو الفرعي لعملية الحادي عشر جافا SDK CSV الانتاج. […] [...]

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 . لإثبات أنك شخص (غير المرغوبة سكريبت) ، اكتب النص الأمن مبين في الصورة. اضغط هنا لتجديد بعض النص الجديد.
انقر لتستمع للملفات الصوتية للكلمة لمكافحة البريد المزعج