/** * EJB 3.2 Lite functionality is supported in Web project targeting Java EE 7 * web profile and wherever full EJB 3.2 is supported. * * @return {@code true} if the project is targeting full or web profile Java EE 7 platform * @since 1.76 */ public boolean isEjb32LiteSupported() { J2eeModule.Type moduleType = provider.getJ2eeModule().getType(); boolean ee7Web = ejbJarProfile != null && ejbJarProfile.equals(Profile.JAVA_EE_7_WEB); return isEjb32Supported() || (J2eeModule.Type.WAR.equals(moduleType) && ee7Web); }