Book Image

NetBeans IDE 7 Cookbook

By : Rhawi Dantas
Book Image

NetBeans IDE 7 Cookbook

By: Rhawi Dantas

Overview of this book

<p>Java IDEs have grown bigger and more complicated with time. Some development environments even require the user to spend countless hours searching for more software to bundle with the IDE just to start working. NetBeans abstracts much of the work needed to configure the environment and makes it convenient for Java developers to start coding straight away. With this book in hand you will tap into the endless possibilities of developing modern desktop and web applications in Java.<br /><br />NetBeans IDE 7 Cookbook is perfect for you if you are ready to take the next step from the standard tutorials and move into the practical world. It will show you all the features of the NetBeans IDE used by Java developers. It goes to great lengths in explaining different ways of achieving a desired goal and uncovering features present in NetBeans that are often overlooked or forgotten.<br /><br />The NetBeans IDE 7 Cookbook will appeal to Java programmers at all levels who are ready to go beyond just tutorials.</p>
Table of Contents (19 chapters)
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a Java Project using Maven support


Apache Maven is a build automation and project management tool hosted by the Apache foundation.

It uses a XML file called Project Object Model file (POM) to describe tasks, dependencies and goals that will be used to package, compile and even deploy out application in servers. Recently, Apache Maven has had a surge of interest since it has become an industry standard; it simplifies development, facilitates a test-driven approach, can be used for continuous integration, and simplifies cooperation between developers in a team who are working with different tools. For these reasons, the NetBeans team decided that the IDE should have built-in support for it. Since version 6.7, this is bundled together with the IDE, making the usage of Maven as easy as possible.

Maven can also be used by the command line, its primary usage, but a handful of commands must be memorized, such as package and clean. By using NetBeans instead, one can rely on a list of commands...