wood burning stoves 2.0*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes BD,SL and TO Patterns 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 » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "BD,SL and TO Patterns" Watch "BD,SL and TO Patterns" New topic
Author

BD,SL and TO Patterns

Parth Twari
Ranch Hand

Joined: Jan 20, 2010
Posts: 163
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.


Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1642
    
  23

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

Joined: Jan 20, 2010
Posts: 163
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
Bartender

Joined: Apr 07, 2010
Posts: 1642
    
  23

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

Joined: Jan 20, 2010
Posts: 163
hmm.. ok ...
may be its not about tiers in case of MVC..

i understood Bd,TO and SL
thanks..
 
Don't get me started about those stupid light bulbs.
 
subject: BD,SL and TO Patterns
 
Similar Threads
Why so much emphasis on Business Delegate or Intercepting Filter
Advantages of MVC
Doubt - Peabody Patterns Notes
My WAF or their WAF?
Confused in Design Patterns