cancel
Showing results for 
Search instead for 
Did you mean: 

Project Properties settings in WD that uses EJBs

Former Member
0 Kudos

Hi,

I have a WD application which uses EJBs. Instead of using a model to import a JavaBean( Command bean class) that uses EJB, I have directly coded the command bean logic in the DoInit() method of my component controller. So no models are used here. I have following entities in my whole application :

1. ProtoNew [ Web Dynpro project ]

2. Sol_AddressEJBMod [ EJB modules ]

3. QuickAddrRWModel [ Helper class for EJB ]

The .jar files for respective projects are generated.

Can anyone please help me regarding the settings that are needed for WD project in order to use EJB modules & Helper class ?

How to set the usage of <EJBProj>.jar & <HelperClass>.jar in WD Proj ?

Please enlist the steps as I'm new to web dynpro.

Thanks, in advance,

Prasanna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Prasanna,

Add the reference of the Ejb Ear project in the sharing references of the web dynpro project.

Right click on the project-> properties -> Webdynpro references -> Sharing references tab.

Expose public parts from the ejb module project and add the public parts under the used Dcs in WD project.For using the methods in the beans you can lookup the reference of the bean.

Regards,

Bhavana

Answers (0)