String fullClassName = getClass().getPackage() + "." + spClass;
String fullClassName = getClass().getPackage().getName() + "." + spClass;
    private void loadStoredProcedure( String spClass ) throws NamingException    {        URL url = getClass().getResource( spClass + ".class" );        InputStream in = getClass().getResourceAsStream( spClass + ".class" );        File file = new File( url.getFile() );        int size = ( int ) file.length();        byte[] buf = new byte[size];        try        {            in.read( buf );            in.close();        }        catch ( IOException e )        {            NamingException ne = new NamingException();            ne.setRootCause( e );            throw ne;        }                String fullClassName = getClass().getPackage() + "." + spClass;                Attributes attributes = new BasicAttributes( "objectClass", "top", true );        attributes.get( "objectClass" ).add( "javaClass" );        attributes.put( "fullyQualifiedClassName", fullClassName );        attributes.put( "byteCode", buf );                sysRoot.createSubcontext( "fullyQualifiedClassName=" + fullClassName, attributes );    }