Can pure java web apps run on coldfusion server?


I am a coldfusion developer.  I have a probably dumb question.  If we want to create some JAVA we apps, would we be able to run those on our coldfusion server?

I know that CF runs on Java, so I am guessing the answer is yes, but am unsure.

Are there java web servers?  Or do people run java on IIS, APache, etc?

Thanks for any info.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I am not 100% sure, but I do not think you can do it. Coldfusion uses its own libraries/APIs, so writing a pure java web application (that does not use any of the Coldfusion's libraries) will probably not run in CF.

Why don't you try some other server? Tomcat, Jboss, Jetty, Glassfish...

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
BonnieKAuthor Commented:
Thanks for the information and the answer!
Can you elaborate on what you mean by java web app?  It's probably more common to run ColdFusion on IIS/Apache, but it can run on Jetty (the "Express" versions do this), Resin or servlet containers like Tomcat. CF also supports java servlets, .jsp pages (Enterprise Edition).
BonnieKAuthor Commented:
Hi _agx_,

The problem is, I am too ignorant to answer your question.  We are looking to hire a Java programmer to program an application for us so that we can start moving in the direction of java apps.  I really don't know what that means at this point.  I do however appreciate your willingness to try to help me.  I went with the conservative answer of no - it can't be done - for the time being.  I am trying to justify upgrading our current CF server - which isn't too expensive - and one of the questions I was asked is "will the new java app run on it".   I told the director of BI, no, it will not.  Just to be on the safe side...

Thanks anyway...

Well, CF itself runs as a java application of sorts (servlet).  From CF10+ the internal server is Tomcat.  So you can do things like incorporate other servlets, run and/or interact with jsp pages from CF (requires Enterprise) or create web services.  I agree erring on the side of caution is usually best.  Just wanted to point out that it might be possible. All depends on what kind of a web app, and how it would be used.  Just to give you an idea, this is a little outdated, but most of it still applies.  

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ColdFusion Language

From novice to tech pro — start learning today.