software/test/performance/src/org/LexGrid/LexBIG/util/RemoteServerUtil2.java
/**
     * Establish a remote LexBIG connection.
     * 
     */
Establish a remote LexBIG connection.
Establish a remote LexBIG connection .
public static EVSApplicationService createLexBIGService(String url) {
        if (url == null) {
            LexBIGService lbs = null;
            try {
                lbs = new LexBIGServiceImpl();
                return (EVSApplicationService) lbs;
            } catch (Exception ex) {
                return null;
            }
        }
        EVSApplicationService lbSvc = null;
        try {
            lbSvc = (EVSApplicationService) ApplicationServiceProvider
                    .getApplicationServiceFromUrl(url, _serviceInfo);
            return lbSvc;
        } catch (Exception e) {
            e.printStackTrace();
            return null;
        }
    }
public static EVSApplicationService createLexBIGService ( String url ) { if ( url == null ) { LexBIGService lbs = null ; try { lbs = new LexBIGServiceImpl ( ) ; return ( EVSApplicationService ) lbs ; } catch ( Exception ex ) { return null ; } } EVSApplicationService lbSvc = null ; try { lbSvc = ( EVSApplicationService ) ApplicationServiceProvider . getApplicationServiceFromUrl ( url , _serviceInfo ) ; return lbSvc ; } catch ( Exception e ) { e . printStackTrace ( ) ; return null ; } }
Establish a remote LexBIG connection.
Establish a remote LexBIG connection .