Author Question: The two services involved with the distribution of messages within a DS are distribution and ... (Read 115 times)

itsmyluck

  • Hero Member
  • *****
  • Posts: 546
The two services involved with the distribution of messages within a DS are distribution and _________.
 
  What will be an ideal response?

Question 2

Explain the three types of visibility for package elements: public, private, and protected.
 
  What will be an ideal response?



wergv

  • Sr. Member
  • ****
  • Posts: 365
Answer to Question 1

integration

Answer to Question 2

Visibility of an element inside a package decides what other packages can access that element. The elements owned by a package can be assigned a specific visibility:
 Public. Identified with a plus sign, public elements are visible to all other packages. In most modeling tools, elements are public by default.
 Private. A minus sign next to an element specifies that the element may be seen only by members of the same package.
 Protected. Like classes, packages can be generalized. For example, you may define a package called Search that contains a certain set of classes common to search activities within the system. You may then define other packages such as Patient Search or Medical Service Search that inherit the artifacts within the Search packages. These child packages can see both public and protected elements within Search, while other packages have access only to its public items.



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

The human body's pharmacokinetics are quite varied. Our hair holds onto drugs longer than our urine, blood, or saliva. For example, alcohol can be detected in the hair for up to 90 days after it was consumed. The same is true for marijuana, cocaine, ecstasy, heroin, methamphetamine, and nicotine.

Did you know?

To prove that stomach ulcers were caused by bacteria and not by stress, a researcher consumed an entire laboratory beaker full of bacterial culture. After this, he did indeed develop stomach ulcers, and won the Nobel Prize for his discovery.

Did you know?

Approximately one in four people diagnosed with diabetes will develop foot problems. Of these, about one-third will require lower extremity amputation.

Did you know?

The use of salicylates dates back 2,500 years to Hippocrates’s recommendation of willow bark (from which a salicylate is derived) as an aid to the pains of childbirth. However, overdosage of salicylates can harm body fluids, electrolytes, the CNS, the GI tract, the ears, the lungs, the blood, the liver, and the kidneys and cause coma or death.

Did you know?

Asthma cases in Americans are about 75% higher today than they were in 1980.

For a complete list of videos, visit our video library