๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Eclipse in Action: A Guide for the Java Developer

โœ Scribed by David Gallardo, Ed Burnette, Robert McGovern


Publisher
Manning Publications
Year
2003
Tongue
English
Leaves
402
Edition
7th
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


I was kind of expected this book to give lots of detailed information about configuring and using Eclipse. Most of the first seven chapters were useful -- if you were new to using Eclipse as an IDE. However, if you have a few years of Eclipse behind you these chapters are very introduction type.

If you have some time with Eclipse and where looking for a detailed index of all the things that you can set and the best ways to do them then you will be disappointed.

If, like I was, you were buying this and thinking about a companion book on writing plug-ins, you just saved some time. The last two chapters are about extending Eclipse with plug-ins. Both of these chapters take you to the deep end of the pool very quickly but do provide examples. These two chapters show a basic example of a plug-in and a very complex one.

The chapters where they explained SWT (during the general Eclipse information) were very useful. These chapters got my thought process going about how to write different GUI programs and being able to stay away from AWT and SWING.

The chapters on SWT and plug-ins where worth the price. I just wish that there was more expert information about the IDE.

โœฆ Table of Contents


Cover......Page 2
Contents......Page 7
foreword......Page 13
preface......Page 16
acknowledgments......Page 18
about this book......Page 20
about the title......Page 24
about the cover illustration......Page 25
PART 1 USING ECLIPSE......Page 27
1 Overview......Page 28
1.1 Where Eclipse came from......Page 29
The Eclipse organization......Page 30
Open source software......Page 31
1.2 What is Eclipse?......Page 32
The Eclipse architecture......Page 33
Language and platform neutrality......Page 35
1.4 Summary......Page 36
2 Getting started with the Eclipse Workbench......Page 38
2.1 Obtaining Eclipse......Page 39
Projects and folders......Page 40
The Eclipse Workbench......Page 41
Creating a Java project......Page 45
Creating a Java class......Page 47
Running the Java program......Page 50
Debugging the Java program......Page 52
Java scrapbook pages......Page 55
2.4 Preferences and other settings......Page 56
Javadoc comments......Page 57
Code generation templates......Page 58
Classpaths and classpath variables......Page 60
Exporting and importing preferences......Page 61
2.5 Summary......Page 62
3 The Java development cycle: test, code, repeat......Page 64
3.1 Java development tools methodology......Page 65
A sample application and working sets......Page 66
3.2 The JUnit unit testing framework......Page 68
Method stubs and unit tests......Page 69
Creating test cases......Page 74
How much testing is enough?......Page 79
Implementing the public methods......Page 83
3.3 Further adventures in debugging......Page 87
Setting breakpoint properties......Page 89
Finding and fixing a bug......Page 91
3.4 Logging with log4j......Page 93
Loggers, appenders, and pattern layouts......Page 94
Configuring log4j......Page 98
Using log4j with Eclipse......Page 100
3.5 Summary......Page 102
4 Working with source code in Eclipse......Page 104
4.1 Importing an external project......Page 105
4.2 Extending the persistence component......Page 108
Creating the unit test class......Page 109
Working with the astronomy classes......Page 110
The Star test case......Page 113
Creating a test suite......Page 114
Implementing the ObjectManager class......Page 115
4.3 Refactoring......Page 120
Renaming a class......Page 121
Extracting an interface......Page 124
Future refactoring......Page 126
4.4 Summary......Page 127
5 Building with Ant......Page 128
5.1 The need for an official build process......Page 129
Creating the build directory structure......Page 130
5.2 Make: A retrospective......Page 134
5.3 The new Java standard: Ant......Page 137
A very brief introduction to XML......Page 138
A simple Ant example......Page 140
Projects......Page 143
Tasks......Page 144
Properties......Page 151
File sets and path structures......Page 153
5.4 A sample Ant build......Page 156
Creating the build file, build xml......Page 157
Performing a build......Page 161
Debugging the build......Page 163
5.5 Summary......Page 165
6 Source control with CVS......Page 167
6.1 The need for source control......Page 168
Sharing a project with CVS......Page 170
Working with CVS......Page 177
Versions and branches......Page 194
6.3 Summary......Page 198
7 Web development tools......Page 200
The web, HTML, servlets, and JSP......Page 201
JSP overview......Page 202
7.2 Tomcat and the Sysdeo Tomcat plug-in......Page 204
Installing and testing Tomcat......Page 205
Installing and setting up the Sysdeo Tomcat plug-in......Page 206
Creating and testing a JSP using Eclipse......Page 208
Creating and testing a servlet in Eclipse......Page 210
Placing a Tomcat project under CVS control......Page 213
The web application directory structure......Page 214
Web application design and testing......Page 215
Programming with servlets and JSPs......Page 220
7.4 Wrapping up the sample application......Page 233
7.5 Summary......Page 238
PART 2 EXTENDING ECLIPSE......Page 240
8 Introduction to Eclipse plug-ins......Page 241
Anatomy of a plug-in......Page 242
The plug-in lifecycle......Page 243
Creating a simple plug-in by hand......Page 244
8.2 The Plug-in Development Environment (PDE)......Page 245
Importing the SDK plug-ins......Page 246
Using the Plug-in Project Wizard......Page 248
8.3 The "Hello, World" plug-in example......Page 250
The Plug-in Manifest Editor......Page 252
The Run-time Workbench......Page 253
Plug-in class (AbstractUIPlugin)......Page 255
Actions, menus, and toolbars (IWorkbenchWindowActionDelegate)......Page 259
Plug-ins and classpaths......Page 263
8.4 The log4j library plug-in example......Page 264
Including the source zip in the plug-in package......Page 266
8.5 Deploying a plug-in......Page 268
8.6 Summary......Page 269
9 Working with plug-ins in Eclipse......Page 270
9.1 The log4j integration plug-in example......Page 271
Project overview......Page 273
Preparing the project......Page 274
9.2 Editors (TextEditor)......Page 275
Defining the editor extension......Page 276
Adding an icon......Page 280
Adding color......Page 282
Token manager......Page 289
Content assist (IContentAssistProcessor)......Page 292
Putting it all together......Page 296
9.3 Views (ViewPart)......Page 300
Adding the view......Page 301
Modifying perspective defaults......Page 302
View class......Page 303
Table framework......Page 310
Label providers (LabelProvider)......Page 317
Models......Page 319
Receiver thread......Page 321
9.4 Preferences (FieldEditorPreferencePage)......Page 322
Main preference page......Page 323
Editor preference page......Page 324
9.5 Plugin class......Page 325
9.6 Summary......Page 326
A Java perspective menu reference......Page 328
B CVS installation procedures......Page 344
B.1 Installing CVS on UNIX and Linux......Page 345
Creating the CVS repository......Page 346
Setting up SSH remote access......Page 347
Setting up pserver remote access......Page 348
B.2 Installing CVS on Mac OS X......Page 349
B.3 Installing CVSNT on Windows......Page 350
B.4 Installing Cygwin CVS and SSH on Windows......Page 351
B.6 Backing up the CVS repository......Page 353
C Plug-in extension points......Page 354
D Introduction to SWT......Page 363
D.1 What is the Standard Widget Toolkit?......Page 364
D.2 SWT architecture......Page 365
Resource disposal......Page 366
D.3 SWT and events......Page 367
D.4 SWT and threads......Page 368
D.5 Building and running SWT programs......Page 370
The BasicFramework class......Page 373
The MainApp class......Page 376
Trying the example......Page 379
E Introduction to JFace......Page 380
E.1 Architecture......Page 381
E.2 Building a JFace application......Page 382
JFaceExample class......Page 383
ExitAction class......Page 385
index......Page 387
Team DDU......Page 1


๐Ÿ“œ SIMILAR VOLUMES


Eclipse in Action: A Guide for the Java
โœ David Gallardo, Ed Burnette, Robert McGovern ๐Ÿ“‚ Library ๐Ÿ“… 2003 ๐Ÿ› Manning Publications ๐ŸŒ English

This book is a fast-paced but thorough guide to the effective use of Eclipse's features and plugins for real-world Java development. Interesting examples demonstrate how to use Eclipse to build, test, and debug applications using the tools provided by Eclipse as well as third-party plugins. Learn ho

Professional Eclipse 3 for Java Develope
โœ Berthold Daum ๐Ÿ“‚ Library ๐Ÿ“… 2004 ๐Ÿ› Wrox ๐ŸŒ English

Step-by-step guide that introduces novices to using all major features of Eclipse 3Eclipse is an open source extensible integrated development environment (IDE) that helps Java programmers build best-of-breed integrated tools covering the whole software lifecycle-from conceptual modeling to deployme

Professional Eclipse 3 for Java Develope
โœ Berthold Daum ๐Ÿ“‚ Library ๐Ÿ“… 2004 ๐Ÿ› Wrox ๐ŸŒ English

<ul><li>Step-by-step guide that introduces novices to using all major features of Eclipse 3<li>Eclipse is an open source extensible integrated development environment (IDE) that helps Java programmers build best-of-breed integrated tools covering the whole software lifecycle-from conceptual modeling