You are on page 1of 55

Introduction to NetBeans IDE

The Only IDE You Need!

Muhammad “Ghanoz” Ghazali


OSUM leader Universitas Widyatama
Ketua HIMATIF UTama
1
Hold up...
Sebelum saya menjelaskan tentang
NetBeans akan saya tunjukkan sesuatu...
dan kalian akan tahu “Why we need an
IDE??”

2
Demo 0

3
Demo 0
• Antara “hard coding” dan Code
template...???
• “Siapa saja” yang menggunakan method/
variabel ini???
• JavaDoc “lookup”

4
Agenda
• Introduction to NetBeans
> Sejarah singkat
> Feature overview
> Run on any OS with a JRE
> Cool features
> Apa yang baru di NetBeans 6.8?

• Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE
untuk Java Editor
3) Membuat project PHP

• NetBeans Platform
• Komunitas NetBeans
• Langkah berikutnya
> Sertifikasi

5
Introduction to NetBeans

6
Introduction to NetBeans
• A FREE comprehensive, modular multi-lingual IDE
(Integrated Development Environment)
> Out-of-box support for Java SE, Java EE, Java ME
> Support for dynamic languages like Ruby, Groovy, PHP, and more
> 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
7
Introduction to NetBeans
Sejarah singkat NetBeans

• Develop network-enabled Java Beans


components.
• Jarda Tulach, who designed the IDE's basic
architecture, came up with the name
NetBeans to describe what they would do
> Network + Java Beans = NetBeans

8
Introduction to NetBeans
Sejarah singkat NetBeans
• In-depth information available at:
http://www.netbeans.org/about/history.html
> Archive of NetBeans-related Press Releases
> The Visioan Statement
> NetBeans tomorrow - The Roadmap in the
Community - Planning section of the site
> History of NetBeans from NetBeans the
Definitive Guide
> Circa 2001 developer.com article
> Archive of the original NetBeans.org web site

9
Introduction to NetBeans
Feature Overview
• Java SE Support - Swing GUI Builder, Javadoc integration, Support for JUnit 3 & 4
• Java EE Support (1.3, 1.4 and 5) – first IDE to fully support Java EE 5, Multi-Language
support
• Java ME Support - Visual Mobile GUI Designer, Mobile Game Builder, etc.
• Rich editing support - Smart Source Code Editor, Code Navigator, Code
Completion/Folding, Refactoring support
• Profiler, Debugger, Version Control, etc.
• Netbeans Platform Development – Project support, Visual Library API, Lexer API, etc.
• Highly Modular Architecture, Extensible with user contributed plugins
• C/C++ Development
• Dynamic Language Support – Ruby, Javascript, PHP, Groovy, Python, and more
• Ant-based projects – usable outside the IDE
• Maven support – both existing and new Maven projects
•Hudson Continuous Build support – Support for Java SE projects using Ant and Maven
:Yang akan kita bahas sekarang
10
Introduction to NetBeans
Dapat dijalankan dimana OS mana saja?

• Binaries for Solaris, OpenSolaris, Linux,


Windows, and Mac OSX
• 100% Java
• Just download and run on any OS with a
JRE!

11
Introduction to NetBeans
Apa yang bisa kita lakukan dengan NetBeans?
• Membuat aplikasi:
> Desktop
> Web
> Mobile
> Enterprise
• Dalam...
> Java
> C/C++
> Ruby
> PHP, Groovy, Python, Javascript
> and more... 12
Introduction to 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..
13
Introduction to NetBeans
Cool Features > Profiler

• Find performance bottlenecks


and memory leaks
• Profile entire application or
subset
• Task-based profiling
> CPU, Thread State, Memory
• Memory snapshots
Comparison
• Memory Heap Walker
• JMeter integration
• Dynamic attach on JDK 6
14
Introduction to NetBeans
Cool Features > Mobile Development

• Support for Java ME –


MIDP/CLDC/CDC
> Java ME SDK 3.0 Included
• Visual Mobile Designer
> Drag 'n drop MIDP
authoring
• Game Builder supporting
MIDP 2.0 Game API
• SVG UI Support

15
NetBeans 简 介
Cool Features > Java EE 6 Support

• Supports for Java EE 6


