You can have more than 1 ServiceImpl servlet.

On Tue, Feb 22, 2011 at 2:01 PM, amarasat <[email protected]> wrote:

> Hello everyone,
>
> This might be a silly doubt. But after implementing the
> StockWatcherApplication, i ran into a strange doubt.
>
> This is the RPC definition and its servlet mapping in web.xml
>
>  <!-- Servlets -->
>  <servlet>
>    <servlet-name>stockPriceServiceImpl</servlet-name>
>    <servlet-
> class>com.google.gwt.sample.stockwatcher.server.StockPriceServiceImpl</
> servlet-class>
>  </servlet>
>
>  <servlet-mapping>
>    <servlet-name>stockPriceServiceImpl</servlet-name>
>    <url-pattern>/stockwatcher/stockPrices</url-pattern>
>  </servlet-mapping>
>
> According to the tutorial we replace the RPC service
> "GreetingServiceImpl" with the "StockPriceServiceImpl", but what if we
> want the application to implement both the RPC's?
>
> Can it be done? like to declare both the "GreetingServiceImpl" and
> "StockPriceServiceImpl" in the web.xml.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" 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-web-toolkit?hl=en.
>
>


-- 
*Jeff Schwartz*
http://jefftschwartz.appspot.com/
follow me on twitter: @jefftschwartz

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to