cancel
Showing results for 
Search instead for 
Did you mean: 

Use of Assitance Class

Former Member
0 Kudos

Hi all,

I would like to know what is better in terms of performance and also of managment when I create a Web dynpro. My doubt is, in a Web Dynpro for customers management is better to create an object referred to a Class in which I will define all methods about customer and then I instance this object into the web dynpro through its constructor method, or is better define all these methods into the assistance class?

I don't know if is better to use the assistance class for Web Dynpro methods and another class only for customer management methods or use only the Assistance class and inside it define all methods specific for Web Dynpro and that ones specific for Customer managment.

Thanks

GN

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

purely from an architectural point of view,

I would instantiate the customer as an attribute on the assistance class

and use the objects methods via this assistance class, which will be linking the business logic

with the controller part in the component.

Performance wise, there won't be much of a difference, only the structure will improve.

Grtz,

Koen