File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to deploy an application on web server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to deploy an application on web server" Watch "How to deploy an application on web server" New topic
Author

How to deploy an application on web server

jignesh soni
Ranch Hand

Joined: Dec 10, 2007
Posts: 150
To make an application a web application , it has to be deployed on web server, right ? Now if I have got apache web server installed on my computer and there are many folders on my computer. So when somebody tries to access my web application how do I make sure that only the web application is accesssed and nothing else ? (Is it that, when we deploy an application on the web server, only that application will be accessed by the user ? in that case, how do we make sure that when user tries to access the server, only web server is accesse ? I mean how do I setup my IP address with web server, say web adress is "www.newbank.com" and IP adress is "78.126.0.234" , how do I connect this IP adress with my web server only ?

Thanks for reply in advance
Akhilesh Trivedi
Ranch Hand

Joined: Jun 22, 2005
Posts: 1531
Originally posted by jignesh soni:
To make an application a web application , it has to be deployed on web server, right ? Now if I have got apache web server installed on my computer and there are many folders on my computer. So when somebody tries to access my web application how do I make sure that only the web application is accesssed and nothing else ? (Is it that, when we deploy an application on the web server, only that application will be accessed by the user ? in that case, how do we make sure that when user tries to access the server, only web server is accesse ? I mean how do I setup my IP address with web server, say web adress is "www.newbank.com" and IP adress is "78.126.0.234" , how do I connect this IP adress with my web server only ?

Thanks for reply in advance


I don't know if i am getting you right, do you want to register domains say www.JigneshSoni.com on internet, if so you would need to register it.

http://en.wikipedia.org/wiki/Web_hosting_service

Further please be clear with what you know and what you want to know and in which thread to channelize your question, because technically there is a significant difference between "applcation", "web application", "web service", "deployement" and "registering domain names".


Keep Smiling Always — My life is smoother when running silent. -paul
[FAQs] [Certification Guides] [The Linux Documentation Project]
Peer Reynders
Bartender

Joined: Aug 19, 2005
Posts: 2922
    
    5
Originally posted by jignesh soni:
say web adress is "www.newbank.com" and IP adress is "78.126.0.234" , how do I connect this IP adress with my web server only ?


In order to respond to any type of network request a process on your computer has to be listening on a port. The default port for the HTTP protocol is port 80. So "http://www.newbank.com" is equivalent to "http://www.newbank.com:80" and "http://78.126.0.234" is equivalent to "http://78.126.0.234:80". Your web server will listen to port 80 (unless configured differently) on your computer and serve these HTTP requests. So it is the web server that is giving access to your computer's resources.

If anybody tries to connect to a port on your computer that nothing is listening to then no connection is established. If somebody tries to use an FTP (default port 21) client against your address nothing will happen unless you have an ftp server listening to port 21 (note however that under the right circumstances malware can install programs that listen on ports for incoming requests - and you wouldn't know it unless you knew what you are looking for as there are many programs that may be listening to other ports for legitimate reasons).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to deploy an application on web server