• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where does a web Service belong ?

 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello fellas,

May I ask something about layered architectures and web-services?

In an N-tier architecture... like this, top-down (Presentation, Business Logic, Persistence, Database),

In which of these layers does a web service belong ?

I'm so in need to know...

Thanks in advance,

Jose.
 
Jimmy Clark
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In an N-tier architecture... like this, top-down (Presentation, Business Logic, Persistence, Database),


Web services are for "integrating" applications. So, in your so-called "N-tier" application, a web service does not belong anywhere.

If you have two or more applications that need to communicate, then you can place a web service between them.
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The web service itself, as an application, might be implemented using multiple tiers. Please have a look at A multi-tier architecture for building RESTful Web services.

Regards,
Dan
 
Jose Campana
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James,
thanks for the clarification in that part, No wonder I was so confused when I tried to figure out where to place it when I thought about it by myself.
to both of you, thank you very much,

I will always consider myself a student, and therefore all education is welcome,

Have a better one,

Jose.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic