Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Deploy Java Web App Basics

Posted on 2010-08-20
3
Medium Priority
?
563 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
[X]
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
  • 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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.

610 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