Hi,
This is more of a J2EE question. I am not sure if this is the right forum for it. I couldn't find a more relevant one. If this is not, please inform me.
I have my business layer implemented in Pojos. There are 2 layers, 1 for the remote interfaces which is located by the service locator for the client to access business methods. And the second is the implementation layer which is actual business methods.
Can anyone tell me whether it is fine for a class in the implementation layer to talk to another class directly, or should it go via service locator only.
Please clarify soon.
Thanks a lot,
Gaurav
This is more of a J2EE question. I am not sure if this is the right forum for it. I couldn't find a more relevant one. If this is not, please inform me.
I have my business layer implemented in Pojos. There are 2 layers, 1 for the remote interfaces which is located by the service locator for the client to access business methods. And the second is the implementation layer which is actual business methods.
Can anyone tell me whether it is fine for a class in the implementation layer to talk to another class directly, or should it go via service locator only.
Please clarify soon.
Thanks a lot,
Gaurav
Comment