Geronimo
  1. Geronimo
  2. GERONIMO-3254

Admin Console Wizard to auto generate geronimo-web.xml

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M7
    • Fix Version/s: 2.1
    • Component/s: console, deployment, usability
    • Security Level: public (Regular issues)
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      For a background about this work, please see the discussion thread: http://www.mail-archive.com/dev@geronimo.apache.org/msg46831.html

      1. TestSecuritySettings.zip
        120 kB
        Shiva Kumar H R
      2. TestCreatePlanPortlet.zip
        16 kB
        Shiva Kumar H R
      3. SampleWebAppsWithAnnotations.zip
        17 kB
        Shiva Kumar H R
      4. PoC.patch
        113 kB
        Shiva Kumar H R
      5. PoC_2(annotations).patch
        136 kB
        Shiva Kumar H R
      6. GERONIMO-3254.patch
        137 kB
        Shiva Kumar H R
      7. Consolidated Test WAR for Plan Creator.zip
        21 kB
        Shiva Kumar H R
      8. consolidated 3254 3394 3395 3396 3397 3398.patch
        159 kB
        Shiva Kumar H R
      9. buildCreatePlanPortlet2.bat
        0.7 kB
        Shiva Kumar H R
      10. buildCreatePlanPortlet.bat
        0.6 kB
        Shiva Kumar H R
      11. 7SecurityHandling_3.gif
        122 kB
        Shiva Kumar H R
      12. 7SecurityHandling_2.gif
        108 kB
        Shiva Kumar H R
      13. 7SecurityHandling_1.gif
        94 kB
        Shiva Kumar H R
      14. 6DeployStatus.gif
        92 kB
        Shiva Kumar H R
      15. 5DisplaysCreatedPlan.gif
        88 kB
        Shiva Kumar H R
      16. 4AddDependencies.gif
        102 kB
        Shiva Kumar H R
      17. 3ResolveReferences.gif
        92 kB
        Shiva Kumar H R
      18. 2BasicSettings.gif
        103 kB
        Shiva Kumar H R
      19. 1WelcomePage.gif
        89 kB
        Shiva Kumar H R

        Issue Links

          Activity

          Hide
          Shiva Kumar H R added a comment -

          TestCreatePlanPortlet.zip has 3 test Web Apps:

          1) WebAppJMSAccess.war - A simple web app that accesses a JMS Connection Factory and a JMS destination. 'Producer' servlet sends 5 messages to a JMS queue and 'Consumer' servlet synchronously receives messages from the same queue.

          2) WebAppEjbAccess.war - A simple web app that accesses a Session EJB. Make sure CurrencyConverterEJB.jar is deployed before attempting to create Geronimo Deployment Plan for this WAR.

          3) WebAppJDBCAccess.war - A simple web app that accesses a JDBC connection pool and displays the entries of a table. Make sure a table by name 'customer' is created as per the schema in BankDB.sql in the database (say SystemDatabase) that you point out.

          Wizard generated Geronimo Deployment Plans for each of the WARs are also attached.

          Show
          Shiva Kumar H R added a comment - TestCreatePlanPortlet.zip has 3 test Web Apps: 1) WebAppJMSAccess.war - A simple web app that accesses a JMS Connection Factory and a JMS destination. 'Producer' servlet sends 5 messages to a JMS queue and 'Consumer' servlet synchronously receives messages from the same queue. 2) WebAppEjbAccess.war - A simple web app that accesses a Session EJB. Make sure CurrencyConverterEJB.jar is deployed before attempting to create Geronimo Deployment Plan for this WAR. 3) WebAppJDBCAccess.war - A simple web app that accesses a JDBC connection pool and displays the entries of a table. Make sure a table by name 'customer' is created as per the schema in BankDB.sql in the database (say SystemDatabase) that you point out. Wizard generated Geronimo Deployment Plans for each of the WARs are also attached.
          Hide
          Vamsavardhana Reddy added a comment -

          It is a good first step towards auto generation of deployment plans. Though the portlet demonstrates limited functionaily right now, I can see its usefulness if it provides full function and I would like to see this portlet in full. This portlet will be a good addition to Geronimo Console.

          Show
          Vamsavardhana Reddy added a comment - It is a good first step towards auto generation of deployment plans. Though the portlet demonstrates limited functionaily right now, I can see its usefulness if it provides full function and I would like to see this portlet in full. This portlet will be a good addition to Geronimo Console.
          Hide
          Shiva Kumar H R added a comment -

          Wizard can now handle web-apps with annotations

          Try with "PoC_2(annotations).patch" and "buildCreatePlanPortlet2.bat" in case you want to give it a try.

          "SampleWebAppsWithAnnotations.zip" contains web apps that utilize Annotations for referring to EJBs, JDBC datasources, JMS Connection Factories and JMS Destinations.

          Show
          Shiva Kumar H R added a comment - Wizard can now handle web-apps with annotations Try with "PoC_2(annotations).patch" and "buildCreatePlanPortlet2.bat" in case you want to give it a try. "SampleWebAppsWithAnnotations.zip" contains web apps that utilize Annotations for referring to EJBs, JDBC datasources, JMS Connection Factories and JMS Destinations.
          Hide
          Shiva Kumar H R added a comment -

          I finally have the working code for auto-handling security settings in a web-app. (this took lot lot more time than I had anticipated and a major part of it went in picking up JavaScript & DOM knowledge.)

          User interface looks as shown in snapshots 7SecurityHandling_1.gif, 7SecurityHandling_2.gif & 7SecurityHandling_3.gif.

          "TestSecuritySettings.zip" has a simple web-app that I used for testing this new functionality.

          Show
          Shiva Kumar H R added a comment - I finally have the working code for auto-handling security settings in a web-app. (this took lot lot more time than I had anticipated and a major part of it went in picking up JavaScript & DOM knowledge.) User interface looks as shown in snapshots 7SecurityHandling_1.gif, 7SecurityHandling_2.gif & 7SecurityHandling_3.gif. "TestSecuritySettings.zip" has a simple web-app that I used for testing this new functionality.
          Hide
          Shiva Kumar H R added a comment -

          Please apply GERONIMO-3254.patch along with patches attached in below JIRAs:
          a) GERONIMO-3394
          b) GERONIMO-3395
          c) GERONIMO-3396
          d) GERONIMO-3397
          e) GERONIMO-3398

          Show
          Shiva Kumar H R added a comment - Please apply GERONIMO-3254 .patch along with patches attached in below JIRAs: a) GERONIMO-3394 b) GERONIMO-3395 c) GERONIMO-3396 d) GERONIMO-3397 e) GERONIMO-3398
          Hide
          Shiva Kumar H R added a comment -

          Attaching "consolidated 3254 3394 3395 3396 3397 3398.patch" just in case someone is looking for a consolidated patch.

          Show
          Shiva Kumar H R added a comment - Attaching "consolidated 3254 3394 3395 3396 3397 3398.patch" just in case someone is looking for a consolidated patch.
          Hide
          Paul McMahan added a comment -

          this work would be a great use case for the extensible administration console currently in sandbox

          Show
          Paul McMahan added a comment - this work would be a great use case for the extensible administration console currently in sandbox
          Hide
          Vamsavardhana Reddy added a comment -

          Committed in Revision: 565397 in trunk.

          Show
          Vamsavardhana Reddy added a comment - Committed in Revision: 565397 in trunk.
          Hide
          Vamsavardhana Reddy added a comment -

          Changed fix version to 2.1

          Show
          Vamsavardhana Reddy added a comment - Changed fix version to 2.1
          Hide
          Shiva Kumar H R added a comment -

          All sub tasks completed.

          "geronimo-web.xml" can now be auto generated using Plan Creator wizard for most of the web applications.

          Show
          Shiva Kumar H R added a comment - All sub tasks completed. "geronimo-web.xml" can now be auto generated using Plan Creator wizard for most of the web applications.
          Hide
          Shiva Kumar H R added a comment - - edited

          "Consolidated Test WAR for Plan Creator.zip" : please see the "Readme.txt" inside the zip file.

          Show
          Shiva Kumar H R added a comment - - edited "Consolidated Test WAR for Plan Creator.zip" : please see the "Readme.txt" inside the zip file.

            People

            • Assignee:
              Unassigned
              Reporter:
              Shiva Kumar H R
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development