Yowdy, I don't think the cfx package provides a query class that you can create in java and return to CF without using the cfx processRequest/response stuff.
Instead how about returning a Java array of objects or structures? They can fit the bill sometimes. Here's the list of the conversions; http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/js/html/ wwhelp.htm?href=00000379.htm Also this might help, I haven't tried to create these classes; http://www.activsoftware.com/mx/undocumentation/query.cfm Cheers, AS -----Original Message----- > > > > -----Original Message----- > > From: George Abraham [mailto:[EMAIL PROTECTED] > > Sent: 02 December 2005 14:17 > > To: CF-Talk > > Subject: interacting with java and return a ColdFusion query > > > > All, > > I am working with CFMX and a set of Java libraries. I need to code a > Java > > class that can serve as the liaison between CFMX and Java. This class > will > > interact with the Java libraries and return the information to CF in the > > form of a CF query (using com.allaire.cfx.Query.) I want to stress that > I > > am > > not making a Java CFX tag, I am just using com.allaire.cfx.Query. > However > > I > > looked through this site ( > > > > > > http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/CFXRef_Java2.htm# > > 1142286) > > for the methods available for the Query interface and I don't see any > way > > to > > actually add a query or to name its columns. This is possible only > through > > the Request interface. How can I name a CF query and its columns in a > Java > > class and then return it to CFMX? > > > > Hope that makes sense! > > > > TIA, > > George > > > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225934 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

