<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc = "http://purl.org/dc/elements/1.1/" xmlns="http://purl.org/rss/1.0/">
	<channel rdf:about="http://livedocs.adobe.com/">
	<title>LiveDocs Comments - coldfusion - 6 - Developing_ColdFusion_MX_Applications_with_CFML - Java5.htm</title>	
		<link>http://livedocs.adobe.com/</link>
		<description>Macromedia LiveDocs - online documentation with user feedback.</description>
		<copyright>Copyright 2009, Macromedia, Inc.</copyright>
		<dc:date>2009-11-25T04:28:55</dc:date>
		<dc:language>en-us</dc:language>
		<items>
			<rdf:Seq>
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm#950" />
				<rdf:li rdf:resource="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm#675" />
			</rdf:Seq>
		</items>
	</channel>
	
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm#950">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm#950</link>
		<description>The example that creates teh Employee.java file is wrong.  All of the constructors contain a return type of void.  Although the java file will compile, you won't be able to invoke any of the constructors other than the default constructor.  Trying to do so results in an exception.&lt;br&gt;&lt;br&gt;The solution is to remove &quot;void&quot; from all of the constructor declarations.</description>
		<dc:creator>rbils@amkor.com</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2003-03-10T21:03:00</dc:date>
	</item>
	<item rdf:about="http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm#675">
		<title>coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm</title>
		<link>http://livedocs.adobe.com/coldfusion/6/Developing_ColdFusion_MX_Applications_with_CFML/Java5.htm#675</link>
		<description>The example above under &quot;Using a Java API in a UDF&quot; could be enhanced with just 3 more lines of code. Since some readers of this chapter may not be familiar with UDFs, or may not readily see the point that the example is CFML (if they're not familiar with CFSCRIPT), it would be helpful to round out the example by wrapping the function statement in CFSCRIPT tags and then showing a simple CFOUTPUT call to the routine, passing in &quot;macromedia.com&quot; as an example, as in (comments removed):&lt;br&gt;&lt;br&gt;&lt;cfscript&gt;&lt;br&gt;function GetHostAddress(host) {&lt;br&gt;   var iaddrClass=&quot;&quot;;&lt;br&gt;   var address=&quot;&quot;;&lt;br&gt;   iaddrClass=CreateObject(&quot;java&quot;, &quot;java.net.InetAddress&quot;);&lt;br&gt;   address=iaddrClass.getByName(host);&lt;br&gt;   return address.getHostAddress();&lt;br&gt;}&lt;br&gt;&lt;/cfscript&gt;&lt;br&gt;&lt;br&gt;&lt;cfoutput&gt;#gethostaddress(&quot;macromedia.com&quot;)#&lt;/cfoutput&gt;&lt;br&gt;&lt;br&gt;</description>
		<dc:creator>carehart@systemanage</dc:creator>
		<dc:type>0 0</dc:type>
		<dc:date>2002-09-07T19:35:00</dc:date>
	</item>
	</rdf:RDF>

