*
The moose likes Java in General and the fly likes Run Web Application on network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Run Web Application on network" Watch "Run Web Application on network" New topic
Author

Run Web Application on network

raj patel
Greenhorn

Joined: Jun 14, 2008
Posts: 2
Hi,
I completed simple java web application for student result.I used java 1.6, netbean 6 and MS-Access for database.My Application works well on standalone computer.

My query is how to test or run my application on network? Is it possible thet If I install netbean package on server so can all client can access web application and how?

My query is what are steps required when I migreted from standalone to network?

Thanks.

Patel


-----------------*-*-*---------------<br />SCJP<br />Preparing for SCWCD
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Certainly not the whole Netbean route. Netbeans works with a variety of servers, how is your version set up?

Is there an existing server on your network that could host the web app?

Bill
Bill Cruise
Ranch Hand

Joined: Jun 01, 2007
Posts: 148
You probably want to install Tomcat by itself on your web server. NetBeans serves web applications in a built-in Tomcat container (at least that's how it worked when I was in school), but it would be a great deal of overkill to run all of NetBeans on your server. Check out the Apache Tomcat home page for details.
raj patel
Greenhorn

Joined: Jun 14, 2008
Posts: 2
Thanks.

but, at present my web application is on standalone XP and developed in netbean. Now I connected 5 XP computer with networking. and, I want to install tomcat 6 on any one computer and want to deploy web application on the same. so, which step required , so I can access localhost from other 4 remaining computer and to access my web application. My main target is to get hands on experience with synchronization, session handling and database connection.

thanks.

Raj
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
You don't even need to install tomcat to do that - just start your web application and access it by replacing "localhost" with the IP address of the computer the application runs on when typing in the http address on the other workstations.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Run Web Application on network
 
Similar Threads
Deploying a web based application
commandline argument
can't access database
installer for standalone application
Java Application and Web Application communication