• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A concept issue

 
P Das
Ranch Hand
Posts: 123
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If the backend, in the local network, does not accept direct client calls and forces one to route all calls through a HTTP server, what should we call the HTTP server, a Proxy or a Facade?

Thanks,
 
Greg Mandel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think a facade implies that it hides some complexity.
A proxy implies that it makes a request on behalf of something else.

So I guess it could be either/both of these depending on your design.
 
mc khan
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does the HTTP server simply the interface? If yes, it is a facade. Else, it is a proxy.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the HttpServer serving no other purpose than being a single point of entry? I'd call it a waste.

IBM refers to the web server as a 'redirector', which I think is an appropriate term. A Proxy is a Proxy. A web server is a web server. And a web server that passes requests for Servlets to a Servlet engine is acting as a redirector.

Language is always important, although I'm not sure if this really becomes applicable on the SCEA exam?

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic