Bug 330873 Enable the ODA Runtime framework to run on non-OSGi platform
The ODA framework currently requires an ODA runtime extension to run as an OSGi bundle. This enhancement calls for enabling support to run on non-OSGi platform, if needed, such as in a J2EE application without OSGi.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/odaconsumer/ConnectionManager.java
public Connection openConnection( String dataSourceElementId, 
									  Properties connectionProperties,
									  Map appContext )
		throws DataException
	{
		final String methodName = "openConnection"; 
		
		if( getLogger().isLoggingEnterExitLevel() )
			getLogger().entering( sm_className, methodName, 
								new Object[] { dataSourceElementId, connectionProperties } );
		
		try
		{
            DriverManager driverMgr = DriverManager.getInstance();
            
            
            
            IDriver driverHelper = (appContext != null && ! appContext.isEmpty() ) ?
                driverMgr.getNewDriverHelper( dataSourceElementId ) :
                driverMgr.getDriverHelper( dataSourceElementId );
            
            appContext = addProfileProviderService( appContext );
			
			 
			
            
			driverHelper.setAppContext( appContext );
			
            String dataSourceId = 
                driverMgr.getExtensionDataSourceId( dataSourceElementId );