> Java EE 6 web profile
> JSF 2.0 (Facelets)
> JPA 2.0
> EJB 3.1
> Java EE 5, J2EE 1.4

• JS F 2.0 development
> M anaged bean wizard
• EJB 3.1 development
> Non-interface facade
16
Introduction to NetBeans
Cool Features > C/C++ Development

• Full Edit-Compile-Debug
project support and editor
> Code completion, folding,
syntax highlighting, error
highlighting
> Makefile wizard/import

• Faster Remote Development


• Debugger – easy attach to
gdbserver
• Supports a variety of
compilers
> Sun Studio, GNU, Cygwin, etc.

• Profiling
> Thread Details, I/O usage,
Memory usage views
17
Introduction to NetBeans
Cool Features > The Editor

• Multi-Language Support
• Live parsing
• Refactoring
• Smart Code Completion
• Insert Code
• Inspect Members,
Hierarchy
• File History
• Navigation
18
Introduction to NetBeans
Cool Features > PHP

• Editor Highlights
> Code completion, syntax &
semantic highlighting, mark
occurrences, navigation
> Edit embedded
CSS/HTML/JavaScript
> Code Generator & Templates

• Debugging via Xdebug


• FTP Support
• Support for consuming
Web Services
• Easy AMP stack
integration
19
Introduction to 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

20
Introduction to NetBeans
Cool Features > JavaScript

• Editor Features
> Semantic Highlighting,
Code Completion and Type
Analysis
> Quick Fixes and Semantic
Checks
> Browser compatibility
support
> CSS editing support

• JavaScript 1.7 support


• Debugging for IE & FF
browsers

21
Introduction to NetBeans
Cool Features > Groovy

• Groovy Editor
> Syntax highlighting,
code completion, code
folding
• Groovy and Java SE
project integration
• Support for Grails
web framework

22
Introduction to NetBeans
Cool Features > Python

• Python Projects Wizard


• Editor Highlights
> Syntax and Semantic
highlighting
> Code completion
> Smart indentation,
outdent
> Pair matching

• Interactive Python
Console
• Python Debugger
23
Introduction to NetBeans
Apa yang baru di NetBeans 6.8?
• Java EE 6 support • JavaFX SDK 1.2.1 Support
> Java EE 6 web profile • Improved Kenai integration
> EJBs in Web application > Full JIRA support
> JPA 2.0
> Improved project dashboard
> Deployment, debugging and
> Improved instance messenger
profiling on Glassfish v3
– Online presence
• JavaServer Faces 2.0 (Facelets) – Group chat
> Code completion, error hints, – Easy to add links to code / files
namespace completion, /issues / stack traces to
documentation popups, and tag messages
auto-import for Facelets
> Editor support for Facelets • PHP Support
libraries, composite components, > Full PHP 5.3 support
expression language, including
generators for JSF and HTML forms > Symfony Framework support
> New File wizard generates > Create a PHP project from a
customizable CRUD remote PHP application
(create/read/update/delete) JSF
pages from entities
24
Introduction to NetBeans
Apa yang baru di NetBeans 6.8?
• Ruby/JRuby Support • Groovy and Grails
> Rails 2.3.4 , JRuby 1.4, Ruby > Support for Groovy 1.6.4
1.9 debugging
• Database
> Run/Debug File with
arguments, also for files not > Code completion for DELETE,
part of a project DROP, UPDATE statements
> Run SQL files
• C/C++ Support
> Profiling: New Microstate • Embedded Browser based on
Accounting indicator, Thread Mozilla XULRunner
Map view, Hot Spots view,
Memory Leaks view, Sync
Problems view
> Faster synchronization during
remote development
> Support for gdbserver attach
and easier attaching to
already running processes

25
Introduction to NetBeans
Apa yang baru di NetBeans 6.8?

http://wiki.netbeans.org/NewAndNoteworthyNB68

26
Agenda
• Introduction to NetBeans
> Sejarah singkat
> Feature overview
> Run on any OS with a JRE
> Cool features
> Apa yang baru di NetBeans 6.8?

• Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE
untuk Java Editor
3) Membuat project PHP

• NetBeans Platform
• Komunitas NetBeans
• Langkah berikutnya
> Sertifikasi

27
Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk
Java Editor
3) Membuat project PHP

28
Demo 1

29
Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk
Java Editor
3) Membuat project PHP

30
Demo 2

31
Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk
Java Editor
3) Membuat project PHP

32
Demo 3

33
Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk
Java Editor
3) Membuat project PHP

34
Agenda
• Introduction to NetBeans
> A brief history
> Feature overview
> Run on any OS with a JRE
> Cool features
> Apa yang baru di NetBeans 6.8?

• Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE
untuk Java Editor
3) Membuat project PHP

• Platform NetBeans
• Komunitas NetBeans
• Langkah berikutnya
> Sertifikasi

35
Platform NetBeans

36
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 (JasperReports)
> Boeing Shared Platform
> And here are some more...

37
38
39
Agenda
• Introduction to NetBeans
> Sejarah singkat
> Feature overview
> Run on any OS with a JRE
> Cool features
> Apa yang baru di NetBeans 6.8?

• Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE
untuk Java Editor
3) Membuat project PHP

• Platform NetBeans
• Komunitas NetBeans
• Langkah berikutnya
> Sertifikasi

40
Komunitas NetBeans

Where do you fit in?

41
The NetBeans Community
• 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
> Over 530+ 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/
42
The NetBeans Community
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

43
The NetBeans Community

44
Next Steps
• Create a user account on
Get http://www.netbeans.org
• Download NetBeans
Involved • Write a new desktop
application, a mobile
application..
• Blog about NetBeans
• Participate on NetBeans
mailing lists

http://www.netbeans.org

45
Agenda
• Introduction to NetBeans
> Sejarah singkat
> Feature overview
> Run on any OS with a JRE
> Cool features
> Apa yang baru di NetBeans 6.8?

• Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE
untuk Java Editor
3) Membuat project PHP

• Platform NetBeans
• Komunitas NetBeans
• Langkah berikutnya
> Sertifikasi

46
Langkah berikutnya
NetBeans 6.8 Resources
Get
• NetBeans Product Site: http://www.netbeans.org

Involved
> 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

47
Langkah berikutnya
• Visit Osum project repository for more Java
tech demos using NetBeans
• Join Java & NetBeans groups inside osum
and participate in the communities
http://osum.sun.com/group/osumnetbeansusergroup
• Build your own NetBeans demos, and
schedule yout own webinars with the help of
your local osum leaders

48
Langkah berikutnya
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
worldwide

49
Langkah berikutnya
• Bagi teman-teman yang belum bergabung di
OSUM, silahkan kunjungi link berikut:
http://osum.sun.com/
• Dan bergabung juga di OSUM Universitas
Widyatama
http://osum.sun.com/osumuniversitaswidyatama
• Milist NetBeans Indonesia
http://tech.groups.yahoo.com/group/netbeans-indonesia
• Java User Group Bandung
http://groups.google.com/group/jug-bandung
50
Agenda
• Introduction to NetBeans
> Sejarah singkat
> Feature overview
> Run on any OS with a JRE
> Cool features
> Apa yang baru di NetBeans 6.8?

• Demo
1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE
untuk Java Editor
3) Membuat project PHP

• Platform NetBeans
• Komunitas NetBeans
• Langkah berikutnya
> Sertifikasi
Selesai.
51
Any
Questions
???
_______
Thank
you
52
NOTE
• Bahan presentasi ini diadaptasi dari
“Technical Talk-Introduction To NetBeans
6.8” di OSUM Project Repository.

53
Let's keep in touch...
Blog: http://muhammadghazali.wordpress.com
FB:
FB Muhammad Ghanoz Ghazali
Tw:
Tw http://twitter.com/muhghazali
Plurk:
Plurk http://plurk.com/muhammadghazali
GoogleTalk:
GoogleTalk muhammadghazali2480
Yahoo! Messenger:
Messenger mc_gnz
Google Wave: muhammadghazali2480@googlewave.com
e-mail:
• muhammadghazali@netbeans.org
• muhammadghazali@widyatama.ac.id,
• muhammadghazali2480@gmail.com
54
Introduction to NetBeans IDE
The Only IDE You Need!

Muhammad “Ghanoz” Ghazali


muhammad.ghazali@widyatama.ac.id
muhammadghazali2480@gmail.com
55

You might also like