on 01-17-2005 8:17 AM
Hi all,
I'm using webdynpro and i need to connect to a db.
the line below throghs the Exception
the line above throghs an Exception ClassNotFoundException
Class.forName("com.sap.dbtech.jdbc.DriverSapDB");
I have imported thre jar sapDB.jar what else can i do?
I want to connect to an sql DB via java and i stack.
need your help,
Yoav
Message was edited by: Yoav Toussia Cohen
Hi Yoav,
I belive you put the database access codes in your Web Dynpro's implementation. In this case you need to have your JDBC driver deployed as shared library to the server. You also need to define the Library Reference in your Web Dynpro's project properties.
However, this is not a good approach and Web Dynpro never intends for business process development. You should have an EJB wrapped your database access. Then import this EJB as a model in Web Dynpro to preserve the MVC separation. Always remember Web Dynpro is an UI development tool and not for business process.
Regards,
Marc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.