1
Muhammad “Ghanoz” GhazaliOSUM leader Universitas WidyatamaKetua HIMATIF UTama
1
Introduction to NetBeans IDEThe Only IDE You Need!
2
Hold up...Sebelum saya menjelaskan tentang NetBeans akan saya tunjukkan sesuatu...dan kalian akan tahu “Why we need an IDE??”
3
Demo 0
4
Demo 0• Antara “hard coding” dan Code
template...???• “Siapa saja” yang menggunakan method/
variabel ini???• JavaDoc “lookup”
5
Agenda• Introduction to NetBeans
> Sejarah singkat> Feature overview> Run on any OS with a JRE> Cool features> Apa yang baru di NetBeans 6.8?
• Demo1) Membuat project Java (SE)2) Code Assistance di NetBeans IDE
untuk Java Editor3) Membuat project PHP
• NetBeans Platform• Komunitas NetBeans• Langkah berikutnya
> Sertifikasi
6
Introduction to NetBeans
7
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
8
• 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
Sejarah singkat NetBeansIntroduction to NetBeans
9
Sejarah singkat NetBeansIntroduction to 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
10
Introduction to NetBeans
• 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
Feature Overview
:Yang akan kita bahas sekarang
11
Introduction to NetBeans
• Binaries for Solaris, OpenSolaris, Linux, Windows, and Mac OSX• 100% Java• Just download and run on any OS with a JRE!
Dapat dijalankan dimana OS mana saja?
12
Introduction to NetBeans
• Membuat aplikasi:> Desktop> Web> Mobile> Enterprise
• Dalam...> Java> C/C++> Ruby> PHP, Groovy, Python, Javascript> and more...
Apa yang bisa kita lakukan dengan NetBeans?
13
Introduction to NetBeans•Ajax•C/C++•JSF•JSP•CSS•SQL•JavaDB•MySQL•PostgreSQL•JDBC•Ant
•Java EE•Java ME•Java SE•Javascript•PHP•HTML•REST•CVS•SVN•Rich Client Platform•Ruby
•SOA•UML•Web•WSDL•XML•MIDP•CLDC•CDC•EJB•JAX-WS•JSTL
• And a whole lot more..
Supported Technologies... Some Buzzwords ;)
14
Introduction to NetBeansCool 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
15
Introduction to NetBeansCool 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
16
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> Managed bean wizard
• EJB 3.1 development> Non-interface facade
17
Introduction to NetBeansCool 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
18
Introduction to NetBeansCool Features > The Editor
• Multi-Language Support• Live parsing• Refactoring• Smart Code Completion• Insert Code• Inspect Members,
Hierarchy• File History• Navigation
19
Introduction to NetBeansCool 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
20
Introduction to NetBeansCool 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
21
Introduction to NetBeansCool 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
22
Introduction to NetBeans
• Groovy Editor> Syntax highlighting,
code completion, code folding
• Groovy and Java SE project integration
• Support for Grails web framework
Cool Features > Groovy
23
Introduction to NetBeansCool Features > Python
• Python Projects Wizard• Editor Highlights
> Syntax and Semantic highlighting
> Code completion > Smart indentation,
outdent> Pair matching
• Interactive Python Console
• Python Debugger
24
Introduction to NetBeans• Java EE 6 support
> Java EE 6 web profile> EJBs in Web application> JPA 2.0> Deployment, debugging and
profiling on Glassfish v3• JavaServer Faces 2.0 (Facelets)
> Code completion, error hints, namespace completion, documentation popups, and tag auto-import for Facelets
> Editor support for Facelets libraries, composite components, expression language, including generators for JSF and HTML forms
> New File wizard generates customizable CRUD (create/read/update/delete) JSF pages from entities
• JavaFX SDK 1.2.1 Support• Improved Kenai integration
> Full JIRA support> Improved project dashboard> Improved instance messenger
– Online presence– Group chat– Easy to add links to code / files
/issues / stack traces to messages
• PHP Support> Full PHP 5.3 support> Symfony Framework support> Create a PHP project from a
remote PHP application
Apa yang baru di NetBeans 6.8?
25
Introduction to NetBeansApa yang baru di NetBeans 6.8?• Ruby/JRuby Support
> Rails 2.3.4 , JRuby 1.4, Ruby 1.9 debugging
> Run/Debug File with arguments, also for files not part of a project
• C/C++ Support> Profiling: New Microstate
Accounting indicator, Thread 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
• Groovy and Grails> Support for Groovy 1.6.4
• Database > Code completion for DELETE,
DROP, UPDATE statements> Run SQL files
• Embedded Browser based on Mozilla XULRunner
26
Introduction to NetBeansApa yang baru di NetBeans 6.8?
http://wiki.netbeans.org/NewAndNoteworthyNB68
27
Agenda• Introduction to NetBeans
> Sejarah singkat> Feature overview> Run on any OS with a JRE> Cool features> Apa yang baru di NetBeans 6.8?
• Demo1) Membuat project Java (SE)2) Code Assistance di NetBeans IDE
untuk Java Editor3) Membuat project PHP
• NetBeans Platform• Komunitas NetBeans• Langkah berikutnya
> Sertifikasi
28
Demo1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk Java Editor
3) Membuat project PHP
29
Demo 1
30
Demo1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk Java Editor
3) Membuat project PHP
31
Demo 2
32
Demo1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk Java Editor
3) Membuat project PHP
33
Demo 3
34
Demo1) Membuat project Java (SE)
2) Code Assistance di NetBeans IDE untuk Java Editor
3) Membuat project PHP
35
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?
• Demo1) Membuat project Java (SE)2) Code Assistance di NetBeans IDE
untuk Java Editor3) Membuat project PHP
• Platform NetBeans• Komunitas NetBeans• Langkah berikutnya
> Sertifikasi
36
Platform NetBeans
37
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...
38
39
40
Agenda• Introduction to NetBeans
> Sejarah singkat> Feature overview> Run on any OS with a JRE> Cool features> Apa yang baru di NetBeans 6.8?
• Demo1) Membuat project Java (SE)2) Code Assistance di NetBeans IDE
untuk Java Editor3) Membuat project PHP
• Platform NetBeans• Komunitas NetBeans• Langkah berikutnya
> Sertifikasi
41
Komunitas NetBeans
Where do you fit in?
42
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/
43
The NetBeans Community
• 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
If you want to contribute code...
44
The NetBeans Community
45
Next Steps• Create a user account on http://www.netbeans.org• Download NetBeans• Write a new desktop application, a mobile application..• Blog about NetBeans• Participate on NetBeans mailing lists
http://www.netbeans.org
GetInvolved
46
Agenda• Introduction to NetBeans
> Sejarah singkat> Feature overview> Run on any OS with a JRE> Cool features> Apa yang baru di NetBeans 6.8?
• Demo1) Membuat project Java (SE)2) Code Assistance di NetBeans IDE
untuk Java Editor3) Membuat project PHP
• Platform NetBeans• Komunitas NetBeans• Langkah berikutnya
> Sertifikasi
47
Langkah berikutnyaGetInvolved• 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
NetBeans 6.8 Resources
48
Langkah berikutnya• Visit Osum project repository for more Java
tech demos using NetBeans• Join Java & NetBeans groups inside osum
and participate in the communitieshttp://osum.sun.com/group/osumnetbeansusergroup
• Build your own NetBeans demos, and schedule yout own webinars with the help of your local osum leaders
49
Langkah berikutnya
• 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
Fast Track Your Career with Sun!
50
Langkah berikutnya• Bagi teman-teman yang belum bergabung di
OSUM, silahkan kunjungi link berikut:http://osum.sun.com/
• Dan bergabung juga di OSUM Universitas Widyatamahttp://osum.sun.com/osumuniversitaswidyatama
• Milist NetBeans Indonesiahttp://tech.groups.yahoo.com/group/netbeans-indonesia/
• Java User Group Bandunghttp://groups.google.com/group/jug-bandung
51
Agenda• Introduction to NetBeans
> Sejarah singkat> Feature overview> Run on any OS with a JRE> Cool features> Apa yang baru di NetBeans 6.8?
• Demo1) Membuat project Java (SE)2) Code Assistance di NetBeans IDE
untuk Java Editor3) Membuat project PHP
• Platform NetBeans• Komunitas NetBeans• Langkah berikutnya
> SertifikasiSelesai.Selesai.
52
Any Questions
???_______
Thank you
53
NOTE• Bahan presentasi ini diadaptasi dari
“Technical Talk-Introduction To NetBeans 6.8” di OSUM Project Repository.
54
Let's keep in touch...BlogBlog: http://muhammadghazali.wordpress.com: http://muhammadghazali.wordpress.comFBFB: Muhammad Ghanoz GhazaliTwTw: http://twitter.com/muhghazaliPlurkPlurk: http://plurk.com/muhammadghazaliGoogleTalkGoogleTalk: muhammadghazali2480Yahoo! MessengerYahoo! Messenger: mc_gnzGoogle Wave: [email protected]: • [email protected]• [email protected], • [email protected]
55
Introduction to NetBeans IDEThe Only IDE You Need!
Muhammad “Ghanoz” [email protected]@gmail.com
55
Top Related