Jump to content

NetBeans: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Ck135667 (talk | contribs)
No edit summary
Ck135667 (talk | contribs)
No edit summary
Line 2: Line 2:
| name = NetBeans IDE
| name = NetBeans IDE
| logo = [[Image:Net Beans IDE Logo.gif]]
| logo = [[Image:Net Beans IDE Logo.gif]]
| screenshot = [[Image:NetBeans IDE 6.0.png|250px]]
| screenshot = [[Image:NetBeans IDE.|250px]]
| collapsible = yes
| collapsible = yes
| caption = NetBeans 6.0
| caption = NetBeans 6.0

Revision as of 02:39, 8 June 2008

NetBeans IDE
Developer(s)Sun Microsystems
Stable release
6.1 / April 28, 2008 (2008-04-28)
Repository
Written inJava
Operating systemCross-platform
Available inMultilingual
TypeJava IDE
LicenseCDDL or GPL2 + "certain source files" allow classpath exception
Websitehttp://www.netbeans.org

NetBeans refers to both a platform for the development of Java desktop applications, and an integrated development environment (IDE) developed using the NetBeans Platform.

The NetBeans Platform allows applications to be developed from a set of modular software components called modules. A module is a Java archive file that contains Java classes written to interact with the NetBeans Open APIs and a manifest file that identifies it as a module. Applications built on modules can be extended by adding new modules. Since modules can be developed independently, applications based on the NetBeans platform can be easily and powerfully[1] extended by third party developers.

History

Early history

NetBeans began in 1997 as Xelfi[2][3], a student project under the guidance of the Faculty of Mathematics and Physics at Charles University in Prague. A company was later formed 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. The NetBeans community has since continued to grow, thanks to individuals and companies using and contributing to the project.[4]

Current versions

NetBeans 5.5.1 built on the functionality of NetBeans 5.5 and also provides several bug fixes.

NetBeans IDE 6.0 extended the existing Java EE features (including Java Persistence support, EJB 3 and JAX-WS). Additionally, the NetBeans Enterprise Pack supports development of Java EE 5 enterprise applications, including SOA visual design tools, XML schema tools, web services orchestration (for BPEL), and UML modeling. The NetBeans C/C++ Pack supports C/C++ projects.

NetBeans IDE 6.0 builds upon the previous version 5.5.1, which introduced comprehensive support for developing IDE modules and rich client applications based on the NetBeans platform, a new GUI builder (formerly known as "Project Matisse"), new and redesigned CVS support, Weblogic 9 and JBoss 4 support, and many editor enhancements. NetBeans 6.0 is being delivered as part of the Ubuntu 8.04 Linux distribution[5].

The current version is NetBeans IDE 6.1, which was released in April 2008.

The NetBeans Platform

The NetBeans Platform is a reusable framework for simplifying the development of other desktop applications. When an application based on the NetBeans Platform is run, the platform's Main class is executed. Available modules are located, placed in an in-memory registry, and the modules' startup tasks are executed. Generally, a module's code is loaded into memory only as it is needed.

Applications can install modules dynamically. Any application can include the Update Center module to allow users of the application to download digitally-signed upgrades and new features directly into the running application. Reinstalling an upgrade or a new release does not force users to download the entire application again.

The platform offers services common to desktop applications, allowing developers to focus on the logic specific to their application. Among the features of the platform are:

  • User interface management (e.g. menus and toolbars)
  • User settings management
  • Storage management (saving and loading any kind of data)
  • Window management
  • Wizard framework (supports step-by-step dialogs)

The NetBeans IDE

The NetBeans IDE is an open-source integrated development environment written entirely in Java using the NetBeans Platform. NetBeans IDE supports development of all Java application types (J2SE, web, EJB and mobile applications) out of the box. Among other features are an Ant-based project system, version control and refactoring. 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. 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: 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 licences, with the GPL linking exception for GNU Classpath[6]

NetBeans integrated modules

These modules are part of the core Netbeans IDE.

NetBeans Profiler

The NetBeans Profiler[7] is a tool for the optimization of Java applications: It helps you 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 allow to prototype and design Swing GUIs by dragging and positioning GUI components [8].

The GUI builder has also built-in support for JSR 296 (Swing Application Framework), and JSR 295 (Beans Binding technology).

NetBeans JavaScript Editor

NetBeans JavaScript Editor provides extended support for Javascript and CSS[9][10].

Features comprise:

  1. JavaScript editor:
  2. CSS editor:
    • code completion for styles names,
    • quick navigation through the navigator panel,
    • display CSS rule declaration in a List View,
    • display file structure in a Tree View,
    • sort the outline view by name, type or declaration order (List & Tree),
    • create rule declaration (Tree only),
    • refactor a part of a rule name (Tree only).

