NetBeans 6.
5
The Only IDE You Need!
●Ahmed Mohamed Saeed
Sun Campus Ambassador
[email protected]Agenda
• What is NetBeans?
• What is new in NetBeans 6.5?
• About the NetBeans Platform
• The NetBeans Community and You
• Next Steps
2
What is NetBeans?
3
What is NetBeans?
• A comprehensive, modular multi-lingual IDE
(Integrated Development Environment)
> Out-of-box support for Java SE, Java EE, Java ME
> Large set of 3rd party modules (plugins)
> Intuitive drag-and-drop development
> Debugger, Profiler, Refactoring, etc...
• A platform for building applications
> RCP = Rich Client Platform
> Rich client Java applications
> Rich framework of windows, menus, tool bars, actions
• A thriving open source community
> Open source since June, 2000
> Large community of users and developers
4
What is NetBeans?
A Brief History of NetBeans
•Something to do with Coffee Beans? No
•Develop network-enabled Java Beans components.
> Network + Java Beans = NetBeans
5
What is NetBeans?
Feature Overview
• Java SE: Swing Builder, JavaDoc, Junit, JavaFX.
• Java ME: Visual Mobile GUI Designer, Mobile Game Builder
• Web Development:Visual Web Editor, Visual Page Flow Editor, Visual Query Editor,
Visual CSS Editor, Database Explorer, etc.
• Profiler, Debugger, Version Control, etc.
• Visual UML Modeling
• Netbeans Platform Development: Visual Library API, Rich Client Development, etc.
• Highly Modular Architecture, Extensible with user contributed plugins
• C/C++ Development
• Dynamic Language Support – Ruby, Javascript, PHP, Groovy, Python, and more
6
What is NetBeans?
Which Operating System Does it Work On?
7
What is NetBeans?
What Can I Do With NetBeans?
• Make Applications:
> Desktop
> Web
> Mobile
> Enterprise
• In..
> Java
> C/C++
> Ruby
> PHP, Groovy, Python, Javascript
> and more...
8
What is NetBeans?
Supported Technologies... Some Buzzwords
•Ajax •Java EE •SOA
•C/C++ •Java ME •UML
•JSF •Java SE •Web
•JSP •Javascript •WSDL
•CSS •PHP •XML
•SQL •HTML •MIDP
•JavaDB •REST •CLDC
•MySQL •CVS •CDC
•PostgreSQL •SVN •EJB
•JDBC •Rich Client Platform •JAX-WS
•Ant •Ruby •JSTL
• And a whole lot more..
9
What is NetBeans?
Cool Features > Profiler
•Find performance bottlenecks and memory
leaks
•Profile entire application or subset
•Task-based profiling
>CPU, Thread State, Memory
•New 6.5 features
>Comparing Memory snapshots
>Drill-down graph
>Memory Heap Walker
>Dynamic attach on JDK 6
10
What is NetBeans?
Cool Features > Mobile Development
•Support for Java ME – CLDC/CDC
>Sun Wireless Toolkit included
•Redesigned Visual Mobile Designer
>Drag 'n drop MIDP authoring
•New Game Builder supporting MIDP
2.0 Game API
•SVG UI Support
11
What is NetBeans?
Cool Features > C/C++ Development
•Full Edit-Compile-Debug project
support and editor
>Code completion, folding, syntax
highlighting, error highlighting
>Makefile wizard/import
•Remote Development
•Support for application packaging
•Works with GCC & Sun Studio
compilers
>Support for GDB debugging
12
What is NetBeans?
Cool Features > Visual Web Development
•Visual drag 'n drop web
application development
•Includes AJAX JavaServer Faces
Components
•Visual Page Navigation
•Visual CSS Editing
13
What is NetBeans?
Cool Features > The Editor
•Live parsing
•Refactoring
•Smart Code Completion
•Insert Code
•Inspect Members, Hierarchy
•File History
•Navigation
14
What is NetBeans?
Cool Features > PHP
•Editor Highlights
>Code completion, syntax & semantic
highlighting, mark occurrences,
navigation
> Edit embedded
CSS/HTML/JavaScript
> Code Generator & Templates
•Support for web services
15
What is NetBeans?
Cool Features > Ruby
•Support for Ruby and Jruby
•Editor Highlights
> Code completion, syntax
highlighting, quick fixes
> Support for Ruby, RSpec, and
YAML files
> Rails project generator
> Ruby Gems installation manager
•Debugger
•Deploy to WEBrick, Mongrel,
GlassFish
16
What is NetBeans?
Cool Features > JavaScript
•Editor Features
> Semantic Highlighting, Code
Completion and Type Analysis
> Quick Fixes and Semantic Checks
> Browser compatibility support
> Mark occurences and instant
rename
•Debugging for IE & FF browsers
•HTTP client monitoring
17
What is NetBeans?
Cool Features > Python (Early Access)
•Early Access Preview
•Editor Highlights
> Syntax and Semantic
highlighting
> Code completion
> Smart indentation
•Debugger
•Community Driven Project
18
What's New in NetBeans
6.5?
19
What is new in NetBeans 6.5?
•Intuitive and Feature-rich IDE for PHP •New Java Development Features
>Fast editor with code completion, templates, > Support for Hibernate
error checking and more > Eclipse project import
>Debugging via Xdebug > Compile/Deploy on Save
>Support for local and remote development > Multi-thread debugging
•Web Development Simplified •C/C++
>Enhanced JavaScript support with bundled >Improved code completion and error-checking
libraries and debugging on Firefox and IE
> Embedded editor support for •Ruby
CSS/HTML/JavaScript >Supports for Ruby Tests
>Updated Database Explorer and SQL query >Improved Rake build tool
editor >New GlassFish v3 with JRuby
20
What is NetBeans?
What's New in NetBeans 6.5?
http://wiki.netbeans.org/wiki/view/NewAndNoteWorthy
21
What is NetBeans?
Swing GUI Builder Details
• Formerly known as project “Matisse”
• Issues building GUIs without Swing GUI Builder:
> Complex Swing APIs
> e.g. GridBagLayout
> Resizing and alignment is hard
> Handling of locales is hard
> Different OS behaviors
> Binding data to your GUI
• New layout manager “GroupLayout” in Java 6
• Netbeans handles these for you!
22
Demo 1
23
About the NetBeans
Platform
24
About the NetBeans Platform
• Rich Client Platform (RCP) – NetBeans was the
first
• IDE allows you to develop plugins for the RCP –
module project
• Many complex applications built on NetBeans
RCP – For Example:
> IReport
> Boeing Shared Platform
> And here are some more...
25
26
27
28
29
The NetBeans
Community and You
Where do you fit in?
30
The NetBeans Community and You
• Start here - http://www.netbeans.org/community/index.html
> Open Source Projects- Code and Documentation
> News and events
• Plugin Eco-system
> “Plugins” tab on http://www.netbeans.org
> Contribute and find plugins
• Join a vibrant community
> Over 20 Million Downloads
> Mailing Lists – Over 500,000 mailing list subscribers
> Over 130 Partner Companies
> Active Blogging Community:
> http://www.planetnetbeans.org/
31
32
33
The NetBeans Community and You
If you want to contribute code...
•http://www.netbeans.org/community/contribute/code.html
• Scratch your own itch- add new features or improve
existing ones
• Fix bugs
• Write plugins or modules
• Develop RCP applications
34
Next Steps
• Create a user account on
Get http://www.netbeans.org
• Download NetBeans
Involved • Join the student community
• Write a new desktop
application, a mobile application..
• Blog about NetBeans
• Participate on NetBeans mailing
lists
http://www.netbeans.org
http://osum.sun.com
35
Next Steps
NetBeans 6.5 Resources
•NetBeans Product Site: http://www.netbeans.org
> Download: previews, current & past releases of IDE, plugins
> Learning: tutorials, technical articles, flash demos
> Community: latest news, forums, events, mailing lists
•NetBeans Wiki: http://wiki.netbeans.org/wiki/
> Open-source documentation site for NetBeans
•Planet NetBeans: http://www.planetnetbeans.org/
> Aggregate for all NetBeans-related blogs
•Source Code:
http://www.netbeans.org/community/sources/hg.html
> Mercurial source code access for Netbeans platform + IDE
36
Next Steps
Fast Track Your Career with Sun!
• Get FREE Web-based training on JavaTM, SolarisTM & more!
> Visit: http://www.sunacademic.com
> Course registration code for ABC University is XYZ
• Increase earnings potential with a Sun Certification!
> Sun Certified Associate/Programmer for the Java 2 Platform SE
> Sun Certified Web Component Developer for Java EE
> Sun Certified Mobile Application Developer for Java ME
> Sun Certified System/Network Admin for Solaris Operating System
• Free practice exams
• Discounted exams fees for academic developers – only US$40
instead of $150+
37
NetBeans 6.5
The Only IDE You Need!
THANK YOU!
● Ahmed Mohamed Saeed
●Sun Campus Ambassador
[email protected]
http://blogs.sun.com/alexca