Arquitetura de softwareWebservices
- (CAIP-IMES 2012)
Considere as afirmações abaixo.
I - In Object-Oriented Programming, the Abstract Factorypattern is one level of abstraction higher than the factory pattern. You can use this pattern when you want to return one of several related classes of objects, each of which can return several different objects on request. In other words, this pattern is a factory object that returns one of several factories. One classic application is the case where your system needs to support multiple “look- and-feel” user interfaces, such as Windows-9x, Motif or Macintosh. You tell the factory that you want your program to look like Windows and it returns a GUI factory which returns Windows-like objects. Then when you request specific objects such as buttons, check boxes and windows, the GUI factory returns Windows instances of these visual interface components.
II - Although Web Servicesdo not necessarily translate to SOA, and not all SOA is based on Web Services, the relationship between the two technology directions is important and they are mutually influential: Web Servicesmomentum will bring SOA to mainstream users, and the best-practice architecture of SOA will help make Web Servicesinitiatives successful.
Pode-se afirmar que:
A) todas as afirmações estão incorretas.
B) apenas a afirmação I está correta.
C) todas as afirmações estão corretas.
D) apenas a afirmação II está correta.
Próximo:
EXERCÍCIOS - Exercício 13
Vamos para o Anterior: Exercício 11
Tente Este: Exercício 17
Primeiro: Exercício 1
VOLTAR ao índice: Arquitetura de software