Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Deploy Java Web App Basics

Posted on 2010-08-20
3
549 Views
Last Modified: 2013-11-24
I want to deploy some web apps i built in java.  I'm currently using zymic.com as a free host and built them in eclipse and tested them locally running tomcat.

I'm 98% sure I have the directories correct (www/WEB-INF/classes/mypackage/myfiles.class) and the web.xml file in the right place but it is still not working.  

Anyone know what do I need to load onto the host so that the applications will run?  Ie JDK, etc
0
Comment
Question by:b_rad_wright
  • 2
3 Comments
 

Author Comment

by:b_rad_wright
ID: 33489644
Do i need to deploy tomcat on my host?
0
 
LVL 2

Accepted Solution

by:
arch-itect earned 500 total points
ID: 33491463
Yes you will need to have Tomcat on the host. Zymic doesn't cater for that though so you will need Java hosting.  

In eclipse you shouldn't have to create the deployment directories yourself.  After you have compiled the servlet you will end up with a ".war" file, not a .jar.  

Just like .jar you can rename a .war to zip and extract it to see the contents.

Go to the root of the tomcat server and log in as administrator.  Look for the place where you deploy servlets and upload the .war file.  Your servlet will now be running.

If your tomcat server is registered in eclipse then you will be able to publish straight to tomcat during the compile of your servlet.
0
 

Author Closing Comment

by:b_rad_wright
ID: 33513488
Thank you :)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
JUnit 4 @Before and @BeforeClass differences 3 70
custom annotations 9 42
ForLoop Example 3 52
sql import cannot be resolved jsp 3 46
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question