Building with Ant: Introduction Nevada

Developing Web applications using Java Servlets, JavaServer Pages, and other J2EE technologies is fun! See how to avoid many of the common growing pains of application development by using simple tools, like Ant and JUnit, and a simple directory structure.

Local Companies

Rentex Inc
(800)3044819
3585 E Patrick Ln Ste 1200
Las Vegas, NV
Check Point Software
(702) 633-7778
823 Vineyard Vine Way
North Las Vegas, NV
Intertech Computers
(702)4534433
3321 Sunrise Ave Ste 105
Las Vegas, NV
Conrad & Company
(702) 699-9034
5101 Tropical Rain St
North Las Vegas, NV
RetailSystems, Inc.
(702)6170427
346 Pleasant Summit Dr
Henderson, NV
Janalent
(888)2904870
3291 E Warm Springs Rd Ste 300
Las Vegas, NV
Sparkplug
(702)5058094
3744 Civic Center Dr
N Las Vegas, NV
IT Dev, Inc.
(888)3330477
3365 E Flamingo Rd Ste 5
Henderson, NV
Akers & Associates, Inc.
(702)8662316
720 S 4th St Ste 305
Las Vegas, NV
P.O. Interests, Inc.
(702)8963822
2628 Langford Ave
Las Vegas, NV

provided by: 
Originally published at Internet.com


Developing Web Applications using Java Servlets, JavaServer Pages, and other J2EE technologies is fun! However, the more interesting your application becomes, the more complicated your build process. In this article, I will sketch out a framework for how to use simple tools (like Ant and JUnit) and a simple directory structure to avoid many of the common growing pains of application development.

Conclusion



I hate articles that make you wade through mountains of verbosity before telling you what you need to know, so I'll summarize the main points of this article right up front: * Use Ant (duh). * Use a sensible directory. * Keep your build directory totally separate from your source directory. * Store all JAR files in a common lib directory, and copy or refer to them as needed. * Plan for multiple web.xml files (they may need to change if you want to deploy on more than one server). * Make an ant build target for Unit Testing, and use it as (or from) your default target.

Ant and Its Targets



Ant is a great open-source development tool from the Jakarta Project. If you haven't already, you should go download it from http://jakarta.apache.org/ant/, follow the install instructions for your platform, and look at the manual. I strongly recommend putting the ant executable on your PATH, so you can just run "ant" from the command line. Recent versions of ant make this as easy as setting a few environment variables...

Read article at Internet.com site

Featured Local Company

Janalent

(888)2904870
3291 E Warm Springs Rd Ste 300
Las Vegas, NV

Related Local Events
Northern Nevada Regional Business & Tech Show
Dates: 10/16/2020 - 10/16/2020
Location: .A. Nugget, Sparks
Sparks, NV
View Details

2010 7th IEEE Consumer Communications and Networking Conference (CCNC)
Dates: 1/10/2010 - 1/12/2010
Location: Harrahs Las Vegas Hotel and Casino
Las Vegas, NV
View Details

POWER-GEN International 2009
Dates: 12/8/2009 - 12/10/2009
Location: Las Vegas Convention Center
Las Vegas, NV
View Details

Mobile Business Expo
Dates: 11/16/2009 - 11/20/2009
Location: Mandalay Bay Resort & Casino Convention Center
Las Vegas, NV
View Details

International Telemetering Conference
Dates: 10/26/2009 - 10/29/2009
Location: Riviera Hotel & Conference Center, Las Vegas
Las Vegas, NV
View Details

Topics: 
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML