Frank Jacobsen wrote:Im beginning on a new project next week, where i must make a system of realy many classes of buisness logic.....
This must be deployed as a jar file, to many diffrent sysstems, no web services here, becouse of the milions of calls every week.
The systems "clients" that calls this buisniss logic, have 15 difrent methoeds they can call, and get some obects returned.
I think off using Facade Pattern, is this the right choise ?
Any good ideas out there
Frank
I understand you, although you haven't explained very well. You want to expose only 15 methods to clients from a bunch of classes. Well, if those methods are very
different among them, or have a different business logic, there has no sense to make a common class that group them, on the other hand, you must make several Client classes that act as Facade. If methods are for same business logic, then make a Facade class to group them.