changed method of ejb lookup, little bit ugly now