1 NetBeans New and Cool Sun Microsystems, Inc.
2 Goal of the Talk Learn how NetBeans IDE can help you become more productive Learn about the new features in NetBeans 6.1 and 6.5
3 What is NetBeans? It is a free and open-source Integrated Development Environment A comprehensive, modular Java IDE > Out-of-box support for Java SE, Java EE, Java ME > Intuitive drag-and-drop development > Debugger, Profiler, Refactoring, etc... > Support for Java language, PHP, Ruby and more... > Large set of 3rd party modules (plug-in's) Runs on many platforms including Windows, Linux, Mac OS X and Solaris
4 NetBeans 6.1 Highlights enhanced JavaScript support Performance enhancements > upto 40% faster and consumes less memory > smarter parsing and hence faster code completion Spring Framework support MySQL support in the Database Explorer Java Beans support JSF CRUD Generator Ruby / Jruby support RESTful Web Services support
5 NetBeans 6.1 Highlights New Plugins > ClearCase version control > AXIS support > SOAP UI Support > Hibernate Framework Support
6 Demo: NetBeans Quick Tour
7 NetBeans Quick Tour Demo This demo is to give a quick introduction of NetBeans to a new developer > Start NetBeans > Show Projects, Files, Services tab > In Services tab show database and Servers V2/V3 > In Files tab show files for one project > In Projects tab, create a sample JSF/TravelCenter app ➢ deploy and run > Show help > Show how to download and install plug-ins > go to & show download pagehttp:// >
8 ●Presenter’s 8 NetBeans 6.5 Highlights
9 Productivity enhancements Scripting > PHP support ● PHP editor (Code completion, code highlighting) ● Debugging using Xdebug > Groovy and Grails support > Ruby and Rails enhancements MySQL enhancement JavaFX support
10 NetBeans 6.5 Highlights Improved JavaScript and Ajax support > JavaScript Editor, Debugger and Library Manager > Yahoo UI, Woodstock, jQuery, Dojo, Scriptaculous, Prototype libraries JavaEE and Web development > Enhanced support for Spring, > Hibernate, > JSF CRUD generator, JPA GlassFish V3 support (pre-release)
11 NetBeans 6.5 Highlights (Cont.) Debugger enhancement Quick Search JUnit enhancement Eclipse import enhancement More plug-in's Desktop development enhancement Platform development enhancements UML enhancements
12 ●Presenter’s Productivity Enhancements
13 New in 6.5 : Productivity Features Compile on Save > does a build for you automatically. > Run/debug/test actions are now available immediately Deploy on Change > instantly redeploys Java EE application when a change is made > This feature is available for web, EJB and EAR applications > Deploy on Save is currently supported for Tomcat, GlassFish V2 and GlassFish V3
14 Compile on Save Does a build for you automatically Run/debug/test actions are now available immediately
15 Deploy on Change Instantly redeploys Java EE application when a change is made - JSP file, Java classes (from 6.5) Available for web and EJB applications Currently supported for Tomcat, GlassFish V2 and GlassFish V3
16 Demo: Compile on Save, Deploy on Change
17 ●Presenter’s Java Web and Java EE
18 JSF CRUD Generator Ability to generate an Ajax-enabled JSF App > applications that uses Ajax requests > uses new Java Persistence API > JSF Pages from Entity Classes wizard Improved Modularity and Ease of Customization > generate JPA controller logic from Entities > dynamic regeneration of the JSF controller classes if the schema changes
19 Demo: JSF CRUD Generator with Ajax
20 Hibernate Hibernate is now part of the standard distribution. No need to install the plug-in anymore Designer view of the hibernate configuration file Code-completion inside of the hibernate configuration file Hibernate Reverse Engineering - Creating Hibernate mapping files and POJOs from database tables Hibernate query execution support
21 Demo:Hibernate 1. Designer view of hibernate configuration file 2. Code completion of the hibernate configuration file 3. Reverse engineering 4. HQL support
22 GlassFish v3 An ideal Web 2.0 container Is now part of the Web & Java EE and Ruby bundles Small, Fast, and modular > Very fast startup time > Use what you need > Developer-friendly Faster, lighter Java server engine Java and Scripting applications > jRubyOnRails, Grails, PHP, Python/Django, more A good fit for SOA/ESB solutions Final version will be Java EE 6
23 Demo: GlassFish v3
24 ●Presenter’s Enhanced SQL Support
25 SQL Code Completion Easier to insert schema, table and column names
26 SQL History Look at the history of all SQL you've executed Can do text filtering and/or filter by connection URL, and then select and insert a statement.
27 Editable, Sortable Results, Multiple Result Tabs Can sort the results by double-clicking on a row header, modify a row, insert and delete rows
28 ●Presenter’s Debugger Enhancement, Quick Search, JUnit Enhancement
29 Debugger Improvements New multithreaded debugging support Unified debugger view > List of threads > Expandable for more info Current thread chooser (CTRL+8) Deadlock detection Large rewrite of debugger source code > New threading model > Step Into action rewrite
30 Debugger Improvements Demo
31 Profiler Task-based profiling > CPU or Memory profiling > customize settings for a specific application Heap walker – track memory usage Monitor thread status Remote profiling Attach the profiler dynamically Available for Free l
32 Demo:Profiler
33 Quick Search Demo
34 JUnit Improvements Demo
35 ●Presenter’s Eclipse Project Import Enhancements
36 Eclipse Importer Originally available as plug-in > Only for Java SE projects Eclipse importer in 6.5 > Available in default install > Supports web projects > Supports project synchronization > Has better quality
37 Eclipse Importer
38 A Growing Ecosystem with more than 150 partners! * As of 31 March 2008
39 Summary : NetBeans Platform Free Award winning IDE Great for building > Desktop applications > Web / Ajax applications > Scripting applications > Enterprise applications > Mobile applications Includes many features – all for Free! Many 3 rd party plugins are also available
40 References
41 ●Presenter’s NetBeans Overview: What's new and cool in 6.5