Previous Section  < Day Day Up >  Next Section

14.5. Test Your Understanding

1:

True or False?

  1. A process may contain multiple AppDomains.

  2. An AppDomain may contain multiple assemblies.

  3. An AppDomain can contain both EXE and DLL assemblies.

  4. An AppDomain can be unloaded from memory.

2:

What are the three types of object activation modes, and which protocols can be used with each?

3:

Which activation mode creates a new object each time a client invokes a method on the object? Which mode creates a new object only the first time a client invokes a method?

4:

Explain the difference between CurrentLeaseTime, InitialLeaseTime, and RenewalOncallTime.

5:

What determines how often the lease manager checks for lease expirations?

6:

Which activation modes support the use of leases?

7:

When is a server-activated singleton object created?

  1. When the host begins running.

  2. When the client uses the new operator to create an instance of the object.

  3. When the client first calls a method on the object.

  4. When the object type is registered by the host.

8:

Compare channel registration and type registration.

9:

What is the reason to use SoapSuds or an interface when designing a remoting application? How is SoapSuds used?

    Previous Section  < Day Day Up >  Next Section