20120315 netbeansplatform overview

Post on 13-Jun-2015

260 Views

Category:

Education

2 Downloads

Preview:

Click to see full reader

DESCRIPTION

Overview of Netbeans Platform

TRANSCRIPT

1/22

NetBeans Platform NetBeans Platform

2012. 3.

kimjw@kirbb.re.kr

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

17/22

Web ServiceWeb Service

Web Service• Creating a Web Service Client

• Using a Web Service

• Summary

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

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

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

21/22

ExampleExample

Example

22/22

Q & AQ & A

top related