No, not all the jars.  It depends on what you're trying to do and
which providers you intend to use.  Read the comments in the maven
pom.xml.

I use the jackson provider.  It requires the jackson jars, the
jackson-jaxrs jar, the jackson-resteasy-provider jar, resteasy-jaxrs,
jaxrs-api, and if you're using scanning, the scannotation and
javassist jars.

Jeff

On Sun, Jan 17, 2010 at 10:27 AM, ChrisDane <[email protected]> wrote:
> Thanks Andy,
> I Just got it working, by adding alle the jar files from the
> "1.2.1.GA" lib folder into my WAR/WEB-INF/lib... Question is do you
> need alle the jar files in order to make it work?
>
> /Christian
>
> org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
>
> On Jan 17, 11:05 am, "andy.booth" <[email protected]>
> wrote:
>> Have you put the three .jar files in war\WEB-INF\lib too? It can't
>> find the base Servlet for Resteasy.
>>
>> I don't think there's a huge benefit of trying to implement a standard
>> that is already done by Jersey, Resteasy, Restlet and Apache Wink,
>> which already provides a useful set of choices.
>>
>> My issue with JAX-RS and Guice together has been initialization time -
>> in the 6 - 10 second region, with JPA and a templating framework,
>> rather than the lengthy times suggested with other types of web
>> framework. In particular, I switch off all class path scanning for
>> Resource and Providers in Jersey. In fact looking at the documentation
>> for Resteasy, their property of resteasy.scan = false seems quite good
>> in this regard. So I might consider moving over to Resteasy.
>>
>> And many of the JAX-RS implementations add GZIP and Etag type plugins
>> that help create elegant REST applications. Which would take time with
>> a custom implementation.
>>
>> Andy
>>
>> On Jan 16, 10:19 pm, ChrisDane <[email protected]> wrote:
>>
>>
>>
>> > Thanks Jeff,
>>
>> > Thanks, I am just trying to set it up:
>>
>> > 1) Downloaded the latest(1.2.1.GA)
>> > 2) In Eclipse created a new GAE Project
>> > 3) I have been looking in the book "RESTful Java with JAX-RS, 1st
>> > Edition" - found the sample code for "oreilly-workbook/ex03_1"
>> > 4) Copied the ( Customer.java & CustomerResource.java &
>> > ShoppingApplication.java ) classes to my new GAE project.
>> > 5) Added to Class Path: serverlet-api-2.5.jar   &
>> > webserver-1.3.3.jar    & jsr311-api-1.1.jar
>> > 6) Changed the web.xml serverlet to :
>>
>> > <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>> > xmlns="http://java.sun.com/xml/ns/javaee";
>> > xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
>> > xsi:schemaLocation="http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/we...";
>> >  version="2.5">
>> >     <display-name>Archetype Created Web Application</display-name>
>>
>> >     <servlet>
>> >         <servlet-name>Resteasy</servlet-name>
>> >         <servlet-
>> > class>org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher</
>> > servlet-class>
>> >         <init-param>
>> >             <param-name>javax.ws.rs.Application</param-name>
>> >             <param-
>> > value>com.restfully.shop.services.ShoppingApplication</param-value>
>> >         </init-param>
>> >     </servlet>
>>
>> >     <servlet-mapping>
>> >         <servlet-name>Resteasy</servlet-name>
>> >         <url-pattern>/*</url-pattern>
>> >     </servlet-mapping>
>> >         <welcome-file-list>
>> >                 <welcome-file>index.html</welcome-file>
>> >         </welcome-file-list>
>> > </web-app>
>>
>> > 7) And I am getting an Error:
>> > ......
>> > com.google.apphosting.utils.jetty.JettyLogger warn
>> > WARNING: EXCEPTION
>> > java.lang.ClassNotFoundException:
>> > org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher
>> > .....
>>
>> > Can you point out anything in my steps that I am doing wrong?
>>
>> > Lastly, would I loos anything if I figured out to implement my own
>> > javax.ws.rs.Application?
>>
>> > Thanks again
>> > Regards
>> > ChrisDane
>>
>> > On Jan 16, 10:23 pm, Jeff Schnitzer <[email protected]> wrote:
>>
>> > > JBoss Resteasy works fine without any special customization for GAE.
>> > > I use it extensively.
>>
>> > >http://www.jboss.org/resteasy
>>
>> > > Jeff
>>
>> > > On Sat, Jan 16, 2010 at 1:09 PM, ChrisDane <[email protected]> 
>> > > wrote:
>> > > > Hi there,
>> > > > Has anyone seen any examples on using only JAX-RS on GAE.
>>
>> > > > Implementing the javax.ws.rs.core.Application and A resource Class
>> > > > etc?
>>
>> > > > Thanks in advance
>> > > > Regards
>> > > > ChrisDane
>>
>> > > > --
>> > > > You received this message because you are subscribed to the Google 
>> > > > Groups "Google App Engine for Java" group.
>> > > > To post to this group, send email to 
>> > > > [email protected].
>> > > > To unsubscribe from this group, send email to 
>> > > > [email protected].
>> > > > For more options, visit this group 
>> > > > athttp://groups.google.com/group/google-appengine-java?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>
>
>
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to