SessionHandle sessionHandle = DesignEngine.newSession( ULocale .getDefault( ) );
SessionHandle sessionHandle = new DesignEngine( new DesignConfig( ) ) .newSessionHandle( ULocale.getDefault( ) );
	public ReportDesignHandle getDesignHandle( String name, InputStream in )			throws DesignFileException	{		// Create new design session		SessionHandle sessionHandle = DesignEngine.newSession( ULocale				.getDefault( ) );		// get the resource locator form the options and set it to the session		// handle		IResourceLocator locator = (IResourceLocator) options				.get( ModuleOption.RESOURCE_LOCATOR_KEY );		if ( locator != null )		{			sessionHandle.setResourceLocator( locator );		}		// Obtain design handle		ReportDesignHandle designHandle = null;		ModuleOption modOptions = new ModuleOption( options );		if ( in != null )			designHandle = sessionHandle.openDesign( name, in, modOptions );		else			designHandle = sessionHandle.openDesign( name, modOptions );		return designHandle;	}