on 04-08-2009 12:14 AM
Hello Gurus,
I would like to have your views on using typed context and generic apis in the webdynpro code? When to use these APIs? Is there any additional benefit of using Generic APIs in terms of Performance, memory consumption etc.
Would love to hear from you?
Abhinav
Hi expert,
Context api is use fullfor creating value node and attribute at design time where as generic Api is use full for creating Value Node and attribute at Run time proceess ,it very use ful atrun time..
context Api is static purpose and Generic api is dynamically created,,,,
Type context Api is Known to user and Generic Api are unknown to user....
Type context Api---I<node name>Element(),currentContextElement().get<attribte Name>();
Generic Api--IWDNodeElement,
hope you will get clear ..
thanks
jati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would say use the typed API whenever possible, also if it causes some overhead in the amount of generated code and some small runtime overhead.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
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.