5 Replies Latest reply: Mar 6, 2008 1:37 PM by 843833 RSS

    Petstore 2.0 Architecture

    843833
      Hi.

      I am a newbie in this forum :)

      In these days i am working on the Pet Store 2.0 application, to try to undestrand it as well as possible.
      I have a question: there is any document architecture of this release?

      I found a lot of documentation about v1.3, but not for 2.0



      Ps: sorry for my bad english :)

      Thanks for your time.
        • 1. Re: Petstore 2.0 Architecture
          843833
          hi,

          i have seen lots of bad practices in this version of the PetStore. You should wait a little bit, to let them improve them..

          Regards,

          Fabian
          • 2. Re: Petstore 2.0 Architecture
            843833
            Hi,

            If you think you found some issues, you could always file them in the ssue tracker https://petstore.dev.java.net/servlets/ProjectIssues

            hth,
            Sean
            • 3. Re: Petstore 2.0 Architecture
              843833
              Hi,

              for some general info on petstore 2.0 architecture you could see some of the articles
              http://java.sun.com/developer/technicalArticles/J2EE/petstore/
              http://java.sun.com/developer/technicalArticles/J2EE/mashup_1/
              http://java.sun.com/developer/technicalArticles/J2EE/mashup_2/

              and some of the write ups based on petstore design at
              https://blueprints.dev.java.net/bpcatalog/ee5/ajax/usingJSFwithAJAX.html
              https://blueprints.dev.java.net/bpcatalog/ee5/persistence/webonlyapp.html
              https://blueprints.dev.java.net/bpcatalog/ee5/persistence/webfacade.html

              hth,
              Sean
              • 4. Re: Petstore 2.0 Architecture
                843833
                Now i look over these documents.

                Thanks for your help ;)
                • 5. Re: Petstore 2.0 Architecture
                  843833
                  Sean, (or anybody else)

                  i was looking for any sort of documentation on the ui:fileUploadTag and the FileUploadStatus (which I suppose is part of the blueprints ui package and not necessarily petstore specific). Perhaps what I want to accomplish might be more directly tied to the underlying apache commons package. At any rate, a little more visibility into how this stuff works would be quite helpful.

                  Specifically things of interest to me are:
                  1) loading files to DB instead of filesystem (how can I grab handle on file stream or input stream?)
                  2) using my own system generated file name instead of original file name
                  3) Possibly running a version of ImageScaler on original file to normalize all files to same horizontal or vertical sizes.

                  Thank you!
                  -henry