Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Eclipse Educational Screencam Planning

Usage notes:

  • We'll use this page for brainstorming.
  • Once we get to a point where a video is realistically going to be recorded, we'll move the notes to their own page and hammer out a proper script.
  • Scripts should not be considered complete; as a general rule, they are intended as guidelines.
    • Every word spoken, typed, etc. need not be (in general) scripted.

Road map

  • I have no idea what Eclipse is...
    • Eclipse Newcomers FAQ
  • I am new to Java have heard about Eclipse...
    • Eclipse Newcomers FAQ
  • I have some experience with Java and want to learn how to use Eclipse for Java development...
    • Downloading Eclipse RCP (Link to Eclipse SDK download page)
    • Video Tutorial: Absolute Beginners Series
  • I am an expert with Java and want to learn how Eclipse can make my job easier...
    • Downloading Eclipse RCP (same link as above)
    • Video Tutorial: Introduction to Eclipse for Professional Java Developers
  • I want to learn how to build applications using Eclipse Rich Client Platform (RCP)
    • Downloading Eclipse RCP (same link as above)
    • Video Tutorial: Absolute Beginners Series
  • I want to learn about Eclipse projects...
    • Eclipse Projects and Products FAQ

Eclipse And Java For Total Beginners Video Tutorial

mbd: Wayne, as of June 20, I've finished the videos for lessons 1 - 6. I am continuing work on the other lessons. I would very much like to send the videos to you and get your feedback. I tried e-mail and it was rejected (9MB was too big). What is the best way to do this? I've also reworked this outline to match my draft of the tutorial companion document, which I e-mailed to you.

Target Audience

  • People who are new to Eclipse and to Java.
  • Prior programming experience not required.

Objectives

  • Demonstrate the basics of using Eclipse for writing Java program.
  • Demonstrate how to use Eclipse for agile software development.
  • Demonstrate how to use existing Java learning resources (tutorials, examples, books) within Eclipse
  • Create a foundation for continuing to learn Java and Eclipse

Why use Eclipse to learn Java?

  • Eclipse provides a number of aids that make writing Java code much quicker and easier than using a text editor. This means that you can spend more time learning Java, and less time typing and looking up documentation.
  • The Eclipse debugger and scrapbook allow you to look inside the execution of the Java code. This allows you to “see” objects and to understand how Java is working behind the scenes.
  • Eclipse provides full support for agile software development practices such as test-driven development and refactoring. This allows you to learn these practices as you learn Java.
  • If you plan to do software development in Java, you’ll need to learn Eclipse or some other IDE. So learning Eclipse from the start will save you time and effort.

Topics Covered

  • Basics of Eclipse for Java development
  • Basics of Java and object-oriented programming (OOP)
  • Test-driven development (TDD) and unit testing in Eclipse
  • Introduction to Swing graphical user interface (GUI)
  • Introduction to Eclipse Standard Widget Toolkit (SWT) GUI

Tutorial Approach

  • Write a small sample Java application to track your personal lending library.
  • Write a set of test programs to make sure the library program is working correctly.
  • Introduce the Java Swing GUI and teach how to use the Sun example programs.
  • Introduce the Eclipse SWT GUI and teach how to use the Eclipse example programs.

Getting The Most From This Tutorial

  • Have Eclipse installed and ready to go.
  • Work side-by-side with the lessons, pausing and rewinding as needed.
  • Use this guide as needed.
  • Consult other resources as needed to understand the topics covered in greater depth.
  • Keep a positive attitude!

Downloading And Installing Eclipse

  • (need latest Europa instructions here)

Lesson Outlines

Lesson 1 -- Create Your First Java Class

  • Create Java project in Eclipse
  • Create Java package
  • Introduce classes and objects, naming conventions
  • Write a simple Java class (Person)

Lesson 2 -- Add Methods To Class

  • Introduce Eclipse Views and Perspectives
  • Introduce Eclipse user interface – drag / drop, context menus, help
  • Add get and set methods to Person class

Lesson 3 -- Use The Eclipse Scrapbook

  • Introduce Eclipse Scrapbook
  • Introduce Java expressions, statements
  • Discuss Java packages
  • Create Person object in Scrapbook

Lesson 4 -- JUnit Testing in Eclipse, Part 1

  • Create test source folder
  • Create PersonTest class
  • Run first JUnit test

Lesson 5 -- JUnit Testing Continued

  • Create test methods for construtor, getName(), and getMaximumBooks() methods

Lesson 6 -- Using Test-First Development in Eclipse

  • Use test-first approach to test and write toString() method

mbd: lessons 7 on are underway. I'm limiting each video to about 12 minutes in length, so it's taking more separate lessons to get the topics covered. I'll update which topics are in each lesson as I work through the lessons. Lessons 7 - ??

  • Discuss project design – personal library to track books and who we’ve lent them to
  • Create Book class – references Person
  • How can we hold books, etc. in a collection?
  • Refactoring – rename Person to Reader
  • Use JUnit tests to make sure we didn’t break anything
  • MyLibrary object to hold Person & Entry objects
  • Introduce ArrayList and loops
  • Persistence using Java serialization
  • Code persistence – helper utility class – static methods
  • JUnit test – overall test with persistence
  • Introduce main method
  • Write a driver program
  • Export to JAR file and run from Windows
  • Introduce Swing GUI
  • Run Swing example programs in Eclipse
  • Introduce SWT / JFace GUI
  • Run SWT / JFace example programs in Eclipse

Platform Overview

This video takes the user through all the things that Eclipse is.

  • Can possibly base it on Wayne's presentation (need reference)

Basic structure:

  • Start by presenting Eclipse as a generic platform for building IDEs
    • Show Java Development Tools
    • Show C/C++ Development Tools
    • Show PHP Development Tools
  • Then, present Eclipse as a generic platform for building Tools
    • BIRT
    • Data Tools
    • Web Tools
  • Then generalize Eclipse as a Rich Client Platform
    • NASA Maestro
    • UDig
    • Dutch Railways
    • etc.
  • Discuss Eclipse as a Community
  • Present the Eclipse EcoSystem

Rich Client Platform Overview

  • Maybe base it on Wayne and Jeff's presentation (here).

Task-Oriented Training Videos

Back to the top