I don't think there is a normal case when working with Java. Generally speaking, if the method in question is overloaded you almost always will need to create a wrapper class. Otherwise, just give JavaCast a go and hope for the best. If it doesn't work, build a wrapper class.
-Matt > -----Original Message----- > From: Paul Hastings [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, June 26, 2002 12:54 AM > To: CF-Talk > Subject: Re: wrapper classes for Java (was RE: Apache Xindice article) > > > Are you asking if you need to write a Java wrapper class for an existing > > Java class to use it with CFMX or whether you need to write a wrapper > > the former. > > > Some Java classes are hard to make use of with CF because of Java being > > a typed language while CF is a typeless language. For example, if a > > i've often found javacast not to cast the correct datatype especially with > numbers. for instance, i've had to write a wrapper class that took numbers > as strings from cf, cast those to doubles, etc & then locale format those. > simple enough to do but initally hard to see for someone with little java > experience. > > i was wondering if this was the "normal" case for java/cfmx? > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.372 / Virus Database: 207 - Release Date: 20/6/2545 > > ______________________________________________________________________ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

