Presentation is loading. Please wait.

Presentation is loading. Please wait.

Scheduling Java Objects Using the SDK Matthias Nott, Business Objects.

Similar presentations


Presentation on theme: "Scheduling Java Objects Using the SDK Matthias Nott, Business Objects."— Presentation transcript:

1 Scheduling Java Objects Using the SDK Matthias Nott, Business Objects

2 Slide 2 Copyright © 2006 Business Objects S.A. All rights reserved. Breakout Information Scheduling Java Objects Using the SDK  Business Objects provides a multi-level Java SDK for integration, customization, and extension of the Business Objects business intelligence (BI) platform. Discover how the Business Objects Java SDK allows you to schedule Java objects to the Business Objects XI repository. This session, specifically designed for Java developers will demonstrate how to develop an application, that based on information available in the database will schedule reports as PDF and email them to recipients. The presentation will feature live programming and the developed code will be available to attendees along with documentation.  Print_Code (please leave for Business Objects use)

3 Slide 3 Copyright © 2006 Business Objects S.A. All rights reserved. This Breakout… Intended audience  Java developers  Those considering developing in Java Using the SDK—the easy way  BOInterface  Repository Explorer Demonstrate  How to build the solution step-by-step  The finished solution  Where to get the finished code

4 Slide 4 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

5 Slide 5 Copyright © 2006 Business Objects S.A. All rights reserved. SDK library that greatly simplifies using the SDK  You do not have to worry about document types  Most common SDK tasks 1 line of code  Does not limit you, it helps you Helps you to employ best practices on your projects  Based on 4 years of development  More than 30,000 lines of code behind the scenes  Actively used by customers worldwide Consulting solution  Ask your account manager  Ask local professional services contact  Ask me matthias.nott@businessobjects.commatthias.nott@businessobjects.com What Is BOInterface?

6 Slide 6 Copyright © 2006 Business Objects S.A. All rights reserved. What Is BOInterface?

7 Slide 7 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

8 Slide 8 Copyright © 2006 Business Objects S.A. All rights reserved. What Is Repository Explorer?

9 Slide 9 Copyright © 2006 Business Objects S.A. All rights reserved. What Is Repository Explorer? Eclipse plug-in Built with BOinterface Reveals the repository content Know everything about objects Debug your SDK queries See immediate effects of your programs

10 Slide 10 Copyright © 2006 Business Objects S.A. All rights reserved. Repository Explorer: Repository While Developing

11 Slide 11 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

12 Slide 12 Copyright © 2006 Business Objects S.A. All rights reserved. BOReport

13 Slide 13 Copyright © 2006 Business Objects S.A. All rights reserved. Use the Documentation: BOReport Package

14 Slide 14 Copyright © 2006 Business Objects S.A. All rights reserved. Use the Documentation: BOReport Class

15 Slide 15 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReport To Open a Session

16 Slide 16 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReport To Reuse a Session

17 Slide 17 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Creating a Session You need a BOReport object Security requires the following information:  Username  Password  CMS name  Authentication type Open the session with initSession(…) You get a session ID in return

18 Slide 18 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Reusing a Session You need a BOReport object You can reuse a session created in a completely different JVM This is a very simple way to use single sign-on scenarios  Create a simple web application  A link points to InfoView for “Power Users”  A simple JSP in front of InfoView recycles the session using useSession(sessionId) getCESession()

19 Slide 19 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

20 Slide 20 Copyright © 2006 Business Objects S.A. All rights reserved. BOReportHandler

21 Slide 21 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportHandler To Open a Document

22 Slide 22 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Opening a Document You need a BOReportHandler object Instantiate it with new BOReportHandler(boReport) To open a document, use getStorageToken(…) A storage token is a handle to a document

23 Slide 23 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

24 Slide 24 Copyright © 2006 Business Objects S.A. All rights reserved. BOReportHandler

