Launching all Coldfusion endpoints from installed CF Tomcat wwwroot

Currently, our CF web applications are served over IIS7, which requires the wsconfig tool to create connections between the CF and this site. This requires restarting IIS every time a new site is created and also creates another "balance" that must be maintained between the two server applications (IIS / CF).

We're starting to rely heavily on the single page application, so I'm wondering if we might find it easier to use the Tomcat wwwroot folder for the backend "endpoints"? Sorry to borrow App Engine terminology, but this is what we are looking for. IIS will still serve the normal client-side, but all API calls will just go to Tomcat wwwroot/<projectName>

. It looks like we get the best of both worlds in this configuration - no need for context configurations in Tomcat and no reboot in IIS (or CF) when adding a new application backend.

I should also mention that these apps are internal and window authenticated. Plus, no one will ever claim access to an application without going through the pretty IIS header.

I'm mostly curious to know if you are putting everything in the same directory, how is that a bad idea? I mean, I know the whole thing in the wwwroot folder should be exactly that. I just want to make sure I am not missing anything by not using formal contexts for each application.

+3


source to share





All Articles