1 2 Previous Next 19 Replies Latest reply on Nov 15, 2011 4:14 PM by jbalunas Go to original post
      • 15. Re: AS7 JAX-RS Quickstart with mobile POH5
        gbrey

        Yep, should be better

        • 16. Re: AS7 JAX-RS Quickstart with mobile POH5
          santiagococo

          Hi guys, sorry I'm distracted with some production problems at my work, I hope to correct them for tomorrow !! to get back on the quickstart as soon as I can!

           

          Gaston.

           

          Pd: Gustavo I hope to checkout your code tonight ,so I can start working on the test cases tonight.

          • 17. Re: AS7 JAX-RS Quickstart with mobile POH5
            jbalunas

            No worries Gaston!  I've been busy working on a different archetype, but this should be able to shift back focus here.

            • 18. Re: AS7 JAX-RS Quickstart with mobile POH5
              jbalunas

              A few comments based on the current updates:

               

              • Tasks should have a completed field (Boolean)
              • Tasks should have a due date
              • Projects should have a completed field (Boolean)
              • Rest calls that would be useful
                • gets for all services take a matrix parameter for completed
                  • If not set return all
                  • if set only return the type requested
              • Why limit this to only JSON in the quickstart name
                • This should show both imo
              • Bean validation should be used to enforce some of the fields
                • Name can't be null
                • Date can't be in the past
                • etc...
              • The calls should throw proper response codes for invalid requests
                • take a look at the html5-mobile archetype in the jboss-as/archetype pull request for an example

               

              Other than that this is right track!!  When do you think you'll be able to get some more of this in?

              • 19. Re: AS7 JAX-RS Quickstart with mobile POH5
                jbalunas
                • Projects could also have a title and description.
                  • + task count ?
                • The json request for projects returns empty tasks because of lazy loading
                1 2 Previous Next