Nope, not a problem. Go ahead.

Paul

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Peter J. Farrell
Sent: Saturday, November 14, 2009 8:32 PM
To: [email protected]
Subject: [OpenBD] Re: Execute CFC from Java


Paul, Would you mind if I take your posts and use them as a basis for an
entry on the wiki?

.pjf

Paul Bonfanti said the following on 11/14/2009 08:10 AM:
> The CFCProxy class needs to be created from a servlet or JSP so you should 
> first learn how to create a servlet or JSP before trying to use the CFCProxy 
> class. Here's a small example for a JSP:
>
> <html>
> <body>
>
> <p>Calling a CFC
>
> <%
> com.newatlanta.cfc.CFCProxy myCFC = new 
> com.newatlanta.cfc.CFCProxy("javacall", request, response, out);
> Object[] myArgs = {"Java invocation working"};
> java.util.Map map = (java.util.Map)myCFC.invoke("getData", myArgs);
> %>
>
> <p>name = <%= map.get("name") %>
> <br>email = <%= map.get("email") %>
> <br>date = <%= map.get("date") %>
> <br>message = <%= map.get("message") %>
>
> </body>
> </html>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of 
> BD_Architect
> Sent: Saturday, November 14, 2009 12:55 AM
> To: Open BlueDragon
> Subject: [OpenBD] Re: Execute CFC from Java
>
>
> I've tried searching everywhere to no avail.  Is there any
> documentation on CFCProxy?  The only thing I came across was general
> info in the BD 7.1 pdf.  It had no code examples though.  Is there
> anything documented out there with code samples like most of your
> other tags?
>
> Thanks.
>
>
>
> >
>




--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 mailing list - http://groups.google.com/group/openbd?hl=en

 !! save a network - please trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to