1 Reply Latest reply on Feb 27, 2018 8:29 AM by jaikiran pai

    Wildfly 12- JEE8 and json binding api

    Ben Schofield Novice

      I installed and ran Wildfly 12cr1 with an application that uses the new JEE 8 json binding api.  I found the jboss modules which support the javax.json.bind api are all disabled and need the ee8.preview.mode property to be set.

       

      <module name="javax.json.bind.api" xmlns="urn:jboss:module:1.7">

          <properties>

              <property name="jboss.api" value="public"/>

          </properties>

          <resources>

              <resource-root path="javax.json.bind-api-1.0.jar">

                  <conditions>

                      <property-equal name="ee8.preview.mode" value="true"/>

                  </conditions>

              </resource-root>

          </resources>

          <dependencies>

              <module name="javax.json.api"/>

              <module name="org.eclipse.yasson" services="import"/>

          </dependencies>

      </module>

       

      What's the plan for Wildfly 12.  Will it be a JEE8 certified container?  Or will all the JEE8 features be "preview" and we need to wait for Wildfly 13 to have all the JEE8 APIs out of the box?

        • 1. Re: Wildfly 12- JEE8 and json binding api
          jaikiran pai Master

          The release announcement has a bit more details on the plans for EE 8 support [wildfly-dev] 12.0.0.CR1 released! . Specifically it states:

           

          WildFly 12 is the first release in our new quarterly delivery model. The most significant feature is delivery of new EE8 capabilities. As mentioned during the original 12 announcement, we are delivering EE8 functionality incrementally, as opposed to waiting for a big bang. WildFly 12 includes Servlet 4, JAX-RS 2.1, CDI 2.0, Bean Validation 2.0, JSF 2.3, JSON-B, JSON-P 1.1, and Javamail 1.6.

           

          By default WildFly 12 runs in EE7 mode, but you can enable EE8 variants of the standard by starting the server with the special parameter “-Dee8.preview.mode=true”.