views:

268

answers:

4

Can I add Java portlet in sharepoint 2007? If yes, can some please explain the details on how can I do so?

A: 

I'd doubt that this is possible since sharepoint is .NET and java is obviously not. Though vice versa this is not true, sharepoint portlets can be made compatible with java portals...

KB22
+3  A: 

Not really, as KB22 states. It doesn't support the portlet specification.

The answer partly depends on what the Java code needs to do. SharePoint has a Page Viewer Web Part that inserts an iframe into the page. If you host the portlet on a URL then the web part could point to it and include the rendered output within its iframe. This is probably the best option if you don't want to write SharePoint code.

Alex Angas
+2  A: 

While its true you can't add a Java portlet directly to Sharepoint, Sharepoint is, at least in the feature list, a "W"eb "S"ervice "R"emote "P"ortlet client, or WSRP client. So what you would do is build your Java portlet, then deploy and run it on a portlet container that supports being a WSRP server, like Liferay...I think is one that'll do it. Once this is done, you should be able to import the remote portlet to Sharepoint. For Sharepoint 2007, here's a link that might help.

MSDN Code page for Sharepoint 2007 WSRP tutorials

mezmo
+1  A: 

NetUnity provides a full featured SharePoint WSRP Consumer that supports WSRP 2.

http://www.netunitysoftware.com/SharePointConsumer.aspx

JFrosting