on 09-10-2009 5:19 PM
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
closed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
thanks anyway
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.