On Sep 9, 2013, at 6:50 AM, bhaskerhari <[email protected]> wrote:

> One solution I found so far is to extend JavascriptQueryHandler and override
> the method isRecognizedQuery to return false always. The other solution is
> to extend org.apache.cxf.transports.http.internal.QueryHandlerRegistryImpl
> and override getHandlers() to return an empty list of QueryHandlers. Both
> the solutions seems to be working for me. 
> 
> Could you please suggest me if it is ok to implement like this? Or do you
> know a better way to handle this?

The better way would be to just use the smaller jars and NOT put the 
cxf-runtime-javascript  jar into you app.   Thus, the javascript handler 
wouldn't even be there at all.


-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to