NetBeans IDE Packs

Users can choose to install the NetBeans IDE packs when installing the IDE, on a one-by-one basis. It is also possible to install them later.

NetBeans Mobility Pack

The NetBeans Mobility Pack [1] is a tool for developing applications that run on mobile devices; generally mobile phones, but this also includes entry-level PDAs, among others.

The Mobility Pack can be used to write, test, and debug applications for the Java Micro Edition platform (Java ME platform) technology-enabled mobile devices. It integrates support for the Mobile Information Device Profile (MIDP) 2.0, the Connected Limited Device Configuration (CLDC) 1.1, and Connected Device Configuration (CDC). One can easily integrate third-party emulators for a robust testing environment. Currently, the pack is available as two separate clusters, one covering CDC and the other, CLDC devices.

NetBeans C/C++ Pack

Netbeans running a C++ application with NetBeans C/C++ Pack, under Slackware Linux.

The NetBeans C/C++ Pack[11] adds support for C/C++ developers to NetBeans IDE 5.5.

This pack lets C/C++ developers use their specified set of compilers and tools in conjunction with NetBeans IDE to build native applications for e.g. MS Windows, Linux, and Solaris. The pack makes the editor language-aware for C/C++, and provides project templates, a dynamic class browser, make file support, and debugger functionality. Developers can also extend the pack with their own additional functionalities.

NetBeans Enterprise Pack

The NetBeans Enterprise Pack[12] extends support for Enterprise application development and Web services in NetBeans IDE 5.5.

The Enterprise Pack extends the IDE's capabilities to write, test and debug service-oriented architecture (SOA) applications using XML, BPEL, and Java web services. The pack adds visual design tools for UML modeling, XML schema, and web services orchestration, and support for secure identity-enabled web services. It also installs and configures the necessary runtimes, including a BPEL engine and identity management server integrated with Sun Java System Application Server.

NetBeans Visual Web Pack

The Netbeans Visual Web Pack [2] provides an easy and intuitive drag and drop interface for developers to create rich UIs for web development. These components are based on JSF and help in easy development for user interfaces. This visual web pack is considered to be a much better and improved version with a lot of good features compared to the previous releases of Sun Java Studio Creator.

The source code for the UI component set is also open source and available for download at: https://woodstock.dev.java.net

NetBeans Ruby Pack

Since version 6.0, Netbeans allow IDE development with Ruby and JRuby, as well as Rails for these two implementations of Ruby [3] [4].

The Ruby Pack includes editor functionalities as :

  • basic editing,
  • syntax highlighting for Ruby
  • code completion,
  • occurrence highlighting,
  • integrated documentation pop-ups for Ruby API calls,
  • semantic analysis with highlighting of parameters and unused local variables,
  • Ruby code debugging.

It is also possible to create directly Ruby projects or Ruby on Rails projects, using the reference Ruby implementation, or using JRuby (the Java implementation of Ruby).

Localization

As of January 2007, Simplified Chinese, Traditional Chinese, German, Japanese, Portuguese (Brazil) and Spanish language packs are available for Netbeans 5.5.1.[5]

Albanian, Azerbaijani, Czech, Dutch, French, Greek, Indonesian, Italian and Swedish language packs are in progress.

References

  1. ^ platform: NetBeans Modules and Rich-Client Applications Learning Trail
  2. ^ "original Xelfi homepage". Retrieved 2008-05-17.
  3. ^ "Happy Birthday NetBeans - interview with Jaroslav "Yarda" Tulach". Netbeans.org. Retrieved 2008-05-17.
  4. ^ "A Brief History of NetBeans". Netbeans.org. Retrieved 2008-05-17.
  5. ^ "Open Source Java Technology Debuts In GNU/Linux Distributions". Sun Microsystems. Retrieved 2008-05-02.
  6. ^ Why dual license Netbeans faq
  7. ^ "Profiler". Netbeans.org. Retrieved 2008-05-17.
  8. ^ "Swing GUI Builder (formerly Project Matisse)". Netbeans.org. Retrieved 2008-05-17.
  9. ^ "Javascript". Netbeans wiki. 2007-03-31. Retrieved 2008-04-19. {{cite web}}: Check date values in: |date= (help)
  10. ^ "Java Web Applications". Netbeans.org. Retrieved 2008-04-19.
  11. ^ "C/C++ Development". Netbeans.org. Retrieved 2008-05-17.
  12. ^ "SOA". Netbeans.org. Retrieved 2008-05-17.

See also