Wednesday April 22, 2009
The
WSRP 2.0 FCS binary is now available for download from the OpenPortal WSRP project download
page and
has implemented all the WSRP 2.0 mandatory and most of the optional
features. This project binary is being shipped into the below
release
vehicles apart from the above standalone install which the project
provides as a wsrp-configurator.jar
There has been quite a few queries on Liferay OpenPortal WSRP integration, Here are some notes in addition to the below blog entries.
Here is a note on how to setup a WSRP Producer on Liferay or Websynergy instance. The OpenPortal WSRP Producer version 2.0 is integrated into the liferay trunk, the next major release of Liferay i.e version 5.2 will have both the OpenPortal WSRP Producer and Consumer integrated into it.
If you are looking for some notes on how to use the OpenPortal WSRP Consumer in liferay. Please refer to this earlier blog "Liferay consumes OpenPortal WSRP".
If you are using a liferay build/binary, before we start make sure that your portal-ext.properties has portlet container set to Sun Container.
Here is the snippet.
portlet.container.impl=sun
Note : The above configuration is not required on the websynergy binary/setup, Websynergy bundle by default sets the container to Sun.
Make sure you restart the server after this configuration.
Now deploy any portlet, say a simple sample portlet like the the "Bookmark Portlet" binary readily available for download from the Portlet repository project.
Make sure this portlet works fine by adding to the user page before we proceed.
Note : You can deploy the above portlet either using the "Plugin Installer" or by copying to the hot deploy directory.
The administrative functionality for the WSRP Producer are provided by a portlet called the "WSRP Producer", The same portlet is available or integrated into the "Control Panel" of the Liferay Portal.
Login as administrator and choose to use this portlet or choose the control panel --> WSRP Producer option to get the administrative GUI.
Follow instructions below to create a WSRP Producer using the above GUI.
The WSDL URL for this producer is automatically generated, You can get the URL in the edit screen of the producer, share this WSDL URL with the consumers who wish to use this portlet on their portal.
You can create any number of producer instances on the the same portal and export different list of portlets for each producer. As you can see setting up a WSRP 2.0 producer in Liferay is just a matter of few clicks without any need for programming effort.
Stay tuned on the OpenPortal WSRP Project mailing list for more information w.r.t to this integration.
The OpenPortal WSRP 2.0 beta is now available part of Java
Application Platform SDK Update 6. Its also available as a separate
download
from the project download page.
Its recommended to use OpenPortal PortletContainer
version 2.0_01 with this.
Also checkout the WSRP
2.0 Beta Article available as the part of Java Application Platform
SDK Update 6.
Please uninstall previous versions before installing this release.
Note : If you are using a build
from the OpenPortal WSRP trunk i.e you checkout, build and install
a OpenPortal WSRP version, its recommended to continue so. Since this WSRP 2.0
beta release is from branch that was created a while back for the Java
Application Platform SDK U6 release.
The OpenPortal WSRP Project consumer is now integrated into Liferay Portal. The next stable release of Liferay is expected to have both the OpenPortal WSRP producer and consumer integrated in it.
This is the first milestone integration called phase 1, where an usable OpenPortal WSRP consumer integrated into Liferay Portal. Here is the list of features that are supported in this phase 1 integration.
Here are some screen shots of this integration
The WSRP consumer admin portlet is integrated into the Liferay as an admin portlet that enables management of multiple WSRP Consumers.
After successful login click -->Add Application --> choose Admin category ---> WSRP Consumer Admin Portlet
The following screen shot shows the WSRP consumer admin portlet rendered on the Liferay portal desktop.
The WSRP channels created using the WSRP Consumer Admin Portlet appear under the WSRP category in the "Add Application" drop down.
The following screen shot shows a remote portlet rendered on the Liferay Portal desktop.
Stay tuned on the OpenPortal WSRP Project mailing list for more information w.r.t to this integration.
The OpenPortal
WSRP
v2 milestone 4 is now available for download, milestone 4 is the last
feature preview binary from the OpenPortal WSRP v2 project. The
OpenPortal WSRP is feature complete from the WSRP 2.0 spec perspective
by implementing all the mandatory and most of the optional features.
This milestone previews the following optional WSRP v2 features
Here are the links to the binary and documents associated with this
milestone.
The WSRP version 1.0 FCS is the latest stable binary from the WSRP v1 project. This is expected to be the last binary release from the WSRP v1 Project and this project will remain in maintenance mode, only serious issues reported will be fixed from now on. This same binary is integrated into the following releases.
We just completed the WSRP version 2.0 interoperability test cases with OpenPortal WSRP Project Consumer and IBM Producer. Here are some screenshots and details about this interoperability test cases.
IBM interoperability server exports the following 2 portlets that communicate with each other using events:
Using the FlightBookingPortlet and booking a flight results in an event that is caught by the HotelBookingPortlet and blocks a hotel in the same city. Here is a screenshot of these portlets on the OpenPortal WSRP driver.
IBM interoperability server exports the following 3 portlets that communicate with each other using shared or public render paramters:
Using the PublicParamCitySelect and selecting a city results in setting of a shared render parameter that is received by the PublicParamCityInfo and PublicParamCityWeather which display the city information and weather respectively. Here is a screenshot of these portlets on the OpenPortal WSRP driver.
There is not special portlets for this, if you observe the above eventing and shared render parameter portlet, you could see the image that is being displayed by these portlets are fetched inband or using the getResource() method call on the portlet, which validates the getResource WSRP version 2.0 implementation on the OpenPortal WSRP Project
This interoperability tests all the major WSRP version 2.0 features, stay tuned for more information on the OpenPortal WSRP Project mailing lists.
Checkout the following announcements on the release of a new milestone binary from OpenPortal WSRP Project.
This new milestone 3 supports the following feature set
Pls note that the previous milestones have already provided the following WSRP version 2.0 feature sets.
The above links also provides sample portlets and configuration instructions to try out these features. If you have questions on how to use the OpenPortal WSRP Project and
other comments/suggestions/requests, consider joining the users@wsrp.dev.java.net
alias.
Just a repost of the information on Portal Post w.r.t to WSRP version 2.0 milestone 2 binary. Here is the actual post
The OpenPortal WSRP version
2.0 milestone 2 binary is now available for download. The binary along
with install instruction is available on the Open Portal WSRP download page.
This is the second milestone release
from the OpenPortal
WSRP
Project that implements the OASIS
WSRP version 2.0 specification. The
main intent of this release is to preview the following optional
features defined in the WSRP version 2.0 of OASIS specification.
Check the following thread for the manual instructions of installing and configuring OpenPortal WSRP on Tomcat. The above instructions is validated against the following binaries.
Stay tuned to the OpenPortal WSRP aliases for more news related to automatic configuration soon.
The OpenPortal WSRP version 2.0 milestone 1 binary is now available for download, checkout the following announcement on the OpenPortal WSRP project.
Here are the links to install and user guide.
The above WSRP binary works over the latest OpenPortal Portlet Container 2.0 beta 2 binary, checkout the following announcement with respect to OpenPortal Portlet Container binary. Here are some links to the Portlet Container documents
Stay tuned for future announcements on OpenPortal WSRP Project on other WSRP version 2.0 feature implementation, Please subscribe to announce@wsrp.dev.java.net
Here is how you uninstall OpenPortal WSRP and OpenPortal PortletContainer projects after successful installation without having to uninstall the whole glassfish application server. Recently I came across this issue since someone asked about it and this information was not available or documented anywhere.
Uninstall OpenPortal WSRP :
Upon successful install of OpenPortal WSRP, The installer would have created a 'wsrp' directory as <glassfish_install>/domains/domain1/wsrp. There is a setup.xml under this directory, invoking the 'uninstall-wsrp' ant target does the job. Here is the example
# ant -f setup.xml uninstall-wsrp.
Make sure you restart the glassfish application server after this.
Uninstall OpenPortal PortletContainer :
Similar instructions apply the OpenPortal PortletContainer uninstall procedure. Upon successful install of OpenPortal PortletContainer, the installer would have created a
'portlet-container' directory as <glassfish_install>/domains/domain1/portlet-container.
There is a setup.xml under this directory, invoking the
'uninstall-pc' ant target does the job. Here is the example
# ant -f setup.xml uninstall-pc.
Make sure you restart the glassfish application server after this.