They are indeed the same class of Servlet.
When the author says mapped to different URLs he is referring to the following lines:
Code:
<servlet-mapping>
<servlet-name>oddsStore</servlet-name>
<url-pattern>/odds</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>endsStore</servlet-name>
<url-pattern>/ends</url-pattern>
</servlet-mapping>
The servlets named oddsStore and endsStore are instances of the same class - com.wrox.StoreServlet - but they are mapped to different urls through the url-pattern field above - /odds and /ends.