cancel
Showing results for 
Search instead for 
Did you mean: 

I'm wondering relation between web dynpro and database.

Former Member
0 Kudos

Hi, mate~

Now, I'm studing Web Dynpro.

I'm looking for relation between web dynpro and database.

But I couldn't look for relation between web dynpro and database in SDN.

So I'm asking about relation between web dynpro and database to you.

If you had thought about relation between web dynpro and database in the past or know about that,

please let me know about relation between web dynpro and database.

How to link database into Web Dynpro?

How to use database?

Or Isn't there database in Wen Dynpro? so How to control data?

ETC..

Thank you for your reading my question.

Accepted Solutions (1)

Accepted Solutions (1)

former_member185086
Active Contributor
0 Kudos

Hi

What database u want to use in your application.

1.[WebServices|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d076c662-8c0f-2b10-8ca4-e63c26e2e489]

2.[EJB |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502f70a8-33a4-2b10-3dbe-bdcb5e25c6da]

Best Regards

Satish Kumar

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can connect to any database from web dynpro application like mysql,oracle etc.

For that you need to configure some settings in admin tool

and also you need to add driver to your project.

If you are connecting from CE then you need to create Datasource in NWA.

Refer to this link:

https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/40db1ed9-b7c2-2b10-66b8-84f6954b...

Hope this helps you.

Regards,

Sumangala

Former Member
0 Kudos

Thank you for answering.

But I'v really wondered transfering data to database in web dynpro.

Where I coding query sentence in webdynpro?

former_member185086
Active Contributor
0 Kudos

Hi

All coding part can be done in Component Controller or if its a huge interaction (heavy component ) then make a separate dedicated dc from this .

For understanding follow have a look on [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502f70a8-33a4-2b10-3dbe-bdcb5e25c6da] and [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/900bbf94-a7a8-2910-e298-a651b4706c1e]

Best Regards

Satish Kumar

snehal_kendre
Active Contributor
0 Kudos

HI,

you have to write query sentences in JPA entities of EJB.

In web dynpro you will create a model (either EJB model or web service mode) to connect the database.

There are tutorial available for interaction of webdynpro and EJB 3.0

0 Kudos

Hi,

Don't need to expose EJBs as Web Service just to consume them in Web Dynpro.

You can try this: https://www.sdn.sap.com/irj/sdn/nw-ui?rid=/library/uuid/b030e7fb-2662-2b10-0dab-c4aa52c3550b

Cheers,

Vesselin