cancel
Showing results for 
Search instead for 
Did you mean: 

I am not able to create EnterpriseBean in NWDS

Former Member
0 Kudos

Hi all,

I am trying to create a Module in NWDS and referring this blog.

/people/sap.user72/blog/2005/07/31/xi-read-data-from-pdf-file-in-sender-adapter

and am following the procedure to develop Module as specified in this PDF.

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01...

I have created an EJB module and

1.created EJB of type StatelessSession Bean

2.<b>unchecked</b> generate default interfaces

3.I have deleted default Remote,Home, Local,LocalHome interfaces and given like com.sap.aii.af.mp.module.ModuleRemote.....

com.sap.aii.af.mp.module.ModuleLocalHome

and clicked on Finish and i got an error like <b>not able to create EnterpriseBean.</b>

How to rectify this error. Help me please.

Thanks&Regards,

Ganesh

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Ganesh,

Do the following steps...

1.created EJB of type StatelessSession Bean

2.Dont uncheck generate default interfaces

3. Fininsh.

Later in ejb-jar.xml file, modify Home,Remote,Local,LocalHome entries.

Hope this solves your problem.

Regards,

Uma

Former Member
0 Kudos

Thanks Uma,

Really it worked and i was able build Ear file and deployed successfully onto SAP J2EE Engine.

Thanks&Regards,

Ganesh

Former Member
0 Kudos

Ingnore the creation error as the necessary java classes will still be created. Set the classpath , Close the project once and open it again.