[jboss-user] [JBoss Portal] - Re: Web Service & portlet deployment structure and required

thomas.heute@jboss.com do-not-reply at jboss.com
Fri Apr 27 04:07:09 EDT 2007


Accessing a web service is not different in a portlet environment than in a servlet environment.

Context-root still make sense if you need to specify one, your portlet will be located in a war file and then will be accessible from that context-root.

I would suggest that you start by writing a simple Servlet accessing a Web service. Then get a simple portlet running, you can get the HelloWorld from portletswap.com, then mixing the two wouldn't be hard. Move your Servlet service code to the render method and build from that.

Hope this helps.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4041286#4041286

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041286



More information about the jboss-user mailing list