1
Welcome
to the
NetBeans Platform
Training
Getting Started
with
the
NetBeans Platform
Geertjan Wielenga
http://blogs.sun.com/geertjan
3
Agenda
● Goals
● Purpose 1: Generic Application
● Purpose 2: Modular Architecture
● Demo: Porting to NetBeans Platform
●...
4
● Meet the NetBeans Platform
● Understand its problem domain
● Get an overview of the main APIs
● See a demo
● Learn wha...
5
Agenda
● Goals
● Purpose 1: Generic Application
● Purpose 2: Modular Architecture
● Demo: Porting to NetBeans Platform
●...
6
7
8
9
10
11
12
13
Agenda
● Goals
● Purpose 1: Generic Application
● Purpose 2: Modular Architecture
● Demo: Porting to NetBeans Platform
...
14
Maybe this is your code:
15
Maybe this is you:
16
This should be you...
domain
expert
knowledge
17
Application “Plumbing”
● Windowing/docking system
● Archictecture
● Lifecycle management
● Persistence
● Data managemen...
18
Agenda
● Goals
● Purpose 1: Generic Application
● Purpose 2: Modular Architecture
● Demo: Porting to NetBeans
Platform
...
19
Project wizards
20
NetBeans Platform
21
Outline view
22
Project wizards
23
File wizards
24
File wizards
● Actions API
● Datasystems API
● Module Install class
● Options Dialog API
● TopComponent class
● Wizard ...
25
Configuration
26
Editor
27
Dependencies
28
Dependencies
29
Contextual menus
30
Contextual menus
31
Samples
32
Demo Outline
1. Start with a simple application.
2. Compare what it is to what the
NetBeans Platform has.
3. Create a n...
33
Demo
34
Porting Guide
http://platform.netbeans.org/tutorials/60/
nbm-porting-basic.html
35
Agenda
● Goals
● Purpose 1: Generic Application
● Purpose 2: Modular Architecture
● Demo: Porting to NetBeans Platform
...
36
Resources
http://www.netbeans.org/kb/articles/books.html
37
38
39
References
● dev@openide.netbeans.org
● users@edu.netbeans.org
● http://bits.netbeans.org/dev/
javadoc/index.html
● htt...
40
● Many on the NetBeans Platform
● NetBeans Platform gives plumbing
● Many APIs and libraries to help you
● NetBeans IDE...
Upcoming SlideShare
Loading in …5
×

Getting started-090929040523-phpapp02

158 views
120 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
158
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Getting started-090929040523-phpapp02

  1. 1. 1 Welcome to the NetBeans Platform Training
  2. 2. Getting Started with the NetBeans Platform Geertjan Wielenga http://blogs.sun.com/geertjan
  3. 3. 3 Agenda ● Goals ● Purpose 1: Generic Application ● Purpose 2: Modular Architecture ● Demo: Porting to NetBeans Platform ● Resources
  4. 4. 4 ● Meet the NetBeans Platform ● Understand its problem domain ● Get an overview of the main APIs ● See a demo ● Learn what to do next Goals
  5. 5. 5 Agenda ● Goals ● Purpose 1: Generic Application ● Purpose 2: Modular Architecture ● Demo: Porting to NetBeans Platform ● Resources
  6. 6. 6
  7. 7. 7
  8. 8. 8
  9. 9. 9
  10. 10. 10
  11. 11. 11
  12. 12. 12
  13. 13. 13 Agenda ● Goals ● Purpose 1: Generic Application ● Purpose 2: Modular Architecture ● Demo: Porting to NetBeans Platform ● Resources
  14. 14. 14 Maybe this is your code:
  15. 15. 15 Maybe this is you:
  16. 16. 16 This should be you... domain expert knowledge
  17. 17. 17 Application “Plumbing” ● Windowing/docking system ● Archictecture ● Lifecycle management ● Persistence ● Data management ● Consistent look & feel ● Distribution/update mechanism
  18. 18. 18 Agenda ● Goals ● Purpose 1: Generic Application ● Purpose 2: Modular Architecture ● Demo: Porting to NetBeans Platform ● Resources
  19. 19. 19 Project wizards
  20. 20. 20 NetBeans Platform
  21. 21. 21 Outline view
  22. 22. 22 Project wizards
  23. 23. 23 File wizards
  24. 24. 24 File wizards ● Actions API ● Datasystems API ● Module Install class ● Options Dialog API ● TopComponent class ● Wizard Descriptor class
  25. 25. 25 Configuration
  26. 26. 26 Editor
  27. 27. 27 Dependencies
  28. 28. 28 Dependencies
  29. 29. 29 Contextual menus
  30. 30. 30 Contextual menus
  31. 31. 31 Samples
  32. 32. 32 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.
  33. 33. 33 Demo
  34. 34. 34 Porting Guide http://platform.netbeans.org/tutorials/60/ nbm-porting-basic.html
  35. 35. 35 Agenda ● Goals ● Purpose 1: Generic Application ● Purpose 2: Modular Architecture ● Demo: Porting to NetBeans Platform ● Resources
  36. 36. 36 Resources http://www.netbeans.org/kb/articles/books.html
  37. 37. 37
  38. 38. 38
  39. 39. 39 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/
  40. 40. 40 ● 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 Summary

×