Building with Ant: Introduction Virginia

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

Digital Image Technology Corp
(757) 623-3709
500 E Plume St
Norfolk, VA
Paramount Technology Group Inc
757-405-0110
3909 Colony Pointe DR
Chesapeake, VA
Software Development & Services Corporation
703-359-1380
2200 Wilson Blvd
Arlington, VA
Patriot Computers
(757) 587-6400
7862 Tidewater Dr
Norfolk, VA
FronTech
703-9080651
4900 Leeseburg Pike
Alexandria, VA
IBM Corp
(757) 446-6200
999 Waterside DR
Norfolk, VA
Electronics Boutique
757-465-5977
4200 Portsmouth Blvd
Chesapeake, VA
Active Computer & Electronics
757-558-8878
2981 S Military Hwy
Chesapeake, VA
Geeks On Call America
(757) 722-3200
814 Kempsville Rd
Norfolk, VA
Direct2U Computer Repair
757-803-8126
4213 Schooner Trail
Chesapeake, VA

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

IBM Corp

(757) 446-6200
999 Waterside DR
Norfolk, VA

Regional Articles
- Building with Ant: Introduction Alexandria VA
- Building with Ant: Introduction Annandale VA
- Building with Ant: Introduction Arlington VA
- Building with Ant: Introduction Ashburn VA
- Building with Ant: Introduction Bassett VA
- Building with Ant: Introduction Blacksburg VA
- Building with Ant: Introduction Bristol VA
- Building with Ant: Introduction Burke VA
- Building with Ant: Introduction Centreville VA
- Building with Ant: Introduction Chantilly VA
- Building with Ant: Introduction Charlottesville VA
- Building with Ant: Introduction Chesapeake VA
- Building with Ant: Introduction Chester VA
- Building with Ant: Introduction Chesterfield VA
- Building with Ant: Introduction Christiansburg VA
- Building with Ant: Introduction Colonial Heights VA
- Building with Ant: Introduction Culpeper VA
- Building with Ant: Introduction Danville VA
- Building with Ant: Introduction Dumfries VA
- Building with Ant: Introduction Fairfax Station VA
- Building with Ant: Introduction Fairfax VA
- Building with Ant: Introduction Falls Church VA
- Building with Ant: Introduction Farmville VA
- Building with Ant: Introduction Fredericksburg VA
- Building with Ant: Introduction Front Royal VA
- Building with Ant: Introduction Galax VA
- Building with Ant: Introduction Glen Allen VA
- Building with Ant: Introduction Hampton VA
- Building with Ant: Introduction Harrisonburg VA
- Building with Ant: Introduction Herndon VA
- Building with Ant: Introduction Hopewell VA
- Building with Ant: Introduction King George VA
- Building with Ant: Introduction Leesburg VA
- Building with Ant: Introduction Lorton VA
- Building with Ant: Introduction Lynchburg VA
- Building with Ant: Introduction Manassas VA
- Building with Ant: Introduction Martinsville VA
- Building with Ant: Introduction Mc Lean VA
- Building with Ant: Introduction Mechanicsville VA
- Building with Ant: Introduction Midlothian VA
- Building with Ant: Introduction Newport News VA
- Building with Ant: Introduction Norfolk VA
- Building with Ant: Introduction Petersburg VA
- Building with Ant: Introduction Portsmouth VA
- Building with Ant: Introduction Powhatan VA
- Building with Ant: Introduction Radford VA
- Building with Ant: Introduction Reston VA
- Building with Ant: Introduction Richmond VA
- Building with Ant: Introduction Roanoke VA
- Building with Ant: Introduction Salem VA
- Building with Ant: Introduction Spotsylvania VA
- Building with Ant: Introduction Springfield VA
- Building with Ant: Introduction Stafford VA
- Building with Ant: Introduction Staunton VA
- Building with Ant: Introduction Sterling VA
- Building with Ant: Introduction Suffolk VA
- Building with Ant: Introduction Vienna VA
- Building with Ant: Introduction Vinton VA
- Building with Ant: Introduction Virginia Beach VA
- Building with Ant: Introduction Warrenton VA
- Building with Ant: Introduction Waynesboro VA
- Building with Ant: Introduction Williamsburg VA
- Building with Ant: Introduction Winchester VA
- Building with Ant: Introduction Woodbridge VA
- Building with Ant: Introduction Yorktown VA
Related Articles

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