IDA - Eclipse Workshop II (In Danish)

1,079 views
1,032 views

Published on

Program:

Java projekter
Refakturering
Advanceret debugning
Memory leaks
Findbugs
Test coverage

Arrangement for IDA.

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,079
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
8
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • 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.
  • Also an outline of the history of Eclipse
  • IDA - Eclipse Workshop II (In Danish)

    1. 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. 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. 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. 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. 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
    6. 6. PR0017 - 2009-09-29 6 Download…  Download the two test projects from  http://rcp-company.com/ida.zip
    7. 7. PR0017 - 2009-09-29 7 Remember if you have questions… …ask them!
    8. 8. PR0017 - 2009-09-29 8 Demonstration of some relevant Eclipse RCP features
    9. 9. PR0017 - 2009-09-29 9 eclemma - Java Code Coverage for Eclipse  Update Site:  http://update.eclemma.org/
    10. 10. PR0017 - 2009-09-29 10 FindBugs - Find Bugs in Java Programs  Update Site:  http://findbugs.cs.umd.edu/eclipse-candidate
    11. 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
    12. 12. PR0017 - 2009-09-29 12 Eclipse Platform Resourc esWorkspa ceHelp Update Team Web Server Filesyste ms Apache Search Navigato r Intro Text Editors JDT CVS WTP Datatools VE BIRT Mylyn PDE Eclipse RCP Run-time/OSGi SWT JFace Workbench Preferen cesJobs ICU Comman dsRegistry CDT A Little About the General Eclipse Architecture
    13. 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
    14. 14. PR0017 - 2009-09-29 14 Eclipse Platform Resources Workspace Help Update Team WebServer Filesystems Apache Search Navigator Intro TextEditors Eclipse Architectural Components JDT CVS WTP Datatools VE BIRT Mylyn PDE Eclipse RCP Run-time/OSGi SWT JFace Workbench Preferences Jobs ICU Commands Registry CDT
    15. 15. PR0017 - 2009-09-29 15 Application Platform Comm. Logging Help Update Auth. Auditing Apache Intro Your Typical RCP Application Base Add-on Add-on Add-on Add-on DebugTools DataModel Eclipse RCP Run-time/OSGi SWT JFace Workbench Preferences Jobs ICU Commands Registry Add-on
    16. 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. 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
    18. 18. PR0017 - 2009-09-29 18 The Eclipse Ecosystem
    19. 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. 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
    21. 21. PR0017 - 2009-09-29 21 Q&A
    22. 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. 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.

    ×