• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Deployment Options

 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are about 4 or 5 different Forums here at Javaranch where I could have posted this question. However, I chose this one because it hopefully encoupasses J2EE. So feel free to move this if need be.
I have been learning, testing, studying, etc as many aspects of J2EE as possible. EJB, Servlet, JSP, etc. I have been using Tomcat as my Container and MySQL as the backend DB.
As I am always testing, I have both MySQL and Tomcat running on the same PC that I am developing on for testing purposes which I have read is the appropriate thing to do as not to disrupt the production server. It just makes since.
However, I have started trying to learn how to use Ant, and I notice that in the build.properties file I am making there is a reference to a tomcat.home property. From what I can tell, this has to be some form of a directory path to the home directory of Tomcat. While this is good for testing purposes, I have yet to figure out how you would use Ant to deploy a Web Application on a remote server.
Are there other tools I need to be using? Do I need to look at CVS?
My Question:

What is the best method to deploy a J2EE production ready application onto the production server with the least amount of interference as possible.

Thanks.
 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The way I'm doing it is by using the ftp task of Ant. That's an optional task though, so you have to drop an extra jar into your ANT_HOME/lib. I think that's NetComponents.jar.
How are you using Tomcat for EJBs? It's not an EJB container, is it?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Greg. I have only begun to look at EJB's so I haven't actually develped any yet. I am not sure what I am going to use to test EJB's.
What do you use?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic