Thursday, May 29, 2008

Using the WSRP 1.1 Consumer Web part in MOSS 2007

Having Java/JSP apps too expensive/timecomsuming to migrate to MOSS 2007? Maybe the apps works just fine as is, and the migration adds no business value. Besides IFraming them, the way to go is WSRP. Check out this architecture picture:


Package your existing apps as WSRP producers and use the MOSS OOTB Web part acting act a WSRP 1.1 consumer. Some advice on the way:

1. Keep portlets simple - In general for MOSS and WSRP, if you keep the portlets fairly straightforward, you should not run into problems. If you start to use a lot of script, DOM modification, AJAX calls, etc. then you may run into issues.

2. Start small - I would try a “real” part of the application that includes navigation, form submission, script, user identity, session state and persistent state.

3. Namespacing - Microsoft WSRP implementation is not great. MOSS uses an IFrame to implement it’s WSRP browser side container so you typically do not have to be concerned with namespacing. In fact, you may run into problems if you try and use “wsrp_rewrite” prefix (consumer namespace re-writing). There is a bug in their namespacing. You may need to rely on producer namespacing instead (if you plan on consuming those portlets elsewhere or back in your Java Portal server).

4. Test - Thoroughly test WSRP functionality in MOSS first to uncover issues first.


© Copyright 2008, Tomas Elfving

1 kommentarer:

Prylgalningen said...

Thanks for the post