9548086042 for call girls in Indira Nagar with room service
IDA - Eclipse Workshop II (In Danish)
1. 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.
2. 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
3. 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.”
4. 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
5. 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
11. 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
13. 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
16. 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
17. 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
19. 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, …
20. 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
22. 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/
23. 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.
Hinweis der Redaktion
What are the main drivers for the Eclipse architecture?
Eclipse products are built in layers.
At the bottom there are Eclipse RCP with the bare necessities. The RCP subsystems typically add visible features to the platform and provide APIs for extending their functionality. Some of these components supply additional class libraries that do not directly relate to an extension point, but can be used to implement extensions. For example, the workbench UI supplies the JFace UI framework and the SWT widget toolkit.
The platform layer adds the generic features needed for an Integrated Development Environment (IDE).
The different language support sits on top of the platform. The basic IDE features (known under the misleading name Eclipse SDK) includes two major tools that are useful for plug-in development. The Java development tooling (JDT) implements a full featured Java development environment. The Plug-in Developer Environment (PDE) adds specialized tools that streamline the development of plug-ins and extensions.
Likewise for the many features of Calisto, Europa and now Ganymede. They are also layered to provide a set of basic features that are used by other features to provide better and more specialized tools.
The Resources, Workspace and Update components shown above is not really part of the very basic RCP component set. They are used very often in RCP applications.
Using Eclipse RCP in an application is typically done the very same way as when used in Eclipse IDE.
At the bottom there are Eclipse RCP with the bare necessities.
The platform layer adds the generic features needed for any application in the specific environment.
The application itself is then placed at the top.
The terms listed above are central to an Eclipse system and it is rather important to understand them in order to implement a big Eclipse application.