>- see footer for list info -<
Thanks Charlie - that all looks very useful.

On Sat, Apr 26, 2008 at 7:45 PM, charlie arehart <[EMAIL PROTECTED]>
wrote:

> >- see footer for list info -<
> Giles, I hope I can help and I think you'll find I have good news.
>
> You mention looking at a book on JSPs and servlets, and you ask how to
> implement them (and JSPs) in CF. Of course, that book won't help--but
> neither will the CFML Reference (or a site like CFQuickdocs). You need to
> look at the ColdFusion Developers Guide in the CF docs
> (http://livedocs.adobe.com/coldfusion/8/htmldocs/Part_4_CF_DevGuide_1.html
> ),
> or any CF books out there. The CF manual has a chapter specifically on
> this
> topic:
>
>        "Integrating J2EE and Java Elements in CFML Applications":
>        http://livedocs.adobe.com/coldfusion/8/htmldocs/Java_1.html#1176234
>
> For instance, that chapter clarifies that to run a servlet called
> HelloWorldServlet, you put the servlet .java or .class file in the
> [CFserver]/WEB-INF/classes directory and refer to the servlet with the URL
> /servlet/HelloWorldServlet. It also discusses sharing data between CFML
> and
> such JSPs/servlets. You can even use JSP custom tag libraries directly
> within CFML, and lots more. And yes, the docs show (briefly) how to enable
> EJBs and call them from CFML.
>
> That said, the coverage in the docs may leave one wanting more, so you may
> want to consider other resources that discuss it more. There was at least
> one book focused on that, Reality Macromedia ColdFusion MX: J2EE
> Integration
> (
> http://www.amazon.com/Reality-Macromedia-ColdFusion-MX-Integration/dp/03211
> 29482). There were also lots of talks and articles back in the 2002
> timeframe, when this stuff really took off with CFMX (though Java
> integration was added back in CF 4.51, which added a means in the CF Admin
> to point to a JVM that CF would work with.)
>
> For instance, I did lots of presentations on CF/Java integration (as did
> others, of course). If you visit http://carehart.org/presentations/, and
> search for java, jsp, or servlet filters.
>
> As for your reference to submit.do, sounds like you're doing Struts.
> That's
> not discussed in the CF docs, but there was at least one DevCenter article
> that discussed it specifically:
>
>        Streamlining Application Development Using Struts in ColdFusion MX
>        http://www.adobe.com/devnet/coldfusion/articles/struts.html
>
> It's interesting to see these recent questions about things that came out
> with CF 6--many shops either didn't move from 4/5 right away, or did but
> didn't take advantage of the new features. Folks in that position will
> then
> not have necessarily followed all the resources (books, technotes, blog
> entries, user group talks) that came out back then.
>
> This is one of the reasons I keep saying that any topic on the CF Meetup
> (coldfusionmeetup.com) is welcomed. Not everyone needs only to learn new
> stuff, many need to learn what may seem "old" stuff. It's also the reason
> why I keep pointing to articles and talks I did in the way past. :-)
>
> /charlie
>
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight
> Sent: Saturday, April 26, 2008 4:45 AM
> To: Coldfusion Development
> Subject: [CF-Dev] Using colfdfusion 8 as J2EE server
>
> >- see footer for list info -<
> Hi All
>
> I'm working through a book on jsp and java servlets. At the moment I am
> using tomcat on my desktop to run the sample applications but I have CF8
> installed on my server so I want to know if I'll be able to run servlets
> on
> there as well.
>
> I have got jsp to work no problem but getting the servlets to work is a
> bit
> more complicated it seems. I'll also be wanting to develop EJB
> applciations
> on there as well.
>
> Is this possible?
>
> The first problem is that there is no WEB-INF folder specific to each site
> so I cannot add a web.xml and classes to each site.
>
> The second problem is that I can't see how IIS will be able to route
> submit.do (for example) to the J2EE server so that it can decide which
> servlet processes that request.
>
> Any help much appreciated
>
> Giles
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
> -<
>
>
> _______________________________________________
>
> For details on ALL mailing lists and for joining or leaving lists, go to
> http://list.cfdeveloper.co.uk/mailman/listinfo
>
> --
> CFDeveloper Sponsors:-
> >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
> >- Lists hosted by www.Gradwell.com -<
> >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
> -<
>



-- 
Giles Roadnight
http://giles.roadnight.name
_______________________________________________

For details on ALL mailing lists and for joining or leaving lists, go to 
http://list.cfdeveloper.co.uk/mailman/listinfo

--
CFDeveloper Sponsors:-
>- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<

Reply via email to