cancel
Showing results for 
Search instead for 
Did you mean: 

Using EJBs in Web Dynpro

Former Member
0 Kudos

Hello.

Estubo following a guide called "Using EJBs in Web Dynpro."

And I have a doubt.

It turns out that my dictionary project has 3 tables.

Cree with an EJB 3 entity beans, one for each table, and one session bean.

Now I have to create a project java.

In the guide, works with a single table, so it creates in the project java, all methods necessary, etcetera.

And I'm half loss because I was wondering whether to create a single class that handles all reaches me.

Thank you

Accepted Solutions (0)

Answers (4)

Answers (4)

siddharth_jain
Active Contributor
0 Kudos

Hi,

For getting the Java bean model class in WebDynpro first you have to import the jar file of your command bean once the jar file is generated you need to copy that jar file in Webdunpro project lib folder through navigator view also you have to copy the ejb jar file in the same folder.

After doing this java bean model class will be available for import in webdynpro.

Regards,

Siddharth

former_member188598
Contributor
0 Kudos

Hi,

Plz chk this thread:

Regards

Priyanka

Former Member
0 Kudos

Hi,

Refer to the Links for accessing tables using web dynpro java.

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70929198-0d36-2b10-04b8-84d90fa3df9c]

[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b21892-c31c-2a10-f484-fcef1eaf8c4f]

I Hope this Information Might be Helpful for you.

Regards,

Sharma.

Former Member
Former Member
0 Kudos

Please Help!

When I want to create a model java beans from my Web dynpro me jump the following problem:

"Invalid Class - JavaBean not available for import"

I need to know that I am wrong.

Thank you very much

Former Member
0 Kudos

Hi,

which version 7.0 or 7.1?

Martin

Former Member
0 Kudos

Hello is the old version.

Since the acquired with the purchase of a book SAP.

Greetings

Former Member
0 Kudos

Hello, I set the version and it is this: 2.0.9

Because I wanted to work with the new version that allows you to get here and do not install the SAP MMC.

And that's why I decided to continue working with the version that already had and it worked.

sridhar_k2
Active Contributor
0 Kudos

You have 3 - Dictionary Tables and 3 - Entity Beans and a Session Bean and you want to use it in a Java Class.

If i understand your requirement correctly,

You can all your Entity Bean comunication in the Session bean and you can call your session bean in the Java Class / Web Dynpro.

Usually we have one Business Delegate(BD) which communicates to the Session Bean and we can use that BD in the Java Class / Web Dynpro.

Let me know, if my understanding is wrong for this question.

Thanks,

Sridhar

Former Member
0 Kudos

Hello!.

I am making a project that is WEB DYNPRO.

And I want to use a model java beans.

So for that reason, I basis in the guide.

That suggests creating a dictionary.

A project that handles three EJB entity beans and a session bean.

And a RAC.

But also suggests a project using Java, where the relationship between Web dynpro and ejb.

If that is not misunderstood!.

And there are lessons that must be created because the guide, it creates a class, but has only one table.

Thank you