|
Hello,
I wonder if I can use a ColdFusion instantiated
object inside a jsp page.
In my cfm page I have: <cfset request.myContent =
CreateObject("component","navitacontent")>
Which has the available method
"listUsergroups"
Then I include the jsp:
<cfset
GetPageContext().include("test.jsp")>
Can I use the "listUsergroups" method In the
test.jsp page (or better, inside a servlet or a Java class ?
Maybe I would have to create a Java class that can
receive the ColdFusion objects, instantiate this
class from the cf and then pass the cf object to
this class in order to use it.
Well, before you start asking why would someone
want to do this stuff, the situation is:
We have developed our own Content management
System, all done with CFCs, MVC, and using a DAO layer,
and now some clientes are asking for a jsp
implementation.
We already done part of this, but using a
webservices approach, we generated stubs for the cfcs WSDLs, and
concluded that the performance doesn't woth the
risk.
We could re-write all the java classes, but all we
want is to build our own tld, and maybe,
we could use the CF Objects inside our java
code.
Any ideas about this architecture ? Is it viable ?
[]s
Marcantonio
Silva
Diretor de Desenvolvimento de Produtos - Navita [EMAIL PROTECTED] www.navita.com.br Tel: +55 11 3365.2173 Cel: +55 11 9656.4634
|
- RE: [CFCDev] CFINCLUDE forces var scope into arguments? Roland Collins
- RE: [CFCDev] CFINCLUDE forces var scope into arguments? Dave Carabetta
- RE: [CFCDev] CFINCLUDE forces var scope into argum... Barney Boisvert
- CFMAIL (was RE: [CFCDev] CFINCLUDE forces var ... Phil Cruz
- RE: CFMAIL (was RE: [CFCDev] CFINCLUDE for... Barney Boisvert
- Re: CFMAIL (was RE: [CFCDev] CFINCLUDE... Thomas Chiverton
- [CFCDev] OT: Dynamic class instan... Brian Kotek
- Re: [CFCDev] OT: Dynamic clas... Matt Liotta
- RE: [CFCDev] OT: Dynamic clas... Brian Kotek
- Re: [CFCDev] OT: Dynamic clas... Matt Liotta
- Re: [CFCDev] OT: Dynamic clas... Marcantonio Silva
- Re: [CFCDev] OT: Dynamic clas... Nordin Haouari
- RE: [CFCDev] OT: Dynamic clas... Benjamin S. Rogers
- [CFCDev] Determining invocati... Alexander Sherwood
- Re: [CFCDev] Determining invo... Sean A Corfield
- Re: [CFCDev] Determining invo... Alexander Sherwood
- Re: [CFCDev] Determining invo... Sean A Corfield
- Re: [CFCDev] Determining invo... Alexander Sherwood
- Re: [CFCDev] Determining invo... Sean A Corfield
- Re: [CFCDev] Determining invo... Alexander Sherwood
- Re: [CFCDev] Determining invo... Sean A Corfield
