• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Difference between application service layer and business service layer?

 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Am new to web services platform and I want to know the exact difference between an application service layer and business service layer(What kind of technologies we use to code these two layers).
 
Ranch Hand
Posts: 146
2
Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The business layer is typically where you put your business logic. This is the domain that you are modelling, and should contain mostly domain entities and is the bulk of your software. The application layer sits above the business layer and is the "glue" that joins the various elements of the business layer together and would mostly consist of EJB. It also provides the API to your user interface.

That's a very quick down and dirty and is by no means comprehensive. Take a look at the Cargo Tracker project, which goes into a lot more detail and is something I am finding to be a very good learning resource.
 
Marshal
Posts: 5155
321
IntelliJ IDE Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ashley Bye wrote:... and would mostly consist of EJB ...


Incorrect. It might contain EJB, but most likely wouldn't. I have never used EJB and my opinion is based on hearsay, but I've never heard a positive word said about them and the recommendations have been to avoid them at all reasonable cost.

In a decade of working on 'enterprise' software, I've never encountered them in a project.
 
Vijaya Bhaskar
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then what we use exactly??Can you send me any template/design pattern/code,which explains our task exactly?

I mean,am expecting a logical implementation regarding these two service layers.
 
Ashley Bye
Ranch Hand
Posts: 146
2
Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Tim Cooke wrote:

Ashley Bye wrote:... and would mostly consist of EJB ...

Incorrect. It might contain EJB, but most likely wouldn't. I have never used EJB and my opinion is based on hearsay, but I've never heard a positive word said about them and the recommendations have been to avoid them at all reasonable cost.


I sit at my computer corrected. It doesn't quite have the same ring as "I stand corrected"...
 
Ranch Hand
Posts: 63
Spring Java Google App Engine
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do not use two words "application service layer" and "business service layer". It's only "Service Layer". Web Service in an implementation of Service Oriented Architecture .

In service-oriented architecture (SOA), the service layer is the third layer in a five abstraction layer model. The model consists of Object layer, Component layer, Service layer, Process layer and Enterprise layer. The service layer can be considered as a bridge between the higher and lower layers, and is characterized by a number of services that are carrying out individual business functions.

What kind of technologies we use to code - Implementation of JAX-WS or JAX-RS.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic