cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing EJB DC from WD DC

Jan_Vandieken
Explorer
0 Kudos

Hello,

I developed and deployed a stateless session Bean DC which offers me some methods. I can easily access it in an EAR DC and use the functionality within a JSP.

Now I want to use the functionality in a WebDynpro DC.

How can I access the functions in the WD ?

Is there any tutorial or handson on this ?

regards

Jan

Message was edited by: Jan Vandieken

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Jan,

have a look in this thread:

Best regards,

Christian

Jan_Vandieken
Explorer
0 Kudos

Hello Christian,

I just tried to do so. When I try to compile the WD I get a build error which says:

"This compilation unit indirectly references the missing type javax.ejb.EJBObject (typically some required class file is referencing a type outside the classpath)"

But I don't know how to react on this.

Former Member
0 Kudos

Jan,

Go to DC Metadata / Used DC in navigation tree of your WD project. Right-click and select "Add Used DC". Then select SAP-J2EE / ejb20 / default (check options build-time and run-time).

This have to help.

VS

Jan_Vandieken
Explorer
0 Kudos

Thanks alot

Answers (0)