11 Replies Latest reply on Aug 8, 2013 7:41 AM by arjant

    jsr88 wildfly

    dzcs

      Hello Together,

       

      I have red that Wildfly is going to drop jsr88 support. They say that JSR88 ist not in JEE7 anymore. But I have seen it here http://docs.oracle.com/javaee/7/api/javax/enterprise/deploy/spi/package-summary.html

       

      Does anybody know if it would be supported or not? If not then what instead?

       

      If we looking for solutions to update our packages and do deployments on JBoss 7 and 8 (Wildfly) which technology shall we take?

       

      Many thanx in advance!

        • 1. Re: jsr88 wildfly
          sfcoy

          From the "Java Platform, Enterprise Edition (Java EE) Specification, v7":

          {quote} Java EE 7 further simplifies the platform by making optional the technologies that were identified as candidates for pruning in Java EE 6, namely: EJB Entity Beans, JAX-RPC 1.1, JAXR 1.0, and JSR-88 1.2. {quote}

           

          AFAIK,  JBossAS/WildFly 8 is dropping all of these technologies.

          • 2. Re: jsr88 wildfly
            dzcs

            Hi Stephen,

             

            thanx for that. I have seen this too.

             

            Sorry, if I would ask rather begginer question, but how can technology be optional if it is in JEE7 API? I would understand the optional technology if it would be delivered as separate JSR88 artifact. In this case developers will have to use this dependency explicitly and be aware of this. Then everything is fine and the world is safe. But the fact is you can see JSR88 packages in API Documentation and in javax.javaee-api-7.0 artifact which can be found in central maven repository. Do you understand my point?

             

            The second problem is still what to use for automation of deployment process.

             

            By the way how is the wether in Australia?

            • 3. Re: jsr88 wildfly
              sewatech

              Hi Dmitri,

               

              You should probably ask to the expert group. For me, optional is not really different from no more in JavaEE.

               

              And for your automation, you should use jboss-cli or a management API (HTTP or native).

               

              Alexis

              • 4. Re: jsr88 wildfly
                dzcs

                Thanx Alexis,

                 

                I agree with you. Optional for me sounds like it is not there, but it is there.

                 

                jboss-cli is a proprietary interface. That's why I was looking for some standards.

                 

                But anyway thank you for response.

                • 5. Re: jsr88 wildfly
                  sfcoy

                  Sure the API is there. But if you try and use it you're likely to see something like java.lang.UnsupportedOperationException being thrown from a stub implementation.

                   

                  My understanding is that it was dropped due to poor vendor support, which would be a side effect of low uptake by developers.

                   

                  It's the middle of winter here, so it only hit 22°C today.

                  • 6. Re: jsr88 wildfly
                    dzcs

                    Nice weather Stephen!

                     

                    Well, I understand of course what would happen. But it just strange for me. My opinion above. But never the less suggestion would be to use CLI. Is there any examples or documentation on CLI API?

                    • 7. Re: jsr88 wildfly
                      sfcoy

                      Have a look at https://docs.jboss.org/author/display/AS71/CLI+Recipes and https://docs.jboss.org/author/display/AS72/CLI+Recipes, which regretably contains different examples at the moment.

                       

                      You might also find Persistent alias in jboss-cli interesting.

                      1 of 1 people found this helpful
                      • 8. Re: jsr88 wildfly
                        dzcs

                        Thank you Stephen!

                        • 9. Re: jsr88 wildfly
                          sewatech

                          I've put together some examples of jboss-cli commands in my wiki : http://www.jtips.info/index.php?title=WildFly/cli

                          Explanations are in french, but commands won't change

                          • 10. Re: jsr88 wildfly
                            henk53

                            Alexis Hassler wrote:

                             

                            I've put together some examples of jboss-cli commands in my wiki : http://www.jtips.info/index.php?title=WildFly/cli

                            Explanations are in french, but commands won't change

                            Completely and utterly off-topic, but just curious: why did you wrote those explanations in French then?

                            • 11. Re: jsr88 wildfly
                              arjant

                              Stephen Coy wrote:

                               

                              Sure the API is there. But if you try and use it you're likely to see something like java.lang.UnsupportedOperationException being thrown from a stub implementation.

                               

                              My understanding is that it was dropped due to poor vendor support, which would be a side effect of low uptake by developers.

                               

                              Any idea why JBoss specifically supported it poorly and went out to create their own proprietary solution? Was the JSR 88 core functionality or architecure so bad that it really couldn't be improved upon?