Chapter 31


A1:

A, C, and D. CFCs are designed to encourage code reuse and tiered development, and they can indeed be accessed outside of ColdFusion. B and E are false, as CFCs are not needed to access Java or implement error handling (although both can be performed inside of CFCs).

A2:

B. empObj is missing # characters, and so a string is being passed instead of the object. A is incorrect, as a path is not always needed. C is incorrect, as method is not used in <cfobject>. D is incorrect because returnvariable is always optional.

A3:

B. name is required. The other attributes are all valid but not required.

A4:

A. access is set to "remote" to allow remote access.

A5:

C, D, E, and G. REQUEST, SESSION, SERVER, and VARIABLES may contain complex data types, and if no scope is specified, then VARIABLES is the default.



Macromedia ColdFusion MX 7 Certified Developer Study Guide
Macromedia ColdFusion MX 7 Certified Developer Study Guide
ISBN: 0321330110
EAN: 2147483647
Year: 2004
Pages: 389
Authors: Ben Forta

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net