on 10-01-2004 6:42 PM
Hi All,
How can I create a Model for LOCAL DB(SAP DB)or Can I create a session or entity bean model for local DB.
If not,please tell me which is the best way to use/call Local DB.
Thanks for your help in advance.
Chandra Murthy
Netweaver Developer
SAP IT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chandra,
I think there are at least two reasons.
1. It is not quite easy to write such a model generator. Think about Joins, complex where or having clauses, ...
2. Normally you do not get data from just one table and display or edit that data. In real world there are different tables involved in an operation. There is business logic around theses tables and business logic shouldn´t be placed into the controller. According to MVC pattern business logic should be placed into the model and that is an EJB, RFC or Web Service.
Regards
Helmut
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.