Presentation is loading. Please wait.

Presentation is loading. Please wait.

WSRP Portlets Copyright © 2000-2006 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.

Similar presentations


Presentation on theme: "WSRP Portlets Copyright © 2000-2006 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission."— Presentation transcript:

1 WSRP Portlets Copyright © 2000-2006 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission from Liferay, Inc.

2 Objectives WSRP 1.What is WSRP? 2.How does it work? 1.JSR Specifications 3.WSRP in Action

3 What is WSRP? WSRP = Web Services for Remote Portlets. What does this mean? Remote content. Sharing of content Good in theory… but bad in practice.

4 What is WSRP? Limitations on WSRP? Bandwidth Issues. WSRP Portlets are very demanding on bandwidth. Early specification, so not very polished. WSRP specification does not address authentication. –WSRP Portlets need to have their own custom authentication system. –Lack of authentication specification is mainly why WSRP is not very useful.

5 How WSRP Works Someone makes a portlet accessible from their portal. –Communication is key! Our portal’s WSRP proxy portlet will connect to that portlet. –Great way to try out other portlets!

6 How WSRP Works WSRP Producer –The portal that is providing the portlet for us to connect to. –AKA WSRP Server. WSRP Consumer –This is us, the end user –Client Liferay acts as both a producer (we give out our content) and a consumer (we get other’s content)

7 JSR-168 and JSR-286 What is it? –JSR-168: WSRP 1.0 Specifications Very, VERY incomplete Too many variants mean not all remote portlets will work –JSR-286: WSRP 2.0 Specifications (Due out in late 2006) Much better specifications More consistency between remote portlets Addresses the holes in WSRP 1.0 specification

8 JSR-168 and JSR-286 Note that JSR-168 and the WSRP 1.0 Specification are related, but are two different things. –JSR-168 is a Java-specific Portlet API designed for interoperability between Java portlets and portlet containers. –WSRP is meant as a specification on how portlets should be accessed in general. –The two work in parallel, not against each other.

9 JSR-168 and JSR-286 WSRP 1.0 is still very incomplete. JSR-268/WSRP 2.0 aims to fix these holes.

10 WSRP in Action We will now demonstrate how Liferay’s WSRP portlet works. Add the WSRP Proxy portlet to the main page. It will say that the portlet is currently unavailable.

11 WSRP in Action Mouse over the portlet header, and click on the Preferences button, then Edit Local Preferences. In the WSRP Service URL field, enter http://localhost:8080/c/wsrp and click Save Settings. You will be taken back to Edit Local Preferences | Edit Remote Preferences. Click on Edit Local Preferences again. http://localhost:8080/c/wsrp

12 WSRP in Action Some WSRP Portlets are not working correctly. One of the few that does work is the Today in Christian History Portlet. Choose it from the list and save settings again. Click on the Back arrow, and you should see the content on your main page.

13 Review of WSRP WSRP is still a very young technology, and as such, it’s not widely used. WSRP 1.0 Specification has too many holes to be user-friendly. WSRP Consumers (Clients) connect to WSRP Producers (Servers) to get their content that they have made. JSR-286 Specification (WSRP 2.0) will redefine the Portlet specification and clean it up.

14 Revision History Charles Min09/07/06Created for Liferay 4.1.2


Download ppt "WSRP Portlets Copyright © 2000-2006 Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission."

Similar presentations


Ads by Google