<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Jersey 1.0.3 improves WADL support</title>
	<link>http://aruld.info/jersey-103-improves-wadl-support/</link>
	<description>Life, Technology and More</description>
	<pubDate>Fri, 30 Jul 2010 10:33:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3878</link>
		<author>Arul</author>
		<pubDate>Tue, 12 May 2009 00:07:56 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3878</guid>
		<description>Awesome. I am glad Jakub's workaround resolved the problem for you.

-Arul</description>
		<content:encoded><![CDATA[<p>Awesome. I am glad Jakub&#8217;s workaround resolved the problem for you.</p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjum</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3877</link>
		<author>Anjum</author>
		<pubDate>Mon, 11 May 2009 21:03:38 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3877</guid>
		<description>Hi Arul,

I posted this as a question on the Jersey users mailing list and got a reply from Jakub Podlesak. It seems that the Glassfish update center is having some technical difficulties at the moment as they have not yet release the Jersey v1.0.3 Jars for Glassfish on there yet. However, Jakub kindly replied with some instructions on how to manually update my Glassfish installation. The wadlContext is no longer null as the resulting WADL is generated as you described above.

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Arul,</p>
<p>I posted this as a question on the Jersey users mailing list and got a reply from Jakub Podlesak. It seems that the Glassfish update center is having some technical difficulties at the moment as they have not yet release the Jersey v1.0.3 Jars for Glassfish on there yet. However, Jakub kindly replied with some instructions on how to manually update my Glassfish installation. The wadlContext is no longer null as the resulting WADL is generated as you described above.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3876</link>
		<author>Arul</author>
		<pubDate>Mon, 11 May 2009 05:08:18 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3876</guid>
		<description>Hi Anjum,

I believe wadlContext is not getting injected into your resource. Did you use Grizzly container or a different one?

-Arul</description>
		<content:encoded><![CDATA[<p>Hi Anjum,</p>
<p>I believe wadlContext is not getting injected into your resource. Did you use Grizzly container or a different one?</p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjum</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3875</link>
		<author>Anjum</author>
		<pubDate>Sun, 10 May 2009 00:54:39 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3875</guid>
		<description>My web.xml paste seems to have had its angle brackets stripped out. I am re-pasting by replacing these with square brackets.

A snippet of my web.xml:
   
   [listener]
      [listener-class]org.springframework.web.context.ContextLoaderListener[/listener-class]
   [/listener]
   [listener]
      [listener-class]org.springframework.web.context.request.RequestContextListener[/listener-class]
   [/listener]
      
   [servlet]
      [servlet-name]SmartInspector Web Application[/servlet-name]
      [servlet-class]com.sun.jersey.spi.spring.container.servlet.SpringServlet[/servlet-class]
      [init-param]
         [param-name]com.sun.jersey.config.property.packages[/param-name]
         [param-value]com.teamphone.rest.resources;jersey.wadl.resources[/param-value]
      [/init-param]
      [load-on-startup]1[/load-on-startup]
   [/servlet]
   
   [servlet-mapping]
      [servlet-name]SmartInspector Web Application[/servlet-name]
      [url-pattern]/*[/url-pattern]
   [/servlet-mapping] 
   
   [filter] 
      [filter-name]springSecurityFilterChain[/filter-name] 
      [filter-class]org.springframework.web.filter.DelegatingFilterProxy[/filter-class] 
   [/filter] 
   
   [filter-mapping] 
      [filter-name]springSecurityFilterChain[/filter-name] 
      [url-pattern]/*[/url-pattern] 
   [/filter-mapping]</description>
		<content:encoded><![CDATA[<p>My web.xml paste seems to have had its angle brackets stripped out. I am re-pasting by replacing these with square brackets.</p>
<p>A snippet of my web.xml:</p>
<p>   [listener]<br />
      [listener-class]org.springframework.web.context.ContextLoaderListener[/listener-class]<br />
   [/listener]<br />
   [listener]<br />
      [listener-class]org.springframework.web.context.request.RequestContextListener[/listener-class]<br />
   [/listener]</p>
<p>   [servlet]<br />
      [servlet-name]SmartInspector Web Application[/servlet-name]<br />
      [servlet-class]com.sun.jersey.spi.spring.container.servlet.SpringServlet[/servlet-class]<br />
      [init-param]<br />
         [param-name]com.sun.jersey.config.property.packages[/param-name]<br />
         [param-value]com.teamphone.rest.resources;jersey.wadl.resources[/param-value]<br />
      [/init-param]<br />
      [load-on-startup]1[/load-on-startup]<br />
   [/servlet]</p>
<p>   [servlet-mapping]<br />
      [servlet-name]SmartInspector Web Application[/servlet-name]<br />
      [url-pattern]/*[/url-pattern]<br />
   [/servlet-mapping] </p>
<p>   [filter]<br />
      [filter-name]springSecurityFilterChain[/filter-name]<br />
      [filter-class]org.springframework.web.filter.DelegatingFilterProxy[/filter-class]<br />
   [/filter] </p>
<p>   [filter-mapping]<br />
      [filter-name]springSecurityFilterChain[/filter-name]<br />
      [url-pattern]/*[/url-pattern]<br />
   [/filter-mapping]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anjum</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3874</link>
		<author>Anjum</author>
		<pubDate>Sun, 10 May 2009 00:49:07 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3874</guid>
		<description>Hi, I am trying to make use of the WebResource class you described in this article. However, my web service makes use of Spring Security as well as Jersey. I am using Jersey v1.0.3 and Spring Security v2.0.4. The WebResource class constructor seems to be called with a null wadlContext. I added the following annotation to the WebResource class to integrate it with Spring:

@Component
@Scope("request")

A snippet of my web.xml:
   
   
      org.springframework.web.context.ContextLoaderListener
   
   
      org.springframework.web.context.request.RequestContextListener
   
      
   
      SmartInspector Web Application
      com.sun.jersey.spi.spring.container.servlet.SpringServlet
      
         com.sun.jersey.config.property.packages
         com.teamphone.rest.resources;jersey.wadl.resources
      
      1
   
   
   
      SmartInspector Web Application
      /*
    
   
    
      springSecurityFilterChain 
      org.springframework.web.filter.DelegatingFilterProxy 
    
   
    
      springSecurityFilterChain 
      /* 
   

Is there something that I have missed?
Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi, I am trying to make use of the WebResource class you described in this article. However, my web service makes use of Spring Security as well as Jersey. I am using Jersey v1.0.3 and Spring Security v2.0.4. The WebResource class constructor seems to be called with a null wadlContext. I added the following annotation to the WebResource class to integrate it with Spring:</p>
<p>@Component<br />
@Scope(&#8221;request&#8221;)</p>
<p>A snippet of my web.xml:</p>
<p>      org.springframework.web.context.ContextLoaderListener</p>
<p>      org.springframework.web.context.request.RequestContextListener</p>
<p>      SmartInspector Web Application<br />
      com.sun.jersey.spi.spring.container.servlet.SpringServlet</p>
<p>         com.sun.jersey.config.property.packages<br />
         com.teamphone.rest.resources;jersey.wadl.resources</p>
<p>      1</p>
<p>      SmartInspector Web Application<br />
      /*</p>
<p>      springSecurityFilterChain<br />
      org.springframework.web.filter.DelegatingFilterProxy </p>
<p>      springSecurityFilterChain<br />
      /* </p>
<p>Is there something that I have missed?<br />
Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arul</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3868</link>
		<author>Arul</author>
		<pubDate>Tue, 05 May 2009 04:38:08 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3868</guid>
		<description>Hi Dave,

I am glad to hear you resolved the problem.

-Arul</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>I am glad to hear you resolved the problem.</p>
<p>-Arul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveW</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3865</link>
		<author>DaveW</author>
		<pubDate>Mon, 04 May 2009 04:21:36 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3865</guid>
		<description>I switched the TCP port to 8090.  I should have noticed the 9998 right away.  Thanks again. This is a nice example!</description>
		<content:encoded><![CDATA[<p>I switched the TCP port to 8090.  I should have noticed the 9998 right away.  Thanks again. This is a nice example!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DaveW</title>
		<link>http://aruld.info/jersey-103-improves-wadl-support/#comment-3864</link>
		<author>DaveW</author>
		<pubDate>Mon, 04 May 2009 04:07:59 +0000</pubDate>
		<guid>http://aruld.info/jersey-103-improves-wadl-support/#comment-3864</guid>
		<description>Hello:

Thanks for posting this! I'm unable to run the project from within NetBeans, getting the following error:

"Running jersey.wadl.client.WadlTest
May 3, 2009 9:01:30 PM com.sun.jersey.test.framework.impl.container.grizzly.web.GrizzlyWebContainer start
INFO: Starting grizzly...
May 3, 2009 9:01:30 PM com.sun.grizzly.http.servlet.ServletContextImpl initListeners
WARNING: Unable to load listener: null"

I'm using 1.9.14 version of grizzly, but not having any prior experience with grizzly, I'm not sure what I'm missing.

Also, the POM.xml is different from the one shown in the post, declaring some of the libraries as test scope only.

Thank you, again.</description>
		<content:encoded><![CDATA[<p>Hello:</p>
<p>Thanks for posting this! I&#8217;m unable to run the project from within NetBeans, getting the following error:</p>
<p>&#8220;Running jersey.wadl.client.WadlTest<br />
May 3, 2009 9:01:30 PM com.sun.jersey.test.framework.impl.container.grizzly.web.GrizzlyWebContainer start<br />
INFO: Starting grizzly&#8230;<br />
May 3, 2009 9:01:30 PM com.sun.grizzly.http.servlet.ServletContextImpl initListeners<br />
WARNING: Unable to load listener: null&#8221;</p>
<p>I&#8217;m using 1.9.14 version of grizzly, but not having any prior experience with grizzly, I&#8217;m not sure what I&#8217;m missing.</p>
<p>Also, the POM.xml is different from the one shown in the post, declaring some of the libraries as test scope only.</p>
<p>Thank you, again.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
