LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 12-08-2004, 12:00 PM   #1
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Rep: Reputation: 31
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
 
Old 12-08-2004, 12:11 PM   #2
k1ll3r_x
Member
 
Registered: Sep 2004
Location: Laredo, TX
Distribution: Slackware 11.0 [both lap & pc] WinXP
Posts: 164

Rep: Reputation: 30
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.
 
Old 12-08-2004, 12:22 PM   #3
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
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.
 
Old 12-08-2004, 09:07 PM   #4
poeta_boy
Member
 
Registered: Oct 2003
Location: Mexico
Distribution: Ubuntu
Posts: 223

Original Poster
Rep: Reputation: 31
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
 
Old 12-08-2004, 10:05 PM   #5
peteABK
Member
 
Registered: May 2003
Location: Canada
Distribution: Fedora 13
Posts: 49

Rep: Reputation: 15
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
 
Old 12-09-2004, 10:50 AM   #6
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i verify if my web app is really running on mod_perl?? kartheekpn Linux - Software 1 11-16-2005 06:17 AM
web page app Kamikazee Linux - Software 6 11-15-2005 07:22 AM
Tomcat - Web App Deployment JohnCotter Linux - Networking 2 11-09-2003 08:27 AM
Licensing a php web app lunardreamr General 5 09-16-2003 04:39 PM
Web Log Analysis App bp_uk Linux - General 5 01-08-2002 12:10 PM


All times are GMT -5. The time now is 07:19 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration