Oleg Varaksin
1 min readApr 1, 2019

I can not post the source code because it’s protected by my employer. You can think about business layer as worflow orchestrator. It calls services from the service layer. Every service has one clear task (probably a group of similar tasks). What the business layer does — it invokes e.g. a method from the service A, then passes the result into a method from the service B, doing some if / else logic, calculations, and similar. It also provides data (as observable RxJS streams) to the facade / presentation layer(s).

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Oleg Varaksin
Oleg Varaksin

Written by Oleg Varaksin

Thoughts on software development. Author of “PrimeFaces Cookbook” and “Angular UI Development with PrimeNG”. My old blog: http://ovaraksin.blogspot.de

Responses (1)

Write a response

Great thanks for sharing.
Business layer class injects services directly to its constructor or you manage it other way ? Since Business layer is using services, it needs to access those.

--