This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Run Web Application on network" Watch "Run Web Application on network" New topic

Run Web Application on network

raj patel

Joined: Jun 14, 2008
Posts: 2
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?



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

Joined: Mar 22, 2000
Posts: 13027
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 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

Joined: Jun 14, 2008
Posts: 2

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.


Ilja Preuss

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
It is sorta covered in the JavaRanch Style Guide.
subject: Run Web Application on network
It's not a secret anymore!