cancel
Showing results for 
Search instead for 
Did you mean: 

Importing Java Bean Model in NWDS 7.0

Former Member
0 Kudos

Hi Experts,

I am using NWDS 7.0 and want to import Java Bean model in my NWDS project.

Can any one guide me how to create java bean and all steps which require to import java bean model.

I am using the below link but not able to create java bean

http://scn.sap.com/docs/DOC-2635

Thanks in Advance...

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

U can add the jar files in the DC Meta Data tab ->>>>used DCs tab...

The jar file u want to add,choose from the active dcs list and the check the boxes for deploy time and build time.

I think ur problem may get solved.

Sweta.

Former Member
0 Kudos

Hi Anshu,

Do you have a specific problem or error that is occurring?  It will help us to help you if you can be more specific with any difficulties.

Gareth.

Former Member
0 Kudos

Hi Gareth,

Thanks for your reply..

I am new to EJB.

I am not able to build my Enterprise Application Poject. Getting the below error.

Error: Build stopped due to an error: Could not find classcom.sap.tc.buildplugin.BuildEnterpriseApplication

I think a jar file is required for building Enterprise Application but I did not get the above missing jar file(Searched in Google).

And also in the above mentiond PDF, For creating a EJB Model so many steps are there so I just wanted to know whether these all steps are mandatory or is there any other way to do the same and also from where I can get the required jar file.

Former Member
0 Kudos

Hi Anshu,

That sounds like a standard jar file that should be available as part of your NWDS installation.  What version of NWDS are you using, and are you creating the DC in your LocalDevelopment -> MyComponents SC?

If you do this correctly, your DC's should have all of the correct required reference libraries from the other DC's available within LocalDevelopment.

(Indeed, if you are doing this inside a proper development track from NWDI it should still just work but I suspect that you will be doing it in your LocalDevelopments.)

Have you tried right-clicking on your DC and choosing Development Component -> Synchronise followed by Development Component -> Build?

Does your EJB Module DC that your EAR DC references build correctly?

Gareth.

Former Member
0 Kudos

Hi Gareth,

I am using NWDS 7.0, and my JavaBean Model and Enterprise Application both are DC.

I am able to build JavaBean Model DC Successfully.

But when I am creating Enterprise Application DC, I am able to add my EJB Modules but not bale to build (Getting the above mentioned error).

When I am creating Enterprise Application Project (Not DC), I am able to build but not able to add my EJB Modules.

Please let me know any other link which will help me to do the same..

Former Member
0 Kudos

Hi Anshu,

If you create both the EJB Module and EAR components as proper DC's, then they should automatically have the correct libraries assigned as dependancies.

Are you creating them within your LocalDevelopments area or are they on a full Development Track you have imported from NWDI?

It's been a long time since I worked with EJB's on a 7.0 system however I do not believe you need to manually add any libraries or dependancies to make this work - does it mention anything about these in the document?

The other thing you could try is a complete re-install of NWDS, in case some of the plugins or files are corrupt.

Gareth.