2. Introduction
Introduction
• What is Rich Client?
• What is Rich Client Platform?
• Advantages of a Rich Client Platform
Reduction in Development Time, UI Consistency, Updating
Platform Independency, Reusability and Reliability
• Characteristics of the NetBeans Platform
UI Framework, Data Editor, Customization Display
Wizard Framwork, DataSystems, Internationalization
Help System
• Summary
2/22
3. Structure of the NetBeans Platform
Structure of the NetBeans Platform
• NetBeans Platform Architecture
• NetBeans Platform Distribution
• NetBeans Runtime Container
• NetBeans Classloader System
Module Classloader
System Classloader
Original Classloader
• Summary
3/22
4. The Module System
The Module System
• Module Structure
• Module Types
• Module Mainfest
• Module Layer
• Creating Modules
• Versioning and Dependencies
• LifeCycle
• Module registry
• Using Libraries
• Summary
4/22
5. Actions
Actions
• Providing Action Classes
Always Enabled Actions
Callable System Actions
Callback System Actions
Cookie Action
General Context-Sensitive Action Classes
• Registering Actions
• Shortcuts and Mnemonics
Summary
5/22
6. User Interface Design(1/2)
UI Design
• Menu Bar
Creating and Adding Menus and Menu Entries
Inserting Separators
Hiding Existing Menu Entries
Creating a Custom Menu Bar
• ToolBars
Creating Toolbars & Configuring Toolbars
Modification by the user
Creating Custom Toolbars
Using Custom Control Elements
6/22
7. User Interface Design(2/2)
UI Design
• Window System
Introduction, Configuration, Customization
Window:TopComponent, Docking Container: Mode
Groups of Windows: TopComponentGroup
• Status Bar
Using the Status Bar, Extending the Status Bar
• Progress Bar
Displaying the Progress of a Task
Displaying the Progress of Many Related Tasks
Integrating a Progress Bar into Your Component
7/22
8. Lookup
Lookup
• Functionality & Service and Extension Points
• Global Services
Defining the Service Interface & Loose Service Provisioning
Providing Multiple Service Implementations
Ensuring Service Availability
• Registering Service Providers
Service Provider Configuration File
Service Folder
• Intermodule Communication
• Java Service Loader
8/22
9. File Access and Display
File Access And Display
• File System API
• Data System API
Data Object, Data Object Factory, Data Loader
• Nodes API
Node Container
Implementing Nodes and Children
• Explorer & Property Sheet API
9/22
10. Graphical Components
Graphical Components
• Dialog API
Standard Dialogs
Custom Dialogs
Wizards
• MultiViews API
• Visual Library API
Structure of the Visual Library API, The Widget Classes
Events and Actions, the Scene: The Root Element
ObjectScene:Model-View Relationship
Graph, VMD: Visual Mobile Designer
10/22
11. Reusable Netbeans Platform componets
Reusable NetBeans Platform Components
• Help system
Creating and Integrating a Helpset, Adding Links to Help Topics
Context-Sensitive Help, Operating the Help System
• Output Window
• Navigator
• Properties Window
Provisioning Properties, User-Defined Properties Editor
• Options Widow
Providing an Options Panel, Settings Administration
• Palette
11/22
12. Internationalization and Localization
Internationalization and Localization
• String Literals Source Code
• String Literals in the Mainfest File
• Internationalization of Help Pages
• Internationalizing Other Resources
Graphics
Any File
Folders and Files
• Administration and Preparation of Localized Resources
12/22
13. Real-World Application Development
Real-World Application Development
• Creation
• Customization of Platform Modules
• Customizing the Launcher
• Distribution
Distribution As a ZIP Archive
Distribution via Java Web Start
Mac OS X Application
• Summary
13/22
14. Updating a NetBeans Platform Application
Updating a NetBeans Platform Application
• The Auto Updates Services
• The NBM File
• Update Centers
• Localized NBM Files
• Configuring and Installing on the Client
New Update Center
Automatically Installing Updates
14/22
15. Persistence(1/2)
Persistence
• Java DB
Integrating Java DB, Driver Registration,
Creating and Using a Database, Shutting Down a Database
Database Development with the help of the Netbeans IDE
• Hibernate
Setting Up the Hibernate Libraries
Structure of the Example Application, Configuring Hibernate
Mapping Objects to Relations, SessionFactory and Sessions
15/22
16. Persistence(2/2)
Persistence
• Java Persistence API
Hibernate and the Java Persistence API, Java Persistence
Configuration
Entity Classes, EntityManagerFactory and EntityManger, Saving and
Loading Objects
16/22
17. Web Service
Web Service
• Creating a Web Service Client
• Using a Web Service
• Summary
17/22
18. Extending the NetBeans IDE
Extending the NetBeans IDE
• Palettes
Defining and Registering Palette Entries
Creating and Registering a Palette Controller
Expanding Existing Palettes.
• Task List API
• Summary
18/22
19. From Eclipse RPC to the NetBeans Platform
From Eclipse RPC to the NetBeans Platform
• The NetBeans IDE
Standard Components
Handing Projects
• From Eclipse Plugins to NetBeans Modules
Plugin: LifeCycle and Events
Plugin Information, Images, Resource, Settings
Application LifeCycle, Views and Editors
• Summary
19/22
20. Tips and Tricks
Tips and Tricks
• Asynchronous Initialization of Graphic Components
• Undo/Redo
• Ending an Application’s Lifecycle
• WarmUp Tasks
• System Tray
• Desktop
• Logging
Logger, LogManager
Configuration
Error Reports
20/22