KEMBAR78
Getting Started with the NetBeans Platform | PDF
Welcome
    to the
NetBeans Platform
   Training


       1
Getting Started
      with
      the
NetBeans Platform
       Geertjan Wielenga
 http://blogs.sun.com/geertjan
Agenda
 ●   Goals
 ●   Purpose 1: Generic Application
 ●   Purpose 2: Modular Architecture
 ●   Demo: Porting to NetBeans Platform
 ●   Resources




                     3
Goals
 ● Meet the NetBeans Platform
 ● Understand its problem domain
 ● Get an overview of the main APIs
 ● See a demo
 ● Learn what to do next




                 4
Agenda
 ●   Goals
 ●   Purpose 1: Generic Application
 ●   Purpose 2: Modular Architecture
 ●   Demo: Porting to NetBeans Platform
 ●   Resources




                     5
6
7
8
9
10
11
12
Agenda
 ●   Goals
 ●   Purpose 1: Generic Application
 ●   Purpose 2: Modular Architecture
 ●   Demo: Porting to NetBeans Platform
 ●   Resources




                     13
Maybe this is your code:




            14
Maybe this is you:




           15
This should be you...




                 domain
                 expert
                 knowledge
            16
Application “Plumbing”
  ● Windowing/docking system
  ● Archictecture
  ● Lifecycle management
  ● Persistence
  ● Data management
  ● Consistent look & feel
  ● Distribution/update mechanism

                    17
Agenda
 ●   Goals
 ●   Purpose 1: Generic Application
 ●   Purpose 2: Modular Architecture
 ●   Demo: Porting to NetBeans
     Platform
 ●   Resources



                     18
Project wizards




            19
NetBeans Platform




           20
Outline view




               21
Project wizards




            22
File wizards




               23
File wizards
  ● Actions API
  ● Datasystems API
  ● Module Install class
  ● Options Dialog API
  ● TopComponent class
  ● Wizard Descriptor class


                   24
Configuration




           25
Editor




         26
Dependencies




          27
Dependencies




          28
Contextual menus




           29
Contextual menus




           30
Samples




          31
Demo Outline
 1. Start with a simple application.
 2. Compare what it is to what the
    NetBeans Platform has.
 3. Create a new plugin project.
 4. Move the useful parts of our old
    application to our new plugin.
 5. Run it.

                    32
Demo




       33
Porting Guide




http://platform.netbeans.org/tutorials/60/
nbm-porting-basic.html 34
Agenda
 ●   Goals
 ●   Purpose 1: Generic Application
 ●   Purpose 2: Modular Architecture
 ●   Demo: Porting to NetBeans Platform
 ●   Resources




                     35
Resources




http://www.netbeans.org/kb/articles/books.html

                      36
37
38
References
●   dev@openide.netbeans.org
●   users@edu.netbeans.org
●   http://bits.netbeans.org/dev/
    javadoc/index.html
●   http://platform.netbeans.org
●   http://wiki.netbeans.org/
    NetBeansDeveloperFAQ
●   http://blogs.sun.com/geertjan
●   http://plugins.netbeans.org/PluginPortal/
                      39
Summary
 ● Many on the NetBeans Platform
 ● NetBeans Platform gives plumbing
 ● Many APIs and libraries to help you
 ● NetBeans IDE provides tools
 ● Getting started is easy
 ● Mail list, tutorials, and training course


                   40

Getting Started with the NetBeans Platform