O'Reilly logo

NetBeans IDE 8 Cookbook by Rhawi Dantas, David Salter

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a library

When developing large applications, it's often necessary to utilize third-party libraries. Sometimes, third-party libraries can be distributed as source code that can be dropped into an application, but more often, they are distributed as a set of .jar files.

NetBeans comes bundled with several class libraries (such as Hibernate, Spring, and TestNG), but it also allows developers to create their own sets of class libraries that can be easily added to projects.

This recipe shows how to create a new library within NetBeans that can then be subsequently used by NetBeans projects. This recipe does not involve writing any Java code, but describes the procedure of creating a library from existing code that other NetBeans projects can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required