• 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

BD,SL and TO Patterns

 
Ranch Hand
Posts: 163
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3412
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3412
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmm.. ok ...
may be its not about tiers in case of MVC..

i understood Bd,TO and SL
thanks..
 
What a show! What atmosphere! What fun! What a tiny ad!
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic