LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   deploying a web app (https://www.linuxquestions.org/questions/programming-9/deploying-a-web-app-264058/)

poeta_boy 12-08-2004 11:00 AM

deploying a web app
 
hello:

I have this small web app........ it consists of some jsp's, java classes and the usual web.xml.

Since I'm using struts, I also include the struts-config.xml

I developed it in my computer, using tomcat and mySql. So it works fine in my computer (I didn't manage to get the app.war but it works fine with the normal directory structure of a web app).

I was a school project but I was wondering, what if I did want to deploy it in a "real" server??? what do I really need the server to have??

can I deploy it in let's say... geocities or something like that, maybe even on IIS?

are there any changes that most be done in any xml file?

thanks a lot

k1ll3r_x 12-08-2004 11:11 AM

i think, well i really dont know, but i guess it kinda would have to depend on the server supporting the xml service for its users.

csfalcon 12-08-2004 11:22 AM

Your web app doesn't need to be in a war file, as long as it has the correct directory structure. In fact, tomcat "unwar" the files in the directory structure before it can run your app.

You need a java container suchs as tomcat to host your app, you won't be able to deploy on geocities. As far as I know, the last place you can run your java app is MS IIS.

poeta_boy 12-08-2004 08:07 PM

hello:

yeah, that'd be ironic to run jsp on IIS, but what I meant was that if there's some compatibility.... I see there's not, and I need a container........ mmm are there free servers out there (or not free) that will offer me that? or is there the need to translate my code into php (or write it in php in the first place)

Thanks

peteABK 12-08-2004 09:05 PM

I doubt you'll be able to find a free one like geocities or tripod to let you run jsp's.

You best bet would be to get yourself your own domain ( $12.95 USD / Year at http://www.domainsatcost.ca ), and using a free DNS service like http://www.afraid.org you can quickly set up your own server at home even if you have a dynamic IP address.

Good luck,
pete

csfalcon 12-09-2004 09:50 AM

There are far fewer web hosting companies that allow JSP than PHP, and usually more expensive. But I personally would stick with JSP, to me it is more flexible and more powerful, so I'd hate to see you starting porting to PHP ;)


All times are GMT -5. The time now is 08:19 PM.