Kinley:
If your "nested Java class" is serializable (i.e., implements the
Serializable interface), then you could
1) Serialize the object and save it to a file
2) Read the file back into your ColdFusion page into a string and WDDX
serialize it;
3) Pass along the WDDX-packet to whatever other application requires it;
4) WDDX deserialize the string, save it to a file, then use Java to
deserialize it back from the file.
Or, instead of a file, serialize the Java object to a byte array, or a
string, and WDDX-serialize that instead.
Regards,
Joel Parramore
> -----Original Message-----
> From: Kinley Pon [mailto:[EMAIL PROTECTED]]
> Sent: Monday, November 19, 2001 10:00 AM
> To: CF-Talk
> Subject: Java Object -> String format -> WDDX -> String format -> Java
> Object
>
>
> Here is something that may be of interest to those Coldfusion, java, and
> WDDX developers.
>
> I am in need of a FUNCTION or METHOD that would take a "NESTED"
> Java Object
> and convert it into a STRING format.
>
> I will then WDDX ready the resulting STRING formatted value. I will then
> WDDX serialize the STRING formatted value. After doing so, I
> will then pass
> this WDDX XML formated string and convert it by WDDX deserialization back
> into a Java Object.
>
> Can you help please...I need a FUNCTION would convert a "NESTED"
> JAVA OBJECT
> into a WDDX ready STRING.
>
> I am sure there is a Genuis out there that have an answer.
>
> talk soon - Kinley
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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