+ All Categories
Home > Education > IDA - Eclipse Workshop II (In Danish)

IDA - Eclipse Workshop II (In Danish)

Date post: 11-Nov-2014
Category:
Upload: tonny-madsen
View: 1,248 times
Download: 3 times
Share this document with a friend
Description:
Program: Java projekter Refakturering Advanceret debugning Memory leaks Findbugs Test coverage Arrangement for IDA.
Popular Tags:
23
PR0017 - 2009-09-29 Redistribution and other use of this material requires written permission from The RCP Company. Eclipse Workshop II Program: •Java projekter •Refakturering •Advanceret debugning •Memory leaks •Findbugs •Test coverage Arrangement for IDA.
Transcript
Page 1: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

Redistribution and other use of this material requires written permission from The RCP Company.

Eclipse Workshop II

Program:

•Java projekter•Refakturering•Advanceret debugning•Memory leaks •Findbugs •Test coverage

Arrangement for IDA.

Page 2: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

2

IDA Workshop II

Do you have the following installed

Eclipse 3.5.1 Java 5 or 6 SDK

Otherwise tell me, and I’ll help you..

While we wait, download the two test projects from

http://rcp-company.com/ida.zip

Page 3: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

3

The Arrangement

“Det er en forudsætning at alle medbringer laptop, netbook el.lign, der som minimum har installeret Eclipse 3.5.X

Ønskelig faglige forudsætninger, know-how svarende til Eclipse workshop I

Program:

- Java projekter - Refakturering - Advanceret debugning - Memory leaks - Findbugs - Test coverage

Workshoppen ledes af Tonny Madsen, Formand/Chairman for Eclipse.dk, Direktør/CEO RCP Kompagniet ApS

Der serveres et let traktement i starten af workshoppen.”

Page 4: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

4

The Timing

Now: Refreshments

13:30: Introduction, The Test Program, Lots of Refactoring

15:00: A Short Break

15:15: FindBugs, eclEmma, MyLyn, …

16:45: A Short Break

17:00: Extending the Eclipse IDE with your own Plug-in

18:00: Finish – Time to Go Home

Page 5: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

5

About Me

Tonny Madsen, Founder and Owner of The RCP Company

20 years of experience in system development in major companies

Regnecentralen (now ICL) Digital (now HP) Anritsu (previously NetTest)

9 years experience as the Systems Architect of an 20+ MLoC project

8 years of experience with Eclipse and Eclipse RCP

Solutions Member of the Eclipse Foundation Chairman of Eclipse.dk Extern Lecturer at IT-University on Model Driven Development

and Domain Specific Languages Regular speaker at EclipseCon, Eclipse Summit, etc

Page 6: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

6

Download…

Download the two test projects from

http://rcp-company.com/ida.zip

Page 7: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

7

Remember if you have questions…

…ask them!

Page 8: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

8

Demonstration of some relevant Eclipse RCP features

Page 9: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

9

eclemma - Java Code Coverage for Eclipse

Update Site: http://update.eclemma.org/

Page 10: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

10

FindBugs - Find Bugs in Java Programs

Update Site: http://findbugs.cs.umd.edu/eclipse-candidate

Page 11: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

11

What to Show

The Java IDE – what can you do in the editor Call Hierarchy Class Hierarchy Refactoring of class Externalize strings

Creating a small Eclipse RCP based application Mylyn

Page 12: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

12

EclipsePlatform

Res

ourc

esW

orks

pa

ceHel

pU

pdat

e

Tea

m

Web

S

erve

r

File

syst

em

s

Apa

che

Sea

rch

Nav

igat

or

Intr

oT

ext

Edi

tors

JDT

CV

S

WT

P

Da

tato

ols

VE

BIR

T

Myl

yn

PD

E

Eclipse RCP

Run-time/OSGiSWTJFace

WorkbenchP

refe

ren

ces

Jobs

ICU

Com

man

dsR

egis

try

CD

T

A Little Aboutthe General Eclipse Architecture

Page 13: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

13

Basically…

We need an architecture that supports distributed development over a large number of autonomous development groups

We need a component concept where components are loosely coupled and can be started (and stopped) independently

We need a way to describe external interfaces of components and dependencies between components

We need a way to only start the components as they are needed – also known as late activation

We need all this to work over multiple generations of components

Page 14: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

14

EclipsePlatform

Res

ourc

es

Wor

ksp

ace

Hel

p

Upd

ate

Tea

m

Web

Ser

ver

File

syst

ems

Apa

che

Sea

rch

Nav

igat

or

Intr

o

Tex

t E

dito

rs

Eclipse Architectural Components

JDT

CV

S

WT

P

Da

tato

ols

VE

BIR

T

Myl

yn

PD

E

Eclipse RCP

Run-time/OSGi

SWT

JFace

WorkbenchP

refe

renc

es

Jobs

ICU

Com

man

ds

Reg

istr

y

CD

T

Page 15: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

15

ApplicationPlatform

Com

m.

Log

ging

Hel

p

Upd

ate

Aut

h.

Aud

itin

g

Apa

che

Intr

o

Your Typical RCP Application

Ba

se

Ad

d-o

n

Ad

d-o

n

Ad

d-o

n

Ad

d-o

n

De

bu

g T

oo

ls

Da

ta M

od

el

Eclipse RCP

Run-time/OSGi

SWT

JFace

WorkbenchP

refe

renc

es

Jobs

ICU

Com

man

ds

Reg

istr

y

Ad

d-o

n

Page 16: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

16

Organizing the Platform

The software of an Eclipse system is based on the following terms: Plug-ins – a plug-in is the basic unit of software

Fragments – a fragment is an add-on to an existing plug-in with additional functionality

Features – a feature is a number of plug-ins that is distributed and updated as a whole

Applications – an application is a Java class that implements a specific interface and is declared as such in the plug-in

Products – a product is a set of features or plug-ins along with the appropriate branding

Page 17: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

17

The Short Story

1994: IBM develops VisualAge for Smalltalk – programmed in Smalltalk 1995: Java is released to a select group 1996: IBM develops VisualAge for Java – still programmed in Smalltalk November 1998: OTI (Object Technology International – part of IBM)

commissioned to develop new development platform for Java 7. November 2001: Eclipse 2.0 made Open Source 25. June 2004: Eclipse 3.0 released introducing Eclipse RCP

Framework make-over introducing OSGi

2009: Eclipse 3.5 released – known as Galileo

27. June 2010: Eclipse 3.6 will be released Also known as Helios

June 2011: Eclipse 3.7 will be released

June 2012: Eclipse 4.0 will be released

Page 18: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

18

The Eclipse Ecosystem

Page 19: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

19

The Eclipse Foundation and its Activities

A professional not-for-profit corporation that provides IT Infrastructure IP Management Development Process Ecosystem Development.

Several large conferences and vertical industry every year EclipseCon in Santa Clara, CA Eclipse Summit Europe in Germany Banking days, Insurance Days, …

Training and Services Training series twice every year – includes classes in Denmark,

Sweden, UK, Germany, …

Page 20: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

20

The Eclipse Foundation Members

14 Strategic members – IBM, SAP, Oracle, Nokia…

3 Enterprise members – Cisco, Motorola and Blackberry

86 Solution members – Google, Ericsson, Tieto, Sybase, Siemens, us…

63 Associate members – OSGi, OMG, Fujitsu, Addison Wesley…

Yearly fees used to finance the activities of the foundation

Page 21: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

21

Q&A

Page 22: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

22

If you want to know more

The foundation: http://eclipse.org

The Danish User Group: http://eclipse.dk

The training: http://www.eclipse.org/community/training/classes.php

Resources on Eclipse http://www.eclipse.org/resources/

Consolidated Blog: http://planeteclipse.org/

Page 23: IDA - Eclipse Workshop II (In Danish)

PR0017 - 2009-09-29

23

Eclipse.dk – The Danish Eclipse Society

Eclipse.dk was created in Marts 2007 as a meeting place for everyone interested in the Eclipse (www.eclipse.org) platform.

The purpose of Eclipse.dk is as follows: To promote the knowledge of Eclipse in Denmark. To create networks amongst danish Eclipse-users and developers. To build knowledge on Eclipse in Denmark, especially

In danish institutes of higher education. Between danish companies developing applications based on

Eclipse.

Create and maintain a web site on Eclipse for danish users – eclipse.dk.

Strengthen the relations between danish and international Eclipse-users and organizations.

The eclipse.dk society has members representing not only vendors of Eclipse-based products and services, but also users of the platform and representatives from institutions of higher education.


Recommended