This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Web Services and the fly likes Where does a web Service belong ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Where does a web Service belong ?" Watch "Where does a web Service belong ?" New topic
Author

Where does a web Service belong ?

Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
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

Joined: Apr 16, 2008
Posts: 2187
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

Joined: Jul 09, 2001
Posts: 1168
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


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Jose Campana
Ranch Hand

Joined: May 28, 2007
Posts: 339
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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Where does a web Service belong ?
 
Similar Threads
.ear .war files
Confirming the below question.
Soap node and roles
Axis 1.4 Error plz help Connect Exception
RPG WORK WITH C?