Web Dynpro DC vs. EJB
I want to create a central method for connecting the DB from WebDynpro.
In some of the documents its recommended to create an EJB for that purpose.
Can anyone tell me why is it more recomended than using a webDynpro DC?
If you place your logic in EJB then you be able to:
have several client technologies (pure J2EE Web, WebDynpro, desktop). Plus it is possible to expose business logic via WebService-s or similar B2B technology.
This is not possible if you code your logic directly at WD ( client ) layer.