• 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
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Difference between Session Facade and Business Delegate pattern

 
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
WHile reading more and more about these two from various website and Sun's pattern site , i find they are doing mostly the same thing . That is sitting between the client and the different Business objects and hiding the complexity , coupling involved dealing with different business objects.They may use service locator inside them to look up remote object/jndi lookup.

Thanks if someone could clearly demark these two patterns .
Thanks
 
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Though the bussiness delegate is definded in the Business tire it reside in the presentation tire and work as proxy to handle various bussiness method calls.

Session Facade reside in the business tire and handle communication in the business tire.

May be other big difference. It is just my understanding.

Thanks
 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would like to add one more to this: Service locator
Reading HFSJ,I am getting confused between Service locator and business delegate. Seems like there is very minute difference between these three.

Can anybody throw more light on it???

regards,
sarang bharambe
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Service Loacator is used in lookup for services like JNDI and other factory resource. It only help to locate the resources and create the initial context of these resources. It can cache the located resources for future use. Other work is handle by bussiness delegate /other pattern including handling of business exceptions.

Thanks
 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
Can anyone tell the difference between Front Controller and MVC?Savita

Thanks
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I think MVC is more than pattern. It is framework. It define how to refactor your various task in different modules and controls all the flow between various tasks. That is Model, View, Controller.

The Front Controller is more about the single task. It is related to the requests comming from the users. It control the flow of requests from the users and eliminate the duplicate codes.

The Front Controller may be part of the MVC framework.

Thanks
 
Live a little! The night is young! And we have umbrellas in our drinks! This umbrella has a tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic