lundi 8 février 2016

Avoiding dependency to a third party component

I have a Java application that has dependency to a third party component. I need to avoid the dependency to this component as much as possible. I came across the following patterns.

  • Proxy
  • Decorator
  • Adapter
  • Facade

For me it looks like any of these patterns will suit my need. I'm a little bit confused which one should I use. Any advice?

Aucun commentaire:

Enregistrer un commentaire