cancel
Showing results for 
Search instead for 
Did you mean: 

EJB Model: Selected DC contains EJBs without any methods

Former Member
0 Kudos

Hello,

I need some hints on importing EJB Models with WebDynpro 7.1 CE.

I prepared EAR/EJB DCs with one POJO class and one stateless Session Bean that just returns an instance of the Pojo.

The getPojo() is propagated via Local and Remote interface.

However, whenever I try to import the Model, I get the "Selected DC contains EJBs without any methods" message.

I could not finde any clues how to solve this, so please help me out.

Thanks.

Jan

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

closed

Former Member
0 Kudos

Closed, solved it myself using this step by step approach suggested by Martin

1) create an ejb module Development ComponentDC

2) apply a stateless session bean, implement your business logic and add the methods

to the local interface

3) right click your ejb DC and select Development Component > Show In > Component Properties from context menu

- switch to the permissions tab and select Entity forwarding

4) create a Java EE Enterprise Application Archive (ear) file and reference your ejb

5) right click your ear DC and select Development Component > Show In > Component Porperties from context menu

- switch to the Public Parts tab

- add a new puplic part (compilation)

- right click it, select Reference Entities from the context menu and browse for your ejb DC and choose the Client public part

4) create WebDynpro DC

5) import your ejb

in this thread

thanks anyway