• Post Reply Bookmark Topic Watch Topic
  • New Topic

service locator design pattern vs servlet mapping  RSS feed

 
Ranch Hand
Posts: 588
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the difference between service locator design pattern and typical servlet application’s servlet mapping.
In servlet mapping, we find a servlet by a key (url string) which is analogous to service locator pattern where we find the service by key.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!