Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hey guys

i'm tryng to run a program using ant,tomcat and eclipse. can anyone tell me the relationship bettween these three? im confused of creating and developing build.xml file.

Thank you!
Posted
Comments
Sergey Alexandrovich Kryukov 18-Jul-13 1:06am    
Why not simply reading about each of these products?
—SA
pasztorpisti 18-Jul-13 4:34am    
Exactly. A good start is usually checking out wikipedia:
http://en.wikipedia.org/wiki/Eclipse_%28software%29
http://en.wikipedia.org/wiki/Apache_Ant
http://en.wikipedia.org/wiki/Apache_Tomcat
Regarding Tomcat: It is just a servlet container for web development without a lot of other features supported by full fledged application servers (like Glassfish, WebSphere, JBoss, ...). Tomcat supports only the servlet api (with jstl, jsp) while an application server usually supports a lot of java ee related apis: JTA, JMS, EJB, ...
mali_angel 18-Jul-13 23:18pm    
thank you :)

1 solution

Eclipse is an IDE for developing/debugging any one of several languages (usually Java - I assume that is your language of interest). Apach ant[^] is actually an acronym for "Another Neat Tool" but is really a compile environment; generally an xml based replacement for the makefile system. Apache Tomcat[^]is an Apache web server.

Eclipse and ant run on most platforms. Tomcat is unix/linux only.

[rev.1: Tomcat is a web server not a browser.]
 
Share this answer
 
v2
Comments
mali_angel 18-Jul-13 1:35am    
Do we need all three two develop and run a program?
H.Brydon 18-Jul-13 1:39am    
Eclipse has several competitors. Ant is one of several build systems available for use with Eclipse (ask Google about ant vs Maven for example). Tomcat is one of several web servers.

You really don't need any of these to run a program, but think of the difference between swimming across a lake vs using a boat.
mali_angel 18-Jul-13 3:30am    
this links says "http://www.mulesoft.com/tomcat-60" "Windows users can either download the 32 or 64-bit binary distribution and install Tomcat manually..." but u said it can only for unix/linux..
H.Brydon 18-Jul-13 3:36am    
How about that. Looks like it will run on Mac as well. News to me...

Well, it originated in the unix/linux world. Looks like it is now available on the 3 major platforms (Torvalds, Gates, Jobs).
pasztorpisti 18-Jul-13 4:04am    
I have used the windows version of Tomcat years ago for development, worked like a charm for me.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900