|
Mohan, 1 – Yes. Think of WSRP and
JSR168 as a standard where WSRP is the remote portlet and JSR168 is the local
portlet. They are similar technologies that avoid stepping on each others
toes. 2 -- ? 3 -- ? 4 – In WSRP, any type of HTML may
lead to problems – i.e. the base tag ( <BASE SRC="" for
HTML may become a problem for you if the URL doesn’t get rewritten.
In the case of _javascript_, remember that the portlet you are developing will likely
go into a container that serves the HTML in a table. The problem with
this is that other portlets that have _javascript_ may collide with your
functions (names space collisions). In essence, avoid _javascript_.
Another problem is Cookies – avoid cookies as well. WSRP will not
properly handle cookie information from your portlet all the way back to the
client. Even if it tried, the spec for cookies is, 20 cookies from one domain
will get sent back from the client to the server. If a user just happened
to have 21 portlets (where rewrite is turned-on on all of them) on 1 page all
requiring 1 cookie – one of the cookies will not get sent back to its
respective remote service. 5 -- To rewrite the URLs in WSRP, the
algorithm is a simple search and replace throughout the whole document and
replace the URL. The problem with this is that the standard should
have been written to contextually search and replace a document. For example,
the following HTML tags <a href="" <img src=""
could be searched and replaced as expected. Unfortunately, the information
between the a tag (i.e. <a href="" will be
rewritten</a> ) will get rewritten as well. This could lead to
problems if NOT careful. I’m really looking forward to an
update to the spec – WSRP 2.0. I hope this was helpful James Moliere From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Hi, We have been trying to list
the limitations of WSRP 1.0. I have a few questions. Appreciate if somebody can
answer or point at the mistakes.
5. What other limitation does
WSRP impose ? Thanks, Mohan This
message is for the designated recipient only and may contain privileged,
proprietary, or otherwise private information. If you have received it in
error, please notify the sender immediately and delete the original. Any other
use of the email by you is prohibited. |
- Limitations of WSRP mohan.radhakrishnan
- RE: Limitations of WSRP James Moliere
- RE: Limitations of WSRP Tali Garsiel
- RE: Limitations of WSRP mohan.radhakrishnan
- RE: Limitations of WSRP jmoliere
- RE: Limitations of WSRP Vishal Gupta
