4 Replies Latest reply: Apr 19, 2010 11:04 AM by 843833 RSS

    Simpler Front Controller than Pet Store?

    843833
      Does anyone know where I can find an example of a Front Controller that is simpler than the Pet Store's? Thanks.


      Ken
        • 1. Re: Simpler Front Controller than Pet Store?
          796254
          Cross-post:

          http://forum.java.sun.com/thread.jsp?thread=506193&forum=425&message=2399377
          http://forum.java.sun.com/thread.jsp?thread=506962&forum=33&message=2403820
          http://forum.java.sun.com/thread.jsp?thread=506455&forum=121&message=2400820

          Didn't like the advice he got in the first thread.

          You'd have it written by now if you'd just think about it. - MOD

          • 2. Re: Simpler Front Controller than Pet Store?
            796254
            I doubt that anybody's going to give such a thing to you, especially in light of your poor attitude.

            If you understand the PetStore example so well, and have such a clear vision of what you'd like to leave out, why don't you take a crack at it yourself and stop waiting around for others to do your thinking and work for you?

            You'll get a lot more mileage out of the forum if you try to write something and come back to ask specific questions when you have problems. That way you can post code and get advice.

            If you really want someone to write such a thing for you, why don't you ante up with some REAL dollars and pay someone? People who answer the forum are volunteers, after all. Who do you think you are demanding code? - MOD
            • 3. Re: Simpler Front Controller than Pet Store?
              843833

              Hi,

              I dont have another example, but there is a brief document describing the front controller that might help you at

              http://java.sun.com/blueprints/patterns/FrontController.html

              hope that helps,
              Sean
              • 4. Re: Simpler Front Controller than Pet Store?
                843833
                What is the link to Java PetStore Sample code. I want to learn Front Controller.