• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Where does a web Service belong ?

 
Ranch Hand
Posts: 339
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Yes, my master! Here is the tiny ad you asked for:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic