cancel
Showing results for 
Search instead for 
Did you mean: 

SQL DB Access with Web Dynpro

Former Member
0 Kudos

Hello everybody;

We want to know how to perform an access to a SQL DB using Web Dynpro(we are implementing a kind of agenda with events..)

We think about doing it, referencing our WD proyect with a J2EE proyect(containig some ejb´s..)But we´re a little it lost at the moment.

where and how we have to include the DB connection?

thank you everybody indeed.

JANO

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Please check the following

/people/david.beisert/blog/2004/10/26/webdynpro-importing-java-classes-as-model

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/us... ejbs in web dynpro applications.pdf

I have submitted sample code for generating bean outof the tables in SAPDB.Please find the link below

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/java/simple java bean generator for database.pdf

Note :This tool has some limitations

Regards, Anilkumar

Message was edited by: Anilkumar Vippagunta

Former Member
0 Kudos

Hi,

1.As you mentioned you can make use of EJBs in webdynpro.

You can use Java Bean model importer to create Model also .

2.In the src folder create a package and you can write your own java connection class so that you can this class in webdynpro to connect to DB.

Regards, Anilkumar

Former Member
0 Kudos

hi,

Can you explain us how can we implment it using WD model?

what type of model we have to use?

you recommend us to use models or ejbs?

thank you very much