Introduction To NetBeans IDE

55
1 Muhammad “Ghanoz” Ghazali OSUM leader Universitas Widyatama Ketua HIMATIF UTama 1 Introduction to NetBeans IDE The Only IDE You Need!

description

Slide ini merupakan bahan yang dipresentasikan pada teman-teman mahasiswa/i teknik Informatika di Universitas Widyatama. Kegiatan ini merupakan bagian dari kegiatan OSUM Universitas Widyatama.

Transcript of Introduction To NetBeans IDE

Page 1: Introduction To NetBeans IDE

1

Muhammad “Ghanoz” GhazaliOSUM leader Universitas WidyatamaKetua HIMATIF UTama

1

Introduction to NetBeans IDEThe Only IDE You Need!

Page 2: Introduction To NetBeans IDE

2

Hold up...Sebelum saya menjelaskan tentang NetBeans akan saya tunjukkan sesuatu...dan kalian akan tahu “Why we need an IDE??”

Page 3: Introduction To NetBeans IDE

3

Demo 0

Page 4: Introduction To NetBeans IDE

4

Demo 0• Antara “hard coding” dan Code

template...???• “Siapa saja” yang menggunakan method/

variabel ini???• JavaDoc “lookup”

Page 5: Introduction To NetBeans IDE

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

Page 6: Introduction To NetBeans IDE

6

Introduction to NetBeans

Page 7: Introduction To NetBeans IDE

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

Page 8: Introduction To NetBeans IDE

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

Page 9: Introduction To NetBeans IDE

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

Page 10: Introduction To NetBeans IDE

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

Page 11: Introduction To NetBeans IDE

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?

Page 12: Introduction To NetBeans IDE

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?

Page 13: Introduction To NetBeans IDE

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 ;)

Page 14: Introduction To NetBeans IDE

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

Page 15: Introduction To NetBeans IDE

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

Page 16: Introduction To NetBeans IDE

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

Page 17: Introduction To NetBeans IDE

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

Page 18: Introduction To NetBeans IDE

18

Introduction to NetBeansCool Features > The Editor

• Multi-Language Support• Live parsing• Refactoring• Smart Code Completion• Insert Code• Inspect Members,

Hierarchy• File History• Navigation

Page 19: Introduction To NetBeans IDE

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

Page 20: Introduction To NetBeans IDE

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

Page 21: Introduction To NetBeans IDE

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

Page 22: Introduction To NetBeans IDE

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

Page 23: Introduction To NetBeans IDE

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

Page 24: Introduction To NetBeans IDE

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?

Page 25: Introduction To NetBeans IDE

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

Page 26: Introduction To NetBeans IDE

26

Introduction to NetBeansApa yang baru di NetBeans 6.8?

http://wiki.netbeans.org/NewAndNoteworthyNB68

Page 27: Introduction To NetBeans IDE

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

Page 28: Introduction To NetBeans IDE

28

Demo1) Membuat project Java (SE)

2) Code Assistance di NetBeans IDE untuk Java Editor

3) Membuat project PHP

Page 29: Introduction To NetBeans IDE

29

Demo 1

Page 30: Introduction To NetBeans IDE

30

Demo1) Membuat project Java (SE)

2) Code Assistance di NetBeans IDE untuk Java Editor

3) Membuat project PHP

Page 31: Introduction To NetBeans IDE

31

Demo 2

Page 32: Introduction To NetBeans IDE

32

Demo1) Membuat project Java (SE)

2) Code Assistance di NetBeans IDE untuk Java Editor

3) Membuat project PHP

Page 33: Introduction To NetBeans IDE

33

Demo 3

Page 34: Introduction To NetBeans IDE

34

Demo1) Membuat project Java (SE)

2) Code Assistance di NetBeans IDE untuk Java Editor

3) Membuat project PHP

Page 35: Introduction To NetBeans IDE

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

Page 36: Introduction To NetBeans IDE

36

Platform NetBeans

Page 37: Introduction To NetBeans IDE

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

Page 38: Introduction To NetBeans IDE

38

Page 39: Introduction To NetBeans IDE

39

Page 40: Introduction To NetBeans IDE

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

Page 41: Introduction To NetBeans IDE

41

Komunitas NetBeans

Where do you fit in?

Page 42: Introduction To NetBeans IDE

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/

Page 43: Introduction To NetBeans IDE

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

Page 44: Introduction To NetBeans IDE

44

The NetBeans Community

Page 45: Introduction To NetBeans IDE

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

Page 46: Introduction To NetBeans IDE

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

Page 47: Introduction To NetBeans IDE

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

Page 48: Introduction To NetBeans IDE

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

Page 49: Introduction To NetBeans IDE

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!

Page 50: Introduction To NetBeans IDE

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

Page 51: Introduction To NetBeans IDE

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.

Page 52: Introduction To NetBeans IDE

52

Any Questions

???_______

Thank you

Page 53: Introduction To NetBeans IDE

53

NOTE• Bahan presentasi ini diadaptasi dari

“Technical Talk-Introduction To NetBeans 6.8” di OSUM Project Repository.

Page 54: Introduction To NetBeans IDE

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]

Page 55: Introduction To NetBeans IDE

55

Introduction to NetBeans IDEThe Only IDE You Need!

Muhammad “Ghanoz” [email protected]@gmail.com

55