25 Slide 25 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportHandler To Work with Documents

26 Slide 26 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportHandler To Set Prompts

27 Slide 27 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOPromptHolder For Special Prompts

28 Slide 28 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOPromptHolder For Special Prompts

29 Slide 29 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Setting Prompts You again need the BOReportHandler Object You also need a BOPromptHolder For special Prompts see Javadoc of BOPromptHolder To set the prompts, use setPrompts(storageToken, prompts) A new storage token is returned

30 Slide 30 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

31 Slide 31 Copyright © 2006 Business Objects S.A. All rights reserved. BOReportViewer

32 Slide 32 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportViewerPDF to get a PDF

33 Slide 33 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Getting a Report in PDF You need a BOReportViewerPDF Object Instantiate it with new BOReportViewerPDF(boReport) To get a document in PDF, use getDocumentPDF(storageToken)

34 Slide 34 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

35 Slide 35 Copyright © 2006 Business Objects S.A. All rights reserved. BOReportScheduler

36 Slide 36 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerSMTP for Mail Schedules

37 Slide 37 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerSMTP for Mail Schedules

38 Slide 38 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerSMTP for Mail Schedules

39 Slide 39 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerSMTP.Metadata

40 Slide 40 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerSMTP.Metadata

41 Slide 41 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerHelper.Metadata

42 Slide 42 Copyright © 2006 Business Objects S.A. All rights reserved. Use BOReportSchedulerHelper.Metadata

43 Slide 43 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Scheduling a Report To SMTP You need a BOReportSchedulerSMTP object Instantiate it with new BOReportSchedulerSMTP(boReport) Use metadata to specify what to do To schedule, use scheduleReport(storageToken, metadata)

44 Slide 44 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

45 Slide 45 Copyright © 2006 Business Objects S.A. All rights reserved. Tools

46 Slide 46 Copyright © 2006 Business Objects S.A. All rights reserved. Use Tools – ProgramObject as Template

47 Slide 47 Copyright © 2006 Business Objects S.A. All rights reserved. Use Tools – ProgramObject as Template

48 Slide 48 Copyright © 2006 Business Objects S.A. All rights reserved. Use Tools – ProgramObject as Template

49 Slide 49 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Scheduling a Program Object You use Tools – ProgramObject as template Run it from the command line for testing Schedule it to the enterprise system Runs with the credentials of the user for whom it was scheduled You automatically have  Parameters from properties file  Command line parameters  All SDK objects Anything you can program with BOInterface, you can schedule

50 Slide 50 Copyright © 2006 Business Objects S.A. All rights reserved. What is BOInterface? What is Repository Explorer? Step 1 Create a Session Step 2 Open a Document Step 3 Set Prompts Step 4 Get PDF Step 5 Schedule to SMTP Step 6 Create and Schedule Program Object Step 7 Create User, Create Group, Associate Both Q&A Topics

51 Slide 51 Copyright © 2006 Business Objects S.A. All rights reserved. BOAdmin

52 Slide 52 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

53 Slide 53 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

54 Slide 54 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

55 Slide 55 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

56 Slide 56 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

57 Slide 57 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

58 Slide 58 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

59 Slide 59 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

60 Slide 60 Copyright © 2006 Business Objects S.A. All rights reserved. Use the BOAdmin Package For Administration

61 Slide 61 Copyright © 2006 Business Objects S.A. All rights reserved. Recap: Administrating Users and Groups You need a BOAdmin object Instantiate it with new BOAdmin(boReport) You can also extend the metadata of any object in the repository e.g. use setUserProperty(…)

62 Slide 62 Copyright © 2006 Business Objects S.A. All rights reserved. Questions  Matthias Nott Contact information  Email: matthias.nott@businessobjects.commatthias.nott@businessobjects.com Q&A


Download ppt "Scheduling Java Objects Using the SDK Matthias Nott, Business Objects."

Similar presentations


Ads by Google