cancel
Showing results for 
Search instead for 
Did you mean: 

Using Dependency Injection in WebDynpro

Former Member
0 Kudos

Hi,

is it possible to use Dependency Injection (@EJB,@PersistenceContext,@PersistenceUnit ) in a WebDynpro Contoller ?

Accepted Solutions (1)

Accepted Solutions (1)

Vlado
Advisor
Advisor
0 Kudos

No, it's not supported in Web Dynpro.

The Web Dynpro programming model suggests that one should use one of the available [Web Dynpro models|http://help.sap.com/saphelp_nwce10/helpdata/en/44/e407c0802f65ffe10000000a1553f7/frameset.htm] to integrate with the different types of backend systems (e.g. the EJB model for integration with EJB services and relational databases using JPA).

The following tutorial might also be handy: http://help.sap.com/saphelp_nwce10/helpdata/en/45/f7f744aea471fae10000000a1553f6/frameset.htm

HTH!

\-- Vladimir

Former Member
0 Kudos

Thanks a lot for your reply Vladimir

Edited by: Locke Cihan on Sep 8, 2008 1:32 PM

Answers (0)