NetBeans
NetBeans is an integrated development environment (IDE) for Java. NetBeans allows applications to be developed from a set of modular software components called modules. NetBeans runs on Windows, macOS, Linux and Solaris. In addition to Java development, it has extensions for other languages like PHP, C, C++, HTML5,[3] and JavaScript. Applications based on NetBeans, including the NetBeans IDE, can be extended by third party developers.[4]
Screenshot | |
Original author(s) | Roman Staněk |
---|---|
Developer(s) | |
Stable release | 19[1]
/ 1 September 2023 |
Repository | gitbox |
Written in | Java |
Operating system | Windows, macOS, Linux, Solaris; feature-limited OS independent version available |
Platform | Java SE, Java EE, JavaFX |
Available in | 28 languages |
List of languages see § Localization | |
Type | IDE |
License | Apache License 2.0 (previously CDDL or GPLv2 with classpath exception)[2] |
Website | netbeans |
History
NetBeans began in 1996 as Xelfi (word play on Delphi),[5][6] a Java IDE student project under the guidance of the Faculty of Mathematics and Physics at Charles University in Prague. In 1997, Roman Staněk formed a company around the project and produced commercial versions of the NetBeans IDE until it was bought by Sun Microsystems in 1999. Sun open-sourced the NetBeans IDE in June of the following year. Since then, the NetBeans community has continued to grow.[7] In 2010, Sun (and thus NetBeans) was acquired by Oracle Corporation. Under Oracle, NetBeans had to find some synergy with JDeveloper, a freeware IDE that has historically been a product of the company, by 2012 both IDEs were rebuilt around a shared codebase - the NetBeans Platform. In September 2016, Oracle submitted a proposal to donate the NetBeans project to The Apache Software Foundation, stating that it was "opening up the NetBeans governance model to give NetBeans constituents a greater voice in the project's direction and future success through the upcoming release of Java 9 and NetBeans 9 and beyond". The move was endorsed by Java creator James Gosling.[8] The project entered the Apache Incubator in October 2016.[9]
NetBeans IDE
NetBeans IDE is an open-source integrated development environment. NetBeans IDE supports development of all Java application types (Java SE (including JavaFX), Java ME, web, EJB and mobile applications) out of the box. Among other features are an Ant-based project system, Maven support, refactorings, version control (supporting CVS, Subversion, Git, Mercurial and Clearcase).
Modularity: All the functions of the IDE are provided by modules. Each module provides a well-defined function, such as support for the Java language, editing, or support for the CVS versioning system, and SVN. NetBeans contains all the modules needed for Java development in a single download, allowing the user to start working immediately. Modules also allow NetBeans to be extended. New features, such as support for other programming languages, can be added by installing additional modules. For instance, Sun Studio, Sun Java Studio Enterprise, and Sun Java Studio Creator from Sun Microsystems are all based on the NetBeans IDE.
License: The IDE is licensed under the Apache License 2.0. Previously, from July 2006 through 2007, NetBeans IDE was licensed under Sun's Common Development and Distribution License (CDDL), a license based on the Mozilla Public License (MPL). In October 2007, Sun announced that NetBeans would henceforth be offered under a dual license of the CDDL and the GPL version 2 licenses, with the GPL linking exception for GNU Classpath.[10] Oracle has donated NetBeans Platform and IDE to the Apache Foundation where it underwent incubation and graduated as a top level project in April 2019.[11]
Other products
In an October 2016 interview with Gabriela Motroc, Oracle Vice President Bill Pataky stated that Oracle has a number of products that depend on NetBeans.[12]
- Oracle Developer Studio, a commercial C, C++, Fortran and Java development environment is 100% based on NetBeans[12]
- Oracle JDeveloper, an end-to-end development for Oracle's technology stack takes major subsystems from NetBeans[12]
- Oracle JavaScript Extension Toolkit, a modular, open source toolkit based on modern JavaScript, CSS3 and HTML5 design and development principles uses NetBeans as its preferred IDE[12]
Integrated modules
These modules are part of the NetBeans IDE:
NetBeans Profiler
The NetBeans Profiler[13] is a tool for the monitoring of Java applications: It helps developers find memory leaks and optimize speed. Formerly downloaded separately, it is integrated into the core IDE since version 6.0. The Profiler is based on a Sun Laboratories research project that was named JFluid. That research uncovered specific techniques that can be used to lower the overhead of profiling a Java application. One of those techniques is dynamic bytecode instrumentation, which is particularly useful for profiling large Java applications. Using dynamic bytecode instrumentation and additional algorithms, the NetBeans Profiler is able to obtain runtime information on applications that are too large or complex for other profilers. NetBeans also support Profiling Points that let you profile precise points of execution and measure execution time.
GUI design tool
Formerly known as project Matisse, the GUI design-tool enables developers to prototype and design Swing GUIs by dragging and positioning GUI components.[14]
The GUI builder has built-in support for JSR 295 (Beans Binding technology), but the support for JSR 296 (Swing Application Framework) was removed in 7.1.
NetBeans JavaScript editor
The NetBeans JavaScript editor provides extended support for JavaScript, Ajax, and CSS.[15][16]
JavaScript editor features comprise syntax highlighting, refactoring, code completion for native objects and functions, generation of JavaScript class skeletons, generation of Ajax callbacks from a template; and automatic browser compatibility checks.
CSS editor features comprise code completion for styles names, quick navigation through the navigator panel, displaying the CSS rule declaration in a List View and file structure in a Tree View, sorting the outline view by name, type or declaration order (List & Tree), creating rule declarations (Tree only), refactoring a part of a rule name (Tree only).
The NetBeans 7.4 and later uses the new Nashorn JavaScript engine developed by Oracle.
NetBeans IDE download bundles
Users can choose to download NetBeans IDE bundles tailored to specific development needs. Users can also download and install all other features at a later date directly through the NetBeans IDE.
NetBeans IDE Bundle for Web and Java EE
The NetBeans IDE Bundle for Web & Java EE[17] provides complete tools for all the latest Java EE 6 standards, including the new Java EE 6 Web Profile, Enterprise Java Beans (EJBs), servlets, Java Persistence API, web services, and annotations. NetBeans also supports the JSF 2.0 (Facelets), JavaServer Pages (JSP), Hibernate, Spring, and Struts frameworks, and the Java EE 5 and J2EE 1.4 platforms. It includes GlassFish and Apache Tomcat.
Some of its features with Java EE include:
- Improved support for CDI, REST services and Java Persistence
- New support for Bean Validation
- Support for JSF component libraries, including bundled PrimeFaces library
- Improved editing for Expression Language in JSF, including code completion, refactoring and hints
NetBeans IDE Bundle for PHP
NetBeans supports PHP since version 5.6. The bundle for PHP includes:
- syntax highlighting, code completion, occurrence highlighting, error highlighting, CVS version control
- semantic analysis with highlighting of parameters and unused local variables
- PHP code debugging with xdebug
- PHP Unit testing with PHPUnit and Selenium
- Code coverage
- Symfony framework support (since version 6.8)
- Zend Framework support (since version 6.9)
- Yii Framework support (since version 7.3)
- PHP 5.3 namespace and closure support (since version 6.8)
- Code Folding for Control Structures (since version 7.2 dev)[18]
NetBeans IDE Complete Bundle
Oracle also releases a version of NetBeans that includes all of the features of the above bundles. This bundle includes:
- NetBeans Base IDE
- Java SE, JavaFX
- Web and Java EE
- Java ME
- C/C++
- PHP (Version 5.5 and later)
- asd
- Apache Groovy
- GlassFish
- Apache Tomcat
Official Ruby support was removed with the release of 7.0.
Localization
NetBeans IDE is translated into the following languages:
- Brazilian Portuguese (BR), as of 5.5
- Japanese (JP), as of 3.4
- Simplified Chinese (ZH-CN)
Community translations of the IDE are also available in the following languages:
Language | Platform | Java SE (IDE) | All |
---|---|---|---|
Afrikaans | As of 6.9 | No | No |
Albanian | As of 5.5 | No | No |
Azerbaijani | No | No | No |
Catalan | As of 6.7.1 | As of 6.7.1 | As of 6.9.1[20] |
Czech | As of 6.0 | No | No |
Dutch | Yes | Yes | No |
Filipino | As of 6.9 | No | No |
French | Yes | Yes | No |
Galician | Yes | Yes | As of 6.8 |
German | As of 5.5 | As of 5.5[21] | No |
Greek | As of 6.9 | No | No |
Hindi | As of 6.9 | No | No |
Indonesian | As of 5.5 | No | No |
Italian | Yes | Yes | No |
Korean | As of 5.0 | As of 5.0[22] | No |
Lithuanian | As of 6.9 | No | No |
Romanian | As of 6.8 | No | No |
Russian | As of 5.0 | As of 6.9.1 | |
Serbian | As of 6.9 | No | No |
Spanish | As of 5.5 | As of 5.5 | No |
Swedish | Yes | Yes | No |
Traditional Chinese | Yes | Yes | No |
Turkish | Yes | Yes | No |
Vietnamese | As of 6.9 | No | No |
See also
References
- "[ANNOUNCE] Apache NetBeans 19 Released". September 1, 2023. Retrieved September 6, 2023.
- "NetBeans IDE Dual License Header and License Notice". Netbeans.org. April 1, 1989. Archived from the original on November 2, 2019. Retrieved 2013-07-18.
- "HTML5 Web Development Support". netbeans.org. Archived from the original on December 24, 2016. Retrieved August 2, 2017.
- "NetBeans MOVED". platform.netbeans.org. Retrieved August 2, 2017.
- "original Xelfi homepage". Archived from the original on April 24, 2012. Retrieved May 17, 2008.
- "Happy Birthday NetBeans - interview with Jaroslav "Yarda" Tulach". Netbeans.org. Archived from the original on May 17, 2008. Retrieved May 17, 2008.
- "A Brief History of NetBeans IDE". Netbeans.org. Retrieved May 17, 2008.
- "Java founder James Gosling endorses Apache takeover of NetBeans Java IDE". InfoWorld. September 13, 2016. Retrieved September 19, 2016.
- "NetBeans Incubation Status". Retrieved August 4, 2017.
- "Why GPL v2 Frequently Asked Questions". netbeans.org. Archived from the original on February 11, 2019. Retrieved August 2, 2017.
- "The Apache Software Foundation Announces Apache® NetBeans™ as a Top-Level Project". blogs.apache.org. April 24, 2019. Retrieved July 12, 2019.
- Motroc, Gabriela (October 5, 2016). "Oracle developers will be involved in at least two Apache NetBeans releases". Jaxenter. Retrieved 2016-10-07.
- "Profiler". Netbeans.org. Retrieved May 17, 2008.
- "Swing GUI Builder (formerly Project Matisse)". Netbeans.org. Archived from the original on July 29, 2013. Retrieved May 17, 2008.
- "Javascript". Netbeans wiki. March 31, 2007. Archived from the original on April 10, 2008. Retrieved 2008-04-19.
- "Java Web Applications". Netbeans.org. Archived from the original on October 18, 2012. Retrieved April 19, 2008.
- "Web & Java EE". Netbeans.org. Archived from the original on May 9, 2008. Retrieved May 17, 2008.
- "Netbeans Bugzilla - Bug 186731". Retrieved May 23, 2012.
- "TFL10nCommunityStatus - NetBeans Wiki". Wiki.netbeans.org. Archived from the original on August 13, 2010. Retrieved July 18, 2013.
- "Catalan localization group at OpenSolaris". Archived from the original on July 16, 2011. Retrieved August 2, 2017.
- "NetBeans.org Community News: Go Multilingual with NetBeans IDE 5.5.1!". Archived from the original on November 18, 2016. Retrieved August 2, 2017.
- "NetBeans Community News". netbeans.org. Archived from the original on August 4, 2020. Retrieved August 2, 2017.
Further reading
- Boudreau, Tim; Glick, Jesse; Greene, Simeon; Woehr, Jack; Spurlin, Vaughn (October 15, 2002). NetBeans: The Definitive Guide (First ed.). O'Reilly Media. p. 672. ISBN 0-596-00280-7.
- Heffelfinger, David (October 31, 2008). Java EE 5 Development with NetBeans 6 (First ed.). Packt Publishing. p. 400. ISBN 978-1-84719-546-3.
- Myatt, Adam (February 21, 2008). Pro Netbeans IDE 6 Rich Client Platform Edition (First ed.). Apress. p. 491. ISBN 978-1-59059-895-5. Archived from the original on January 12, 2011. Retrieved April 29, 2009.
- Keegan, Patrick; Champenois, Ludovic; Crawley, Gregory; Hunt, Charlie; Webster, Christopher (May 9, 2006). NetBeans IDE Field Guide: Developing Desktop, Web, Enterprise, and Mobile Applications (Second ed.). Prentice Hall. p. 424. ISBN 978-0-13-239552-6.
- Böck, Heiko (July 1, 2009). The Definitive Guide to NetBeans Platform (First ed.). Apress. p. 450. ISBN 978-1-4302-2417-4. Archived from the original on April 2, 2012. Retrieved November 18, 2010.
- Petri, Jürgen (August 11, 2010). NetBeans Platform 6.9 Developer's Guide (First ed.). Packt Publishing. p. 288. ISBN 978-1-84951-176-6.
- Böck, Heiko (December 28, 2011). The Definitive Guide to NetBeans Platform 7 (First ed.). Apress. p. 592. ISBN 978-1-4302-4101-0. Archived from the original on March 13, 2016. Retrieved January 19, 2012.
- Wexbridge, Jason; Nyland, Walter (March 25, 2014). NetBeans Platform for Beginners (Second ed.). Leanpub. p. 361.