Whats New Netbeans Ide

51
1

description

net beans

Transcript of Whats New Netbeans Ide

PowerPoint Presentation

#1Whats New & Cool in NetBeans IDE 7.x(Highlights of NetBeans IDE 7.0, 7.1, 7.2, 7.3, and 7.4)#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.2What is NetBeans IDE?Ready to use out of the boxSupport for latest Java specifications & standardsOther platforms too (HTML5, PHP, C/C++)Intuitive workflowDebugger, Profiler, Refactoring, etc.Binaries and ZIPs for Mac OS, Linux, and Windows

Simply download and run on any operating system!

A Comprehensive & Modular Development Environment

#Here youre giving a high level overview of NetBeans IDE. Its two key features are that It has everything needed for getting started with Java development, out of the box. (Unlike Eclipse.)It is completely free. (Unlike IntelliJ IDEA.)

Talk on each of the bullets, just sharing your own knowledge on these points.

The main focus of this presentation is the new HTML5 support,though point out that Java development continues to be the main focus of the IDE.

Many developers dont know that NetBeans is not only available via installers, but also as a ZIP file. 3What is NetBeans IDE?A Comprehensive & Modular Development Environment

NEW!HTML5Support#Java, PHP, and C/C++ are the main language platforms supported by the IDE, now with the addition of HTML5.

Groovy is also supported and some attention has been given to it in the past few releases,See blogs.oracle.com/netbeansgroovy

But the IDE is pluggable and provides many editor APIs, making it possible for Python, Scala, Ruby, and other languages to be supported.4What is NetBeans IDE?A Comprehensive & Modular Development Environment

#NetBeans is an IDE, an application framework, and a large international community.

In 2011, NetBeans attained the 1,000,000 active user status, and it continues to grow.

5Why Use NetBeans IDE?Works out of the boxFreely availableOpen sourceSupport for Java standards &other popular platforms, such as HTML5Deeply integrated Maven supportExtensible Java desktop frameworkPowerful, award winning GUI BuilderProfiling and debugging toolsCustomizable and extensible

Increase Developer Productivity

#Again, mention the out of the box and free aspects a lot.

Java EE and Maven theres no better IDE for these technologies than NetBeans IDE.

Theres also a large community working on creating plugins (i.e., the customizable and extensible item above).6Whats New in NetBeans IDE 7.xJava LanguageJava EE PlatformJavaFX PlatformHTML5 PlatformPHP and C/C++ LanguagesMiscellaneous IDE Tools

Overview of New Features and Enhanced Support#7

Java Language

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.8Support for the Java LanguageJava Editor isNetBeans IDEs central featureDeveloped in close co-operationwith Oracle Java SE TeamFirst editor tosupport Java technologies,e.g., JDK, Java EE, JavaFXjavac is our parser,all language featuresare always in syncwith Java

Out of the Box Java Language Support

#9Support for the Java LanguageMuch More Than Creating, Editing, RefactoringBuildingMaven and Ant, community Gradle pluginDebugger and ProfilerVersioningGit, Mercurial, and SubversionTesting and Code AnalysisJunit and TestNGStatic code analysis, e.g., FindBugsContinuous Build ServersBug TrackingJIRA, Bugzilla

Feature OverviewAt Liquid Robotics, our use of NetBeans IDE is all about integration. There's the seamless integration of development tools and Java technologies within NetBeans IDE, but it's also very good at integrating external features, for example, Jenkins, which we use for our build server, Git (via GitBlit), which is our source code repository, JIRA for bug tracking, Maven for running builds, and Artifactory for maintaining the artifacts created from the builds.

Father of JavaJames GoslingCTO, Liquid Robotics#10 JDK 7 SupportEditor enhancements

Intuitive new Java refactoring hintsStrings in switchDiamond supportSupport for try-with-resourcesMulticatch supportNew integer literal support

Batch refactor multiple projectsto JDK 7 simultaneously

Support for the Java LanguageNEW7.0

#11 JDK 8 Preview SupportOut of the boxJDK 8 Profiles Support

Syntax and code completion support for Lamba expressions

Refactoring tools for changinganonymous inner classesto Lambda expressions

Lambda expressionsare handled by debugger

Support for the Java Language

NEW7.4#12 Smart Static Analysis via FindBugsEarlier bugs are found, lower cost in fixing them

FindBugsProgramming StyleProgramming TechniquesDodgy code, e.g., useless control flow

Set scope of analysis on projects, packages, or files

Examine results and jump into editor

Support for the Java Language

NEW7.2

#13 Smart RefactoringQuickly fix problemsacross packages & projects

Upgrade projects completelyto JDK 7 or JDK 8 (preview)

Define finetunedcustomized scopes

Expression languagefor defining rules

Support for the Java LanguageNEW7.2

#14 Smart Code NavigationRewritten Hierarchy windowfor supertypes and subtypes

New Breadcrumb Toolbarbeneath editor

New Brace Matching Barabove editor

Support for the Java Language

NEW7.3#15 Smart Editing Tools Java Code Metrics

Distraction-free mode

Remove surrounding code

New hints, refactorings,and code completions

Block selection

Support for the Java Language

NEW7.4#16 Smart Maven Build ToolsKey feature:POM is NetBeans project,no NetBeans files added

Less memory neededfor Maven projects

Effective POM tabshows origin of elements

Code Generatorfor POM filesto generate license headers

Support for the Java Language

NEW#17

Java EE Platform

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.18Support for Java EEDeveloped in close co-operationwith GlassFish and WebLogic teams

Best in breed GlassFish integration,strong support for WebLogicand other servers

First day support for standards, e.g., Java EE 6 and Java EE 7

No plugins neededReady to use out of the box

Out of the Box Java EE Support

#19Support for Java EEMuch More Than Creating, Editing, RefactoringFrameworksbundled PrimeFacessupport for RichFaces and IceFacesBuildingMaven, Ant, and Gradle pluginDebugging and ProfilingVersioningGit, Mercurial, and SubversionTesting and Code AnalysisJunit and TestNGStatic code analysis (e.g., FindBugs)

Feature OverviewWe have found that NetBeans IDE is fast at introducing new features that ease Java EE development and integrates perfectly with popular tools like Maven.

In fact, we consider NetBeans IDE to provide the best Maven integration of any IDE we have encountered.aatay iviciPrimeFaces Lead

#20

Support for MavenMaven defines the POM: the POM is the project,no NetBeans files needed at all

All execution happens through Maven,thus the IDE executes testsexactly how CI does it, for example

Since NetBeans IDE 7.4, compile on save is supported,in addition, ZeroTurnaround has created NetBeans JRebel plugin

All of this is available out of the box,without installing any plugins of any kind

Feature Overview#21 Java EE 7 Development ToolsSupport for latest specifications(JAX-RS 2.0, JMS 2.0, JSF 2.2, CDI 1.1, EJB 3.2, EL 3.0, WebSocket 1.0, JSP 2.1, and more)Support for latest JSF featuresPass-through attributes & elementsResource library contractsPage Flow supportAnnotation-based componentregistration@FlowScoped scopeJSF templates & tools for client creationFacelets templates & client creationMany new hints

Support for Java EENEW7.3.1

#22 HTML5 Development ToolsEasy to use HTML5 featuresin Java EE applicationsFeatures:JavaScript Library ManagerJavaScript Editor and DebuggerCSS preprocessorsVisual CSS EditorIntegration between IDEand Chrome browserDeployment to mobile devicesProject samples(More details later in these slides.)

Support for Java EENEW7.4

#23Community FeedbackThe Smarter and Faster Way to Code

#24

JavaFX Platform

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.25 Support for JavaFXFirst IDE to provide JavaFX tools

Developed in close co-operationwith the JavaFX team

Supports full create/compile/debug cycle

Integrated with Scene Builder

Library of ready to use samplesout of the box

Out of the Box JavaFX SupportNEW7.1

#26

HTML5 Platform

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.27 Support for HTML5Features for HTML5, JavaScript, and CSS3in HTML projects, Java EE (Maven and Ant) projects, and in PHP projectsIntegration betweenNetBeans IDE and Chrome browser Editors for HTML5, JavaScript, CSS3JavaScript debuggerVisual CSS editingSASS and LESS CSS preprocessingCordova mobile device development

Out of the Box HTML5 Support

NEW7.3#28 Cutting Edge JavaScript EditorEarly JDK 8 build Nashorn JavaScript Engine for parsing

Out of the box support:jQueryJSONKnockoutExt JsAngularJSJsDocExtDocScriptDoc

Support for HTML5

NEW7.37.4#29 Quick JavaScript DebuggerHTML5 applications are automatically deployedin debug mode

Set breakpoints in JavaScript file,on Line, DOM, Event, or XMLHTTPRequest

Refresh the browser and immediately step through code

Use Debugger windows to monitorwatches, threads, and breakpoints

Support for HTML5

NEW7.3#30 Visual CSS EditingClick in browserand see CSS styles and rules in IDE

Changes saved in Chrome Developer Toolsare saved in files in IDE

CSS styling: box modelstyling of hover-based effects

Changes in CSS Editorimmediately reflected in browser

Support for HTML5

NEW7.3#31 SASS and LESS PreprocessingSyntax coloring, indentation, reformatting,code folding, file templates

Go to declaration, mark occurrences,instant rename, code completion

Live reload on change

Debugging information is displayed

Support for HTML5

NEW7.4#32 Easy Mobile & Web DeploymentTight integration withChromeEmbedded WebKit BrowseriOS (Safari)Android (Chrome)

Also support forInternet Explorer, FireFox,Safari, Android default browser

Support for HTML5

NEW7.4#33 Cordova Mobile Device SupportCordova integrationfor hybrid development

Build native Androidand iOS packagesRegister or generaterequired files forAndroid and iOSRegister Android SDKand iOS SDK

Helpful samplesand templatesSupport for HTML5NEW7.4

#34Community FeedbackThe Smarter and Faster Way to Code

#35

PHP and C/C++

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.36Support for PHPTemplates & samples for PHP projects and filesEditor support (code completion, navigation, refactoring, hints, coloring, etc.)Integration with HTML, JavaScript, CSSDebugger (Xdebug)Unit testing (PHPUnit, atoum)PHP frameworks (Symfony 1 &2, Zend 1 and 2, Nette, Doctrine, Smarty)Dependency management (Composer)API documentation support (ApiGen, PhpDocumentor)Static code analysis (Code Sniffer, Mess Detector)Continuous integration (Hudson/Jenkins)

Feature Overview

#37 New in PHPHTML5 Development for PHP Projects

Editor enhancements

Enhanced frameworks: Twig, Apache Conf, NEON, INI

New frameworks: Nette, Zend 2, atoum

New static code analysis:Code Sniffer, Mess Detector

Out of the Box PHP SupportNEW7.4

#38Support for C/C++Optimized for large applications Advanced language-aware code editor, e.g., syntax coloring, code completion, navigation, formatting, and hintsRich reverse engineering capabilities, e.g., Find Usages, Call Graph, Class Hierarchy, Macro View, and Include HierarchyVisual Debugging Refactoring Unit tests support for CUnit/CppUnit Remote Development

Feature Overview

#39 New in C/C++Create projects from binary file Templates & specialized navigationBrowse remote file systemIntegrated terminalC++11 supportCompile single file actionC++ documentation viewMemory usage improvements 2xQT5 supportRun/debug launchers

Out of the Box C/C++ SupportNEW

#40

Miscellaneous IDE Tools

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.41Miscellaneous IDE ToolsProject ViewsServices ManagementBuild ToolsAnt, Maven, Gradle pluginVersioning ToolsGit, Subversion, MercurialNavigatorsTerminal EmulatorPlugin ManagerAction Items (Problem View)Bookmark Management

Feature Overview

#42 MavenEffective POM editor

Reworked compile-on-save

Build execution overview dialog

Memory usage enhancements

Performance enhancements

Out of the Box MavenNEW7.37.4

#43 Task ManagementNew Tasks Window

Manage issue trackersBugzilla and JIRA

Create and categorize queries,receive notifications on updates

Create and categorize tasks

Filter and searchyour tasks and queries

Out of the Box Task ManagementNEW7.4

#44 Versioning Tool EnhancementsVisual tools forgit --pull rebasegit --commit amend

Mercurial, Git, Subversiondiffing between branches

Support for SSH agent

Subversion 1.8

Out of the Box Versioning Control SupportNEW7.4

#45Summary

#In this presentation, youll be focusing on new features in NetBeans IDE, while also providing a context for those of your audience who are not familiar with NetBeans IDE.46Major Features per ReleaseNetBeans IDE 7.0 support for JDK 7

NetBeans IDE 7.1 support for JavaFX 2

NetBeans IDE 7.2 Static Java code analysis, e.g., FindBugs integration, together with smarter project scanning and performance enhancements

NetBeans IDE 7.3 HTML5 tools, such as HTML5 editor, JavaScript Editor, JavaScript debugger, CSS3 visual editor, and integration with Chrome browser, Java EE 7 support

NetBeans IDE 7.4 HTML5 tools for Java EE and PHP, Cordova mobile device development, preview support for JDK 8

The Smarter and Faster Way to Code#47Performance Enhancements

#Next Steps

#49Oracle Technology NetworkResources for YouTechnical Content on oracle.com/technetwork/javaJava Magazine (100K subscribers)Java Developer Newsletter (700K subscribers)Free Developer Days events.oracle.comProject space on java.net (7K+ projects)@java, Facebook/IloveJavaPath to RecognitionContent by You!Send links to blogs, videos, and proposals for articles to [email protected]

For Java Developers

#50#51