20120315 netbeansplatform overview

22
1/22 NetBeans Platform 2012. 3. [email protected]

Upload: pluskjw

Post on 13-Jun-2015

260 views

Category:

Education


2 download

DESCRIPTION

Overview of Netbeans Platform

TRANSCRIPT

Page 1: 20120315 netbeansplatform overview

1/22

NetBeans Platform NetBeans Platform

2012. 3.

[email protected]

Page 2: 20120315 netbeansplatform overview

2/22

IntroductionIntroduction

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

Page 3: 20120315 netbeansplatform overview

3/22

Structure of the NetBeans PlatformStructure 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

Page 4: 20120315 netbeansplatform overview

4/22

The Module SystemThe Module System

The Module System• Module Structure

• Module Types

• Module Mainfest

• Module Layer

• Creating Modules

• Versioning and Dependencies

• LifeCycle

• Module registry

• Using Libraries

• Summary

Page 5: 20120315 netbeansplatform overview

5/22

ActionsActions

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

Page 6: 20120315 netbeansplatform overview

6/22

User Interface Design(1/2)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

Page 7: 20120315 netbeansplatform overview

7/22

User Interface Design(2/2)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

Page 8: 20120315 netbeansplatform overview

8/22

LookupLookup

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

Page 9: 20120315 netbeansplatform overview

9/22

File Access and DisplayFile 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

Page 10: 20120315 netbeansplatform overview

10/22

Graphical ComponentsGraphical 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

Page 11: 20120315 netbeansplatform overview

11/22

Reusable Netbeans Platform componetsReusable 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

Page 12: 20120315 netbeansplatform overview

12/22

Internationalization and LocalizationInternationalization 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

Page 13: 20120315 netbeansplatform overview

13/22

Real-World Application DevelopmentReal-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

Page 14: 20120315 netbeansplatform overview

14/22

Updating a NetBeans Platform ApplicationUpdating 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

Page 15: 20120315 netbeansplatform overview

15/22

Persistence(1/2)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

Page 16: 20120315 netbeansplatform overview

16/22

Persistence(2/2)Persistence(2/2)

Persistence• Java Persistence API

Hibernate and the Java Persistence API, Java Persistence Con-

figuration

Entity Classes, EntityManagerFactory and EntityManger, Sav-

ing and Loading Objects

Page 17: 20120315 netbeansplatform overview

17/22

Web ServiceWeb Service

Web Service• Creating a Web Service Client

• Using a Web Service

• Summary

Page 18: 20120315 netbeansplatform overview

18/22

Extending the NetBeans IDEExtending 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

Page 19: 20120315 netbeansplatform overview

19/22

From Eclipse RPC to the NetBeans PlatformFrom 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

Page 20: 20120315 netbeansplatform overview

20/22

Tips and TricksTips 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

Page 21: 20120315 netbeansplatform overview

21/22

ExampleExample

Example

Page 22: 20120315 netbeansplatform overview

22/22

Q & AQ & A