Hi,
1. Yes. If the BD is implemented as a Session Bean - and i think
you should - it can be accessed either from Swing or Web Client. About Service Locator, it is not intended to be used directly by the clients but by the BD itself, so - indirectly - yes.
2. The number of BD is a personal decission. I'd make a BD for each distinct group of functionalities. Regarding a Factory of BD, if they are Session Beans they are container managed - created, and you must stay away from its creation, so there's no point in a Factory.
Of course, this is just MHO and can be discussed
Originally posted by Pramod Patidar:
Gurus,
I am architecting solution for part 2 (old) and have 2 questions
1. Can web client and swing client share same business delegates and service locator?
2. Can I have multiple business delegates and if so does it make sense to introduce a factory of business delegates?
Appreciate your response.
Pramod.