• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

BD,SL and TO Patterns

 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had read this line about BD,SL and TO patterns in Peabody on scwcd patterns

BD Reduces coupling between presentation and business tiers (TO, SL)



See Business delegate reduces coupling between Controller and remote java services.
From what i know that presentation tier is JSPs, htmls while business tier is servlets
Then how can BD reduce coupling between presentation and business tiers.


Similarily, SL reduces coupling between BD and JNDI server.
Then how can BD reduce coupling between presentation and business tiers.

And TO I don't understand how it can do this either.

What i understand is this can only be done by MVC.

 
Creator of Enthuware JWS+ V6
Posts: 3348
303
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

From what i know that presentation tier is JSPs, htmls while business tier is servlets


The Business tier consists of EJBs while the Web-tier (presentation layer) consists of Servlets and JSPs (according to Sun)

And TO I don't understand how it can do this either.


The Transfer object lives on the edge between the business layer and the presentation layer. The presentation layer should not know about EJBs.

Did this answer all your questions?

Regards,
Frits
 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ya, about BD,SL and TO I understand.

But in case of MVC presentation tier is JSPs, htmls while business tier is servlets and data tier is model(EJBs)
isn't it?
 
Frits Walraven
Creator of Enthuware JWS+ V6
Posts: 3348
303
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

But in case of MVC presentation tier is JSPs, htmls while business tier is servlets and data tier is model(EJBs)
isn't it?


To my understanding it was like this:
Model consists of the EJBs
View consists of JSPs
Controller is a Servlet

Regards,
Frits
 
Parth Twari
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hmm.. ok ...
may be its not about tiers in case of MVC..

i understood Bd,TO and SL
thanks..
 
This is awkward. I've grown a second evil head. I'm going to need a machete and a 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
    Bookmark Topic Watch Topic
  • New Topic