Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deployment Options

 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Greg Charles
Sheriff
Posts: 2984
12
Firefox Browser IntelliJ IDE Java Mac Ruby
  • 0
  • Mark post as helpful
  • send pies
  • 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
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic