integrated qaa java code