<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-5113311244562344556.post6938718275167753087..comments</id><updated>2009-12-17T07:44:38.185-08:00</updated><title type='text'>Comments on pavelgj was Here: GWT RemoteServiceServlet + Guice = GuiceRemoteServ...</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pavelgj.blogspot.com/feeds/6938718275167753087/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html'/><author><name>Pavel Jbanov</name><uri>http://www.blogger.com/profile/13237725824114949795</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5113311244562344556.post-4248719405189722597</id><published>2009-12-17T07:44:38.185-08:00</published><updated>2009-12-17T07:44:38.185-08:00</updated><title type='text'>Try:
serve("/GWT.rpc").with(GuiceRemoteServiceImpl...</title><content type='html'>Try:&lt;br /&gt;serve(&amp;quot;/GWT.rpc&amp;quot;).with(GuiceRemoteServiceImpl.class);&lt;br /&gt;&lt;br /&gt;I&amp;#39;m assuming &amp;quot;/bw_gxt_01&amp;quot; is the context path of your webapp, so you don&amp;#39;t need to specify it when calling &amp;quot;serve()&amp;quot;.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/4248719405189722597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/4248719405189722597'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html?showComment=1261064678185#c4248719405189722597' title=''/><author><name>Pavel J</name><uri>http://www.blogger.com/profile/06720958973949033077</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11250573872168271174'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html' ref='tag:blogger.com,1999:blog-5113311244562344556.post-6938718275167753087' source='http://www.blogger.com/feeds/5113311244562344556/posts/default/6938718275167753087' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5113311244562344556.post-6247458966341178069</id><published>2009-12-17T02:26:52.148-08:00</published><updated>2009-12-17T02:26:52.148-08:00</updated><title type='text'>Hello again


I tried to use it but i get the erro...</title><content type='html'>Hello again&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I tried to use it but i get the error&lt;br /&gt;Error 404: SRVE0190E: File not found: /bw_gxt_01/GWT.rpc&lt;br /&gt;protected void configureServlets() {&lt;br /&gt;serve(”/bw_gxt_01/GWT.rpc”).with(GuiceRemoteServiceImpl.class);&lt;br /&gt;System.out.println(”BwServletModel.configureServlets()”);&lt;br /&gt;bind(ListService.class).to(ListServiceImpl.class);&lt;br /&gt;}&lt;br /&gt;@RemoteServiceRelativePath(”GWT.rpc”)&lt;br /&gt;public interface ListService extends RemoteService {&lt;br /&gt;Am i forgetting something&lt;br /&gt;regards toine</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/6247458966341178069'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/6247458966341178069'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html?showComment=1261045612148#c6247458966341178069' title=''/><author><name>GrandeXo</name><uri>http://www.blogger.com/profile/03308304510084069998</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html' ref='tag:blogger.com,1999:blog-5113311244562344556.post-6938718275167753087' source='http://www.blogger.com/feeds/5113311244562344556/posts/default/6938718275167753087' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5113311244562344556.post-726605959630129991</id><published>2009-12-16T09:46:01.645-08:00</published><updated>2009-12-16T09:46:01.645-08:00</updated><title type='text'>Please check this post out for a newer version bas...</title><content type='html'>Please check this post out for a newer version based on Guice 2.0.&lt;br /&gt;&lt;br /&gt;http://stuffthathappens.com/blog/2009/09/14/guice-with-gwt/</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/726605959630129991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/726605959630129991'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html?showComment=1260985561645#c726605959630129991' title=''/><author><name>Pavel Jbanov</name><uri>http://www.blogger.com/profile/13237725824114949795</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='15734416687300818471'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html' ref='tag:blogger.com,1999:blog-5113311244562344556.post-6938718275167753087' source='http://www.blogger.com/feeds/5113311244562344556/posts/default/6938718275167753087' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5113311244562344556.post-2681885359635893179</id><published>2009-12-16T03:40:34.025-08:00</published><updated>2009-12-16T03:40:34.025-08:00</updated><title type='text'>Hello 

How do i call the servlet from the Present...</title><content type='html'>Hello &lt;br /&gt;&lt;br /&gt;How do i call the servlet from the Presenter &lt;br /&gt;&lt;br /&gt;And about the RemoteService of the Servlet say &lt;br /&gt;interface MyGuiceService&lt;br /&gt;&lt;br /&gt;It does not to be included ? &lt;br /&gt;&lt;br /&gt;I can not start the Service &lt;br /&gt;Do you have a complete example or so &lt;br /&gt;&lt;br /&gt;regards toine</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/2681885359635893179'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/2681885359635893179'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html?showComment=1260963634025#c2681885359635893179' title=''/><author><name>GrandeXo</name><uri>http://www.blogger.com/profile/03308304510084069998</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html' ref='tag:blogger.com,1999:blog-5113311244562344556.post-6938718275167753087' source='http://www.blogger.com/feeds/5113311244562344556/posts/default/6938718275167753087' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5113311244562344556.post-1645620008533516814</id><published>2009-07-30T22:40:46.140-07:00</published><updated>2009-07-30T22:40:46.140-07:00</updated><title type='text'>In which case the servlet becomes simply
public cl...</title><content type='html'>In which case the servlet becomes simply&lt;br /&gt;public class GuiceRemoteServiceServlet extends RemoteServiceServlet {&lt;br /&gt;&lt;br /&gt; @Inject&lt;br /&gt; private Injector injector;&lt;br /&gt;&lt;br /&gt; @Override&lt;br /&gt; public String processCall(String payload) throws SerializationException {&lt;br /&gt;&lt;br /&gt;  try {&lt;br /&gt;   RPCRequest rpcRequest = RPC.decodeRequest(payload);&lt;br /&gt;&lt;br /&gt;   RemoteService service = getServiceInstance(rpcRequest.getMethod()&lt;br /&gt;     .getDeclaringClass());&lt;br /&gt;&lt;br /&gt;   return RPC.invokeAndEncodeResponse(service, rpcRequest.getMethod(),&lt;br /&gt;     rpcRequest.getParameters(), rpcRequest&lt;br /&gt;       .getSerializationPolicy());&lt;br /&gt;&lt;br /&gt;  } catch (IncompatibleRemoteServiceException ex) {&lt;br /&gt;   getServletContext()&lt;br /&gt;     .log(&lt;br /&gt;       &amp;quot;An IncompatibleRemoteServiceException was thrown while processing this call.&amp;quot;,&lt;br /&gt;       ex);&lt;br /&gt;   return RPC.encodeResponseForFailure(null, ex);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;&lt;br /&gt; @SuppressWarnings(&amp;quot;unchecked&amp;quot;)&lt;br /&gt; private RemoteService getServiceInstance(Class serviceClass) {&lt;br /&gt;  try {&lt;br /&gt;   RemoteService remoteService = (RemoteService) injector&lt;br /&gt;     .getInstance(serviceClass);&lt;br /&gt;   return remoteService;&lt;br /&gt;  } catch (Exception e) {&lt;br /&gt;   throw new RuntimeException(e.getMessage(), e);&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/1645620008533516814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/1645620008533516814'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html?showComment=1249018846140#c1645620008533516814' title=''/><author><name>Karajdaar</name><uri>http://www.blogger.com/profile/04064286766084123553</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html' ref='tag:blogger.com,1999:blog-5113311244562344556.post-6938718275167753087' source='http://www.blogger.com/feeds/5113311244562344556/posts/default/6938718275167753087' type='text/html'/></entry><entry><id>tag:blogger.com,1999:blog-5113311244562344556.post-6560978475268310790</id><published>2008-02-01T12:21:00.000-08:00</published><updated>2008-02-01T12:21:00.000-08:00</updated><title type='text'>Hi, The httpServlet(Request|Session) should be inj...</title><content type='html'>Hi, &lt;BR/&gt;The httpServlet(Request|Session) should be injected by Guice,  using GuiceFilter which set them (request|session) in a thread local variable.&lt;BR/&gt;hih</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/6560978475268310790'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5113311244562344556/6938718275167753087/comments/default/6560978475268310790'/><link rel='alternate' type='text/html' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html?showComment=1201897260000#c6560978475268310790' title=''/><author><name>NarZo</name><uri>http://www.blogger.com/profile/15639857470330114320</uri><email>noreply@blogger.com</email></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://pavelgj.blogspot.com/2008/02/gwt-remoteserviceservlet-guice.html' ref='tag:blogger.com,1999:blog-5113311244562344556.post-6938718275167753087' source='http://www.blogger.com/feeds/5113311244562344556/posts/default/6938718275167753087' type='text/html'/></entry></feed>