That setting does exist. I played around with Tomcat/servlets a while back and it's definitely possible. The setting is there so that in case you edit the .java file, the container will recompile it on the fly for you.
What I mainly want to do is write classes for functionality that CF doesn't provide. Right now, <CFPOP> isn't working for me. It's not doing what it says it can, i.e., returning UID's for messages. Mosh (the CF King) turned me on to how to read mail via a telnet session. Well, if I could do this with a Java class through which I could activate via a tag, that'd be great. Robert Nurse STG Contractor - Applications Development Enterprise Management Center Computational & Information Sciences Directorate -----Original Message----- From: Barney Boisvert [mailto:[EMAIL PROTECTED] Sent: Thursday, March 17, 2005 1:25 PM To: CF-Server Subject: Re: Interfacing Java Classes With CF Write your class, compile it, install it into the WEB-INF/classes or WEB-INF/lib directory just like any other J2EE application, and then instantiate it from CF: <cfset myObj = createObject("java", "package.MyClass").init("hello, world") /> Rumor has it (though I've never tried) that you can enable a couple settings in your jrun-web.xml file to do auto compilation, so you actually just drop you .javas in to the WEB-INF/classes directory, and JRun will take care of compiling them whenever they change. cheers, barneyb On Thu, 17 Mar 2005 11:00:40 -0500, Nurse, Robert (Cont, ARL/CISD) <[EMAIL PROTECTED]> wrote: > Hi All, > > I'm very interested Java development. I'm comfortable with Java > programming. But, I'm trying to form a professional experience base. > I'd like to get started by writing classes for use in my CF > applications. The question I have is, where do I begin? Can someone > point me to introductory documentation or books on interfacing my Java > class with CFMX (v. 6.1)? > > Thanks. > > Robert Nurse > STG > Contractor - Applications Development > Enterprise Management Center > Computational & Information Sciences Directorate > -- Barney Boisvert [EMAIL PROTECTED] 360.319.6145 http://www.barneyb.com/ Got Gmail? I have 50 invites. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:10:5265 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/10 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:10 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.10 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
