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-----
From: George Abraham [mailto:[EMAIL PROTECTED] 
Sent: Saturday, 3 December 2005 1:48 AM
To: CF-Talk
Subject: Re: interacting with java and return a ColdFusion query

Oh yeah, I am familiar with Aaron's tag. That was the basis of the CFX tag
that I had written. Is the CF_Lucene tag available somewhere? I don't have
access to the DRK.

George



On 12/2/05, Robertson-Ravo, Neil (RX) <[EMAIL PROTECTED]>
wrote:
>
> Well,
>
> I still think you can use cfquery to get at the cotent.  On one of the
> DRK's
> there was a CF_Lucene tag set which did quite a lot with CF and Lucene.
>
> There are also numerous other sites which mention Lucene and ColdFusion
> working in tandem....
>
> One is Aarons (albeit old!)
>
>
>
http://cephas.net/blog/2003/12/06/indexing_database_content_with_lucene_cold
> fusion.html
>
> HTH
>
>
>
> -----Original Message-----
> From: George Abraham [mailto:[EMAIL PROTECTED]
> Sent: 02 December 2005 14:27
> To: CF-Talk
> Subject: Re: interacting with java and return a ColdFusion query
>
> Hehehe, I did not even think to explain that I wasn't querying just a
> database. The Java set of libraries is Lucene and I am querying the index
> that Lucene has built up for a particular search string. I want to return
> the result that Lucene generates back to CF in the form of a CF query
> object. I have already done this using a CFX tag, but I need to do some
> more
> somersaults within the Java class, so I want to ditch using the CFX tag
> and
> use a class that I can query using CreateObject.
>
> Thanks,
> George
>
> On 12/2/05, Robertson-Ravo, Neil (RX) <
> [EMAIL PROTECTED]>
> wrote:
> >
> > I'm lost, what is wrong with <cfquery>?
> >
> >
> >
> > -----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
> >
> >
> >
> >
> >
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225932
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=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to