Specialization of Object-Oriented Programs Written in Java Language

Posted by Anonymous 0 komentar
Specialization of Object-Oriented Programs Written in Java Language | Design patterns offer many advantages in software development, but introduce overheads into programs. These overheads and inefficiency can be eliminated by specialization, which adapts a program code to a specific use. In this paper, we show how to eliminate some of overheads caused by virtual methods calls. We propose the specialization of abstract factory and prototype design patterns that are used concurrently and we discuss how aspects can be used for virtual calls elimination. We have experimentally verified the usage of designed specialization pattern.

Using of design patterns in software development offers many advantages, such as code reusability, easier program extensions or others. It supports development and maintenance of software applications and systems. On the other side, design patterns may introduce inefficiency into programs. It is possible to eliminate this disadvantage by specializing the program, which adapts this program to a specific execution context [5]. An application that performs specializations is an automatic specializer.

Specialization may optimize object-oriented programs, especially those ones that are written according to design patterns. In object-oriented programs, overheads usually result from genericness. Approach, which prefers using generic methods and components, is in many cases at the expense of effectiveness. One of the factors that influence program effectiveness is usage of virtual calls. Download free Specialization of Object-Oriented Programs Written in Java Language.pdf here

0 komentar:

Post a Comment