Portals Bridges
  1. Portals Bridges
  2. PB-69

Groovy Portlet Bridge for rapid dev: Parse, instantiate, invoke and auto-refresh a groovy script portlet

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.0.3
    • Component/s: groovy
    • Labels:
      None

      Description

      A new bridge for groovy scripting support for rapid development.

      The GroovyPortlet is expected to do the followings:

      • It parses groovy script source of portlet and instantiate the script portlet.
      • The groovy script source can implement anything just like Java based portlets.
      • GroovyPortlet delegates all methods of Portlet interface to the groovy script portlet.
      • If it is set to auto-refresh mode, GroovyPortlet detects and refresh the script source automatically.

      A groovy script portlet can be implemented like Java-based portlets, and so developers can use any techniques used in Java.
      For example, a groovy script portlet can extend org.apache.portals.bridges.common.GenericServletPortlet to simplify implementation.
      Therefore, GroovyPortlet is very simple, but it will be very useful for developers.

        Activity

        Woonsan Ko created issue -
        Hide
        Woonsan Ko added a comment -

        See the site documentation (xdocs) for details on how to use. Thanks.

        Show
        Woonsan Ko added a comment - See the site documentation (xdocs) for details on how to use. Thanks.
        Woonsan Ko made changes -
        Field Original Value New Value
        Attachment groovy-bridge-diff.zip [ 12359566 ]
        Ate Douma made changes -
        Assignee Ate Douma [ adouma ]
        Hide
        Ate Douma added a comment -

        Cool new bridge!

        I've slightly modified the GroovyPortlet code (formatting, exception handling), but it worked right away

        I'll also add the HelloGroovy example from your documentation to the Jetspeed-2 demo portlet application, see JS2-732

        Thanks a lot!

        Show
        Ate Douma added a comment - Cool new bridge! I've slightly modified the GroovyPortlet code (formatting, exception handling), but it worked right away I'll also add the HelloGroovy example from your documentation to the Jetspeed-2 demo portlet application, see JS2-732 Thanks a lot!
        Ate Douma made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 1.0.2 [ 12312332 ]
        Resolution Fixed [ 1 ]
        Ate Douma made changes -
        Component/s groovy [ 12311819 ]

          People

          • Assignee:
            Ate Douma
            Reporter:
            Woonsan Ko
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development