1
Angad Singhblogs.sun.com/angad
1
BOJUGBOJUG
Netbeans 6.1:Netbeans 6.1:New and NoteWorthy!New and NoteWorthy!
2
Agenda: What's new in Netbeans 6.1
Performance & Quality
3
Performance • Increasing performance is main theme of NB 6.1 !
• Upto 40% faster cold startup and improved startup sequence!
• Various optimizations to reduce I/O and file access (touching disk)
• Incremental parsing in java editor speeding up code completion and improving responsiveness in editor
• Improvements in JSP parser (caching, memory management, update strategies)
• Improvements in Visual Web designer -- faster page opening and table drop, lower memory usage, fixed memory leaks, and more
Performance Press Release:http://wiki.netbeans.org/Fitness61PressRelease
Performance FAQ:http://wiki.netbeans.org/FitnessFAQs
4
JavaScript Support• Based on the General Scripting Framework (same as Ruby)
• New JavaScript editor with features like:> Semantic Highlighting> Mark occurrences> Instant Rename> Refactoring> Quick Fixes and Semantic Checks> Tasklist> Code Completion and Type Analysis> Go To Declaration> Documentation> Embedded Completion> Browser Compatibility Info> Embedding> Open Type> 6.0 Java Script Information
• Work on a JavaScript debugger is in progress
5
Demo
JavaScript Support
6
PHP Support• Comes in a 16 mb forked distribution of Netbeans currently:
NetBeans IDE 6.1 Early Access for PHP
• Editor Features:> Syntactic and semantic code highlighting> Go to Declaration> Navigator> Code formatting / folding> Smart Indent> Bracket Completion> Automatic Code Completion – Snippets, Context-Sensitive Proposals, Abbreviations> Instant Rename> Parameter Hints
• Debug PHP apps using Xdebug: inspect local variables, set watches, evaluate code, etc.
• Configuring the environment is simple
• Synchronizing the content of a PHP Project with the Web content on a remote server (under development)
7
Demo
PHP Support
8
RESTful Web Service Plugin• Support for Jersey 0.5: the plugin now bundles Jersey 0.5 version and
generate code conformed to new API.
• New REST Test Client UI: support for sub-resources navigation
• New REST client wizard support for generation of stub generation from WADL
9
Sharable Projects• New type of project
• New feature which allows creating projects with shared definition of libraries
• Applies to all Java, Web and all J2EE project types
• Add relatively referenced JAR files as libraries
• Easy migration of projects
10
Demo
Sharable Projects
11
New MySQL Support in Database Explorer• Register and manage a MySQL server
• View, create, delete databases
• Launch MySQL Admin tool
12
Demo
MySQL Support
13
Inspect Members and Hierarchy Windows• Now even works when caret is on a Java class for which no source code
available
14
Spring Framework Support• Builds on the original spring netbeans module @
http://spring-netbeans.sourceforge.net
• Bundled Spring Framework 2.5 library
• Wizards for XML configuration files and Spring Web MVC controllers
• Multiple configuration files can be arranged into groups
• Hyperlinking of bean and Java class names
• Code completion of bean names and Java classes and properties
• Refactoring of Java classes (find usages, rename, move, safe delete)
• Spring Web MVC framework support in the web project, making it easy to generate a skeleton Spring Web MVC application
15
Ruby Rails 2.0 Support• Rails 2.0 support (and in the next milestone, Rails 2.0 will be bundled)
• New Platform Manager in the Tools menu
• Tasklist integration of hints and errors
• Many new quickfixes
16
Mercurial Support• Mercurial Support
> Distributed Versioning System> Plugin for Mercurial Versioning System Added to NB> Netbeans sources migrated from CVS to Mercurial (HG)
17
UI Enhancements • Window System
> small semi-transparent image is shown when dragging a window
> in-active floating windows are transparent
> floating window snap to each other and to screen edges
> palette visibility is now per-document type
18
UI Enhancements• Plugin Manager in background
> Now download & install plugins in background> Task progress is notified in the status line > Plugin Manager is non-modal dialog now
19
UI Enhancements• Balloon like tool tip
> Mainly used to signalize that new updates are available.> The look isn't final. Any ideas for improvements?
20
Other enhancements..• Now it is possible to integrate server plugin in to the NetBeans UI
without dependency on j2eeserver API.
• SailFin V1 Support through Add Server Instance Dialog and SIF container application exposure in services explorer
• WebSphere 6.0 & 6.1 support
• WAR, EJB and EAR development and deployment for WebSpehere
• 4 New Woodstock components in Palette
• Any jar item on project classpath can be associated with its Javadoc and sources too, and not just java libraries
• JSF CRUD Generator from JPA entity classes.
• Java Beans Support is Back
• Bean Patterns in Navigator, Generate Property enhanced,
• BeanInfo Editor is back.
• Javadoc Code Completion
21
Other enhancements..• Incremental Parsing in Java Editor: Faster Code Completion
• Refactoring: safe deletion of a single package or recursive safe deletion of a folder.
• Ruby infrastructure and debugging improvements
• Visual Web / Woodstock on-demand attributing and performance enhancements
• Better Max OSX support for Mobility module, SVG custom components, etc.
• XML and Schema Editor imrpovements
• Axis2 Web Services Support
• Hibernate Support
• WSDL Editor Enhancements
• Integration of the SoapUI Netbeans plugin
• Support for Popular SaaS Services
22
Angad Singhblogs.sun.com/angad
QUESTIONS?
22