Skip to Content
Author's profile photo MARC BOIZEAU

Back to SDK!

I’m  currently involved  in the   migration  of my  customer’s  BO environment  from  6.5 to X 3.1 SP 6.

After  seting up the dev’ platform  I’ve  just installed my own  java dev  workstation for BO XI:

-installed the XI 3.1 SP6  client

– expand  Eclipse Kepler

– create a new  java project

– add the BO libraries  (%Business Objects\BusinessObjects Enterprise 12.0%\classes) to the build path

-add the  following class:

import com.businessobjects.rebean.wi.ReportEngine;

import com.crystaldecisions.sdk.exception.SDKException;

import com.crystaldecisions.sdk.framework.CrystalEnterprise;

import com.crystaldecisions.sdk.framework.IEnterpriseSession;

import com.crystaldecisions.sdk.occa.infostore.IInfoStore;


* Classe de connexion au référentiel BO


public class ConnexionBO {


    private IEnterpriseSession enterpriseSession;

    private IInfoStore infoStore;

    private ReportEngine reportEngine;



    public ConnexionBO(String cmcAdmin, String cmcPasse, String cmcName, String typeAuth) throws SDKException {

        enterpriseSession = CrystalEnterprise.getSessionMgr().logon(cmcAdmin, cmcPasse, cmcName, typeAuth);       

        infoStore = (IInfoStore) enterpriseSession.getService(“InfoStore”);

        reportEngine = (ReportEngine) enterpriseSession.getService(“”,”WebiReportEngine”);



    public IInfoStore getInfoStrore(){

        return infoStore;


    public ReportEngine getReportEngine(){

        return reportEngine;



    public void close() {





Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.