TARGET_J2EE compilation & integration fixes.