title: Deploying a java-ee WAR to a ColdFusion server (for a hybrid Java - ColdFusion application)
body: <h2>Background</h2>
  
  <p>We have an existing ColdFusion application, we are considering adding additional Java content to it.</p>
  
  <p>While I know it is possible to compile a jar and use that as a library I am looking for something closer to a pure java-ee experience where you hit save on a java file, the IDE redeploys to the server and your application is available milliseconds after you hit save.</p>
  
  <p>I understand that the ColdFusion server is actually a Tomcat server and uses java-ee "under the hood" so my hope is to be able to have a java-ee project that just happens to also have a few .cfm and .cfc files in it. I couldn't get NetBeans to recognise the ColdFusion server as a Tomcat server though.</p>
  
  <p>Alternatively I have tried deploying a WAR form ColdFusion server to a Glass Fish server then deploying my project to that. Of course deploying a java-ee WAR to a glass fish server is easy but of course it is deployed <em>next to</em> the ColdFusion application not <em>within</em> it, I wasn't able to find a way to correct that.</p>
  
  <h2>Question</h2>
  
  <p>How can I deploy a java-ee WAR to a ColdFusion server (which may or may not also have ColdFusion .cfm and .cfcs in it)? (or how can I get a Java-ee instant deployment experience while also using ColdFusion)</p>