cancel
Showing results for 
Search instead for 
Did you mean: 

Calling EJB in WebDynpro JavaBean model

Former Member
0 Kudos

Hi,

we have our business logic encapsulated in EJB's. Due to performance issues we don't want to call the EJB's via the webservice model in Web Dynpro. Thus we decided to use the Java Bean model in Web Dynpro and call the EJB's we need in the execute method of the Java Bean.

This worked fine before we migrated from FP12 to FP14. Now we get a

java.lang.NoClassDefFoundError: javax/ejb/EJBHome 

exception when we try to access the EJB in the execute method of the Java Bean.

This happens although we have defined a library reference to

sap.com/ejb20

in project properties -> Web Dynpro References.

Did we miss something in order to use the ejb20.jar?

Any help to this topic is appreciated.

Greetings.

Achim

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

we have exactly the same problem!! We also use FP14

Please help!

Greetings

Thomas