is Listener more comment than Observer in Java code?