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.