Saturday, December 12, 2009

Application Virtualization





Definition software component .- "A software component (SC) is a unit of composition with interfaces specified in the form of contract and explicit context dependencies. A software component can be deployed (Deployed) or installed independently and is subject to be ended by third parties. "
meaning Let this definition is that a CS can be installed somewhere (be it software or system), but you must meet certain specifications (interfaces) or under a certain context (technology possibly) examples CS would eg. NET assemblies, the J2EE EJB's, Java applets, including Java Beans.
As you can see these are closely tied to certain technologies, certain methodologies arise here as the MDA (Model Driven Architecture) that aims to design systems based on models or components, and pass that when a system with a number of translators may already do the desired technology, such as J2EE and. NET for example.
A software component has the following characteristics:
· is an executable unit that can be implemented independently (it's implemented is that it can be installed in English deployment).
· may be subject to composition by third parties, ie a company or a developer can come and take the component and add it to what you are doing, or make a composition of components.
A component has been (at least outwardly visible)
· You can take the software components as an analogy to electronic components, the idea of \u200b\u200bthis is to have various components that can be taken to make a larger system, and to take processors, integrated memory, etc. to cause a computer for example.
Various models of components, are known. NET, EJB (Enterprise Java Beans) and CCM (CORBA Component Model).
The paradigm of component-oriented development is an emerging field, where there are many things said but nothing is well defined and we can serve as a recipe.

GRANULARITY
The granularity of synchronization, or frequency, between processes on the system, is a good way to characterize multiprocessors and place in a context with other architectures. Can distinguish five categories of parallelism that differ in the degree of granularity. These categories are summarized as follows:
grain size
Description
synchronization interval ( instructions)
Fino
Parallelism inherent in a single stream instruction.
\u0026lt;20
Middle
Parallel processing or multitasking within a single application.
20-200
Thickness
Multiprocessing of concurrent processes in a multiprogrammed environment.
200-2000
Very thick

Process distributed network nodes to form a single computing environment.
2000-1M
Independent
Several processes unrelated
(N / A)

Processes and timing granularity
Fine Grain Parallelism: fine grade parallelism represents a much more complex parallelism that is found in the use of threads. Although many studies have been made highly parallel applications, is a specialized and fragmented, with different approaches.
Medium Grain Parallelism : An application can be effectively implemented as a collection of threads with a simple parallel. In this case, the potential parallelism of an application must be explicitly specified by the programmer. generally will require a high degree of coordination and interaction between the threads of an application, bringing to an average level of synchronization.
While independent parallelism, coarse and very coarse grained to be supported both in a multiprogrammed uniprocessor as a multiprocessor with little or no impact on the planning function, planning should be reviewed when it comes wire planning. Since the various strands of planning interact very often, planning decisions involving the balance can affect the performance of the entire application.
Coarse Parallelism and very thick: With this kind of parallelism there is synchronization between processes but at very rude. This kind of situation is easily understood as a set of concurrent processes running on a multiprogrammed uniprocessor and can be supported on a multiprocessor with little or no change to the user software.
A simple example of an application that can benefit from the presence of a microprocessor. The authors have developed a program that receives a specification of the files that need to be collected to reconstruct a piece of software and determine which of these compilations (usually all) can run simultaneously the program then creates a parallel process for each collection. The results indicate that the acceleration in a multiprocessor actually exceeds that which would be expected by simply adding the number of processors used, because of the synergies in the disk caches and share code compiler, which is loaded into memory only once.
In general, any set of concurrent processes that need to communicate or synchronize can fully use architectures of multiprocessors. A distributed system can provide adequate support in the event of unusual interactions between processes. However, if the interaction is more frequent, the overhead of communications over the network can eliminate some of the possible acceleration. In this case, the organization offers multiprocessor support more effective.
Parallelism Independent: Among the processes there is no explicit synchronization. Each represents a separation, a separate application. The typical use for this type of parallelism is in the time-sharing systems.
Each user is running a particular application, such as a word processor or spreadsheet. The multi-service offers the same processor multiprogrammed. As more than one processor available, the average response time for users will be less.
is possible to achieve a similar increase in performance provided each user a personal computer or workstation. If you go to shared files or information, then it should connect individual systems in a distributed system supported by a network. On the other hand, a single multiprocessor system offers, in many cases, a better cost than a distributed system can improve the disks and other peripherals.

POLYMORPHISM

definition of polymorphism .- The word polymorphism comes Greek and means having several different forms . This is one of the essential concepts of object-oriented programming. And inheritance is related to classes and their hierarchy, polymorphism is related to methods.
In general, there are three types of polymorphism:

parametric polymorphism (also called polymorphism templates)
inclusion polymorphism (also called redefinition or subtyping )


overloading polymorphism
Overloading polymorphism occurs when the functions of same name exist, with similar functionality in classes that are completely independent of each other (they do not have to be child classes of the class object). For example, the complex class, class and class image link can all have the "display." This means we need not worry about the type of object you are working for if all we want is to see on the screen.
Therefore, polymorphism allows us to define overloaded operators whose behaviors vary according to the parameters that apply to them.

Polymorphism Parametric
Parametric polymorphism is the ability to define various functions using the same name, but using different parameters (name and / or type). Parametric polymorphism automatically selects the correct method to apply the type of data passed in parameter.

subtyping polymorphism

The ability to redefine a method in classes that inherit from a base class called specialization . Therefore, you can call an object method without knowing its intrinsic type: this is subtyping polymorphism. Lets not take into account details of a family of specialized classes of objects, masking them with a common interface (this being the basic class).
Imagine a game of chess with the king objects, queen, bishop , horse, tower and pawn , each inheriting the object piece.

The method movement could, using subtyping polymorphism, corresponding to the movement according to the class object is called. This allows the program to perform the movimiento.de_pieza without having to be connected to each type of piece in particular.


NOTE: Read information, see unfamiliar terms. This will serve as reinforcement of the topics covered in class.


0 comments:

Post a Comment