BD,SL and TO Patterns
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
I had read this line about BD,SL and TO patterns in Peabody on scwcd patterns
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.
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 |...
posted 15 years ago
The Business tier consists of EJBs while the Web-tier (presentation layer) consists of Servlets and JSPs (according to Sun)
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
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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?
But in case of MVC presentation tier is JSPs, htmls while business tier is servlets and data tier is model(EJBs)
isn't it?
Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
posted 15 years ago
To my understanding it was like this:
Model consists of the EJBs
View consists of JSPs
Controller is a Servlet
Regards,
Frits
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
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
posted 15 years ago
-
-
Number of slices to send:Optional 'thank-you' note:
-
-
hmm.. ok ...
may be its not about tiers in case of MVC..
i understood Bd,TO and SL
thanks..
may be its not about tiers in case of MVC..
i understood Bd,TO and SL
thanks..
Parth Tiwari
| Pursuing Bachelor of Engineering | OSUM Club Leader | SCJP 6 | SCWCD 5 |...
| What does a metric clock look like? I bet it is nothing like this tiny ad: The new gardening playing cards kickstarter is now live! https://www.kickstarter.com/projects/paulwheaton/garden-cards |








