blob: 93b96be3a24ee8fbe074eb52f5cc561386e9415d [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>NetBeans 5.0 Release Info</title>
<meta name="DESCRIPTION" content="Information about the upcoming NetBeans 5.0 Release">
<meta name="NAV_LINK" content="5.0">
<meta name="NAV_PRIORITY" content="2">
<meta content="ruth.kusterer@sun.com" name="AUTHOR">
<link rel="stylesheet" type="text/css" HREF="../../../netbeans.css">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>
<h1>NetBeans IDE 5.0</h1>
<div class="articledate" style="margin-left:0px;">Released: January 31st, 2006</div>
<ul>
<li><a href="http://services.netbeans.org/downloads/download.php?type=5.0">Download NetBeans IDE 5.0</a>
<li><a href="install.html">Installation Instructions</a>
<li><a href="relnotes.html">Release Notes</a>
</ul>
<p>NetBeans IDE 5.0 introduces comprehensive support for developing IDE
modules and rich client applications based on the NetBeans platform,
the new intuitive GUI builder Matisse,
new and redesigned CVS support, Sun Application Server 8.2, Weblogic9 and JBoss 4 support, and a lot of editor
enhancements.
<p>Here are some of the cool features in this release:
<ul>
<li><a href="#creating">Developing NetBeans Modules</a>
<li><a href="#matisse">Matisse GUI Builder</a>
<li><a href="#servers">Servers</a>
<li><a href="#webframeworks">Web Frameworks</a>
<li><a href="#services">Web Services</a>
<li><a href="#editor">Editor Enhancements</a>
<li><a href="#completion">Code Completion</a>
<li><a href="#RF">Refactoring</a>
<li><a href="#versioning">Version Control</a>
<li><a href="#debugging">Debugging</a>
<li><a href="#ui">Other Usability Improvements</a>
<li><a href="#addon">New NetBeans Add-on Packs</a>
</ul>
<br />
<h2><a name="creating">Developing NetBeans Modules</a> </h2>
<p>NetBeans IDE offers comprehensive support for building IDE plug-in modules and
rich client applications on the NetBeans platform.
A lot of support for extending the IDE and creating applications on top
of the NetBeans Platform is provided. Using brand new templates in the
New Project wizard and New File wizard, you can generate all the basic
files and code you need. The Project Properties dialog box lets you
configure API dependencies, MANIFEST.MF entries, and other project
metadata. Code completion and other standard support provided by the
Source Editor is available for plug-in modules too.
</p>
<h2><a name="matisse">Matisse GUI Builder</a></h2>
<table border="0"><tr><td>
<a href="../../../images_www/screenshots/5.0/Matisse.png"
title="Matisse GUI Builder Screenshot -- Using Guidelines to Place GUI Elements">
<img src="../../../images_www/screenshots/5.0/Matisse_305x158.png" width="305" height="158"
border="2" alt="Matisse GUI Builder Screenshot -- Using Guidelines to Place GUI Elements"
style="float:right;" hspace="6"></a>
<p>Matisse extends the current NetBeans IDE 4.1 Form Editor to provide
simple and intuitive layout of GUIs without having to understand the
complexities of Swing layout managers. As you drag and drop components
into a form, the IDE automatically suggests allignment, spacing, and
resizing constraints. Unlike GridBagLayout, the positioning is
deteremined by the look and feel of the platform the app runs on. Resize
it, localize it, run it on a different platform; with Matisse, your GUIs
will always look great.</p>
<p>For more information, follow the <a href="https://netbeans.org/kb/trails/matisse.html">Matisse Learning Trail</a> or quickly watch the <a href="https://netbeans.org/files/documents/4/475/matisse.html">Matisse flash demo</a>.
</p>
</td></tr></table>
<h2><a name="servers">Servers</a></h2>
<table border="0"><tr><td>
<img src="../../../images_www/screenshots/5.0/servers-in-50.png"
border="0" alt="Server List Screenshot"
style="float:right;" hspace="6">
<p>As in the previous release, the Sun Java System Application Server 8.2
is supported, but that's not all -- you can now also register JBoss 4
and WebLogic 9 with the IDE. When you do so, you can deploy your web
applications to these servers, just as if you were deploying to the Sun
Java System Application Server. On top of that, support for the Tomcat
Web Server has been enhanced -- it is now much easier to work with this
server, for example, you can set Tomcat's JVM Options right inside the IDE.</p>
</td></tr></table>
<h2><a name="webframeworks">Web Frameworks</a></h2>
Although you've always been able to use JavaServer Faces (JSF) and
Struts in the IDE, it's never been easy. In NetBeans IDE 5.0, the New
Project wizard has been extended so that while you create a web application,
you can specify that you want to use JSF, Struts, or both. When you make
this selection, the IDE adds all the JSF and Struts libraries to your
application, as well as all their configuration files. While using the
configuration files, you have code completion to support you as well as
the ability to have menu items create all the tags the configuration
files need. The New File wizard has also been enhanced -- you can choose
templates for the creation of JSF Managed Beans, Struts Actions, and
Struts Form Beans. And what if you have existing web applications? Can
you add JSF and Struts support to them? Yes, of course. Use the new
"Frameworks" panel in the Project Properties dialog box.</p>
<h2><a name="services">Web Services</a></h2>
<table border="0"><tr><td>
<p><a href="../../../images_www/screenshots/5.0/websvc-50.png"
title="Webservices">
<img src="../../../images_www/screenshots/5.0/websvc-50_305x91.png" width="305" height="91"
border="2" alt="Webservices"
style="float:right;" hspace="6"></a>
Web service consumption has been enhanced so that you can now create web
service clients in J2SE applications too. All the libraries needed to
create and deploy a web service client are bundled with the IDE, so that
the web service client created in a J2SE application can be deployed
without a problem. Also, in web applications, you can now call web
service operations directly from a JSP page, so that you don't even need
to create a servlet anymore. Finally, a new wizard has been added -- you
can now create a WSDL file directly in the IDE and use it to generate
your web service files.</p>
</td></tr></table>
<h2><a name="completion">Code Completion</a></h2>
<p>Editor code completion is now faster and has been enhanced to offer you
more choices for code generation. In addition to completing classes,
methods, and fields, you can generate the following code snippets
through the code completion box:
<ul>
<li> code from customizable code templates (previously available only as
expandable abbreviations)
<li> getters and setters
<li> anonymous inner classes
<li> method bodies for methods that you are overriding or implementing
</ul>
In addition, you can type camel case abbreviations to generate code (for
example, typing <tt>AIOO</tt> with the code completion box open would
generate <tt>ArrayIndexOutOfBoundsException</tt>). You can now also
complete the text and close the pop-up by pressing period, semicolon, or
comma. Method parameters are now shown in a tooltip.</p>
<h2><a name="RF">Refactoring</a></h2>
<p>NetBeans 5.0 greatly expands on the number of refactoring actions
available. New refactorings include:
<ul>
<li> Safe Delete</li>
<li> Use Supertype where Possible</li>
<li> Move Inner to Outer Level</li>
<li> Pull Up</li>
<li> Push Down</li>
<li> Convert Anonymous to Inner</li>
<li> Extract Method</li>
<li> Extract Interface</li>
<li> Extract Super Class</li>
</ul></p>
<h2><a name="editor">Miscellaneous Editor Enhancements</a></h2>
<table border="0"><tr><td>
<a href="../../../images_www/screenshots/5.0/errorstripe.png"
title="Error Stripe Screenshot">
<img src="../../../images_www/screenshots/5.0/errorstripe_305x223.png"
width="305" height="223"
border="2" alt="Error Stripe Screenshot"
style="float:right;" hspace="6"></a>
<p>The following are some general editing improvements. See the sections
above for information on code completion improvements and new
refactoring operations.
<ul>
<li> Java hints (marked with a lightbulb icon) that help you generate code</li>
<li> Component palette for dragging and dropping of HTML, JSP and database
code snippets onto a JSP or HTML page</li>
<li> An error stripe that marks whether your file is compilable or not and
provides an overview of all errors, warnings, TODOs, and bookmarks in
your source code.</li>
<li> Surround selected statement with a try-catch construct</li>
<li> Improved new SQL editor with syntax highliting</li>
<li> Cutting and pasting of selected text in the editor window via drag&drop</li>
<li> Easier adding of XML DTDs and schemas for use in code completion and
XML validation</li>
<li> XML navigator and improved automatic indentation and code folding in
the XML editor</li>
<li> Ability to choose from pre-configured shortcut sets and color schemes (created
in accordance with well-known environments such as Emacs).
</p>
</td></tr></table>
<h2><a name="versioning">Version Control</a></h2>
<table border="0"><tr><td>
<img src="../../../images_www/screenshots/5.0/versioning_305_128.png"
width="305" height="128"
border="1" alt="CVS Versioning Window Screenshot" style="float:right;" hspace="6">
<p>CVS support has been totally reworked to integrate into your work-flow.
The IDE automatically recognizes CVS working directories and lists all
changed files in the Versioning window. The versioning support is also
integrated with both the projects system and refactoring actions.
<p>
Updating and committing files are
the most common activities you perform with CVS:
You can launch these actions from the main IDE navigation windows
(Projects, Files, and Favorites) or from the Versioning window.
Badges and color coding show the current status
of files, folders, packages and projects.
With the Diff command you quickly diff a single file
or an entire package, folder, or project.
The new CVS support makes it even easier
to share your project metadata
so that you can share not only your sources,
but your IDE settings as well.
</p>
</td></tr></table>
<h2><a name="debugging">Debugging</a></h2>
<table border="0"><tr><td>
<img src="../../../images_www/screenshots/5.0/debugging_305x204.png"
width="305" height="204"
border="0" alt="Debugging window"
style="float:right;" hspace="6"></a>
<p>Debugging has been enhanced to be better integrated in the Source
Editor. You can now enable and disable breakpoints in the Source Editor
and access breakpoints properties from Editor annotations. The Variables
window has been enhanced for easier display long arrays. The Evaluate
Expression dialog box lets you evaluate any expression on the fly, and
you can now run to any method in the Source Editor. There is also an Ant
debugger that you can use to step through the target calls in an Ant
script and examine the status of properties as the script is executed.
The JUnit test window now displays results as an expandable tree.
You can now use code completion in the New Watch and Breakpoint
Customizer dialog boxes.</p>
</td></tr></table>
<h2><a name="ui">Other Usability Improvements</a></h2>
IDE configuration has been streamlined and made much more user-friendly.
The scanning of project classpaths now happens in the background, so you
don't have to wait for scanning to complete to use the IDE. The look and
feel on MacOS X has also been greatly improved.
<h2><a name="addon">New NetBeans Add-on Packs</a></h2>
NetBeans <a href="https://netbeans.org/projects/obsolete/">Developer Collaboration</a>
lets you discuss and edit code with other developers live over the network.
Use the <a href="https://netbeans.org/kb/archive/index.html">Mobility Pack</a>
to write, test, and debug applications for Java&#153; Micro Edition platform
(Java&#153; ME platform) technology-enabled mobile devices.
The <a href="http://profiler.netbeans.org/">NetBeans Profiler</a> helps you optimizing
you application's memory and CPU usage.</p>
<h2>References</h2>
<!--
to be published
<p>
<h2>Guides to Developing J2EE Applications in NetBeans IDE</h2>
NetBeans IDE 5.0 Quick Start Guides:
<ul>
<li><a href="../../../kb/archive/index.html">For Web Applications</a>
<li><a href="../../../kb/archive/index.html">For Web Services</a>
<li><a href="../../../kb/archive/index.html">For J2EE Applications</a>
<li><a href="../../../kb/archive/index.html">For J2ME MIDP Development</a>
</ul>
NetBeans IDE 5.0 Import Guides:
<ul>
<li><a href="../../../kb/archive/index.html">For Web Applications</a>
<li><a href="../../../kb/archive/index.html">For J2EE Applications</a>
</ul>
-->
<ul>
<li><a href="../../../kb/archive/index.html">Tutorials, Guides, and Articles</a></li></ul>
</body>
</html>