File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Open Source Projects and the fly likes how to deploy vaj apllication on a tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "how to deploy vaj apllication on a tomcat server" Watch "how to deploy vaj apllication on a tomcat server" New topic

how to deploy vaj apllication on a tomcat server

himanshu bisht

Joined: Jan 18, 2004
Posts: 1
i have a application deveploped on vaj but now i want to deploy it on tomcat server.
please could anyone help me in doing that
Craig Walls
Ranch Hand

Joined: Sep 19, 2003
Posts: 335
By "vaj", I assume that you mean VisualAge for Java...
Firstly, no matter what IDE you use, you should probably never rely on the IDE to do your build. Use Ant or Maven to do your build, but don't use the IDE's build facility. (Of course, if your IDE supports Ant builds, then that's okay--but in this case, VAJ doesn't support Ant builds, so don't use VAJ to do your build.)
The problem with VAJ is that it doesn't keep real file artifacts for the stuff it builds. To get real files (which you need for Ant) you have to export stuff, which introduces a manual step that I don't like dealing with.
I recommend getting away from VAJ and to use an IDE that keeps real files. I recommend that you switch to Eclipse because it is very similar to VAJ. But if you insist on using VAJ, then you must export your files, then use Ant to do your builds.
Once you've got Ant or Maven doing your builds, deploying to Tomcat (or any other server) is a snap. Just compile your code, WAR it up, then copy the WAR file to Tomcat's webapp directory.

Spring in Action - Unleash POJO power in your applications!
Modular Java - Discover the secret weapon to modularity on the Java platform!
XDoclet in Action - Your complete guide to code generation with XDoclet.
I agree. Here's the link:
subject: how to deploy vaj apllication on a tomcat server
jQuery in Action, 3rd edition