|
Eclipse in Action A Guide for Java Developers David Gallardo, Ed Burnette and Robert McGovern 2003 | 416 pages ISBN: 1930110960 |
|||
![]() |
$44.95 | Softbound print book | |
![]() |
$22.50 | PDF ebook | |
Table of Contents
foreword xvii
preface xxi
acknowledgments xxiii
about this book xxv
about the title xxix
about the cover illustration xxx
Part 1 Using Eclipse 1
- A bit of background 5
- The Eclipse organization 5
- Open source software 6
- The Eclipse architecture 8
- Language and platform neutrality 10
- Projects and folders 15
- The Eclipse Workbench 16
- Creating a Java project 20
- Creating a Java class 22
- Running the Java program 25
- Debugging the Java program 27
- Java scrapbook pages 30
- Javadoc comments 32
- Format style 33
- Code generation templates 33
- Classpaths and classpath variables 35
- Exporting and importing preferences 36
- Testing is job 1 41
- A sample application and working sets 41
- Method stubs and unit tests 44
- Creating test cases 49
- How much testing is enough? 54
- Implementing the public methods 58
- Setting breakpoint properties 64
- Finding and fixing a bug 66
- Loggers, appenders, and pattern layouts 69
- Configuring log4j 73
- Using log4j with Eclipse 75
- Creating a factory method 84
- Creating the unit test class 84
- Working with the astronomy classes 85
- The Star test case 88
- Creating a test suite 89
- Implementing the ObjectManager class 90
- Renaming a class 96
- Extracting an interface 99
- Future refactoring 101
- Creating the build directory structure 105
- A very brief introduction to XML 113
- A simple Ant example 115
- Projects 118
- Targets 119
- Tasks 119
- Properties 126
- File sets and path structures 128
- Additional Ant capabilities 131
- Creating the build file, build.xml 132
- Performing a build 136
- Debugging the build 138
- Sharing a project with CVS 146
- Working with CVS 153
- Versions and branches 170
- The web, HTML, servlets, and JSP 178
- JSP overview 179
- Servlet overview 181
- Installing and testing Tomcat 182
- Installing and setting up the Sysdeo Tomcat plug-in 183
- Creating and testing a JSP using Eclipse 185
- Creating and testing a servlet in Eclipse 187
- Placing a Tomcat project under CVS control 190
- The web application directory structure 191
- Web application design and testing 192
- Programming with servlets and JSPs 197
- Anatomy of a plug-in 220
- The plug-in lifecycle 221
- Creating a simple plug-in by hand 222
- Preparing your Workbench 224
- Importing the SDK plug-ins 224
- Using the Plug-in Project Wizard 226
- The Plug-in Manifest Editor 230
- The Run-time Workbench 231
- Plug-in class (AbstractUIPlugin) 233
- Actions, menus, and toolbars (IWorkbenchWindowActionDelegate) 237
- Plug-ins and classpaths 241
- Attaching source 244
- Including the source zip in the plug-in package 244
- Project overview 252
- Preparing the project 253
- Preparing the editor class 255
- Defining the editor extension 255
- Adding an icon 259
- Adding color 261
- Token manager 268
- Content assist (IContentAssistProcessor) 271
- Putting it all together 275
- Adding the view 280
- Modifying perspective defaults 281
- View class 282
- Table framework 289
- Label providers (LabelProvider) 296
- Models 298
- Receiver thread 300
- Main preference page 302
- Editor preference page 303
- Creating the CVS repository 325
- Setting up SSH remote access 326
- Setting up pserver remote access 327
- Widget creation 346
- Resource disposal 346
- The BasicFramework class 353
- The MainApp class 356
- Trying the example 359
- JFaceExample class 364
- ExitAction class 366
DESCRIPTION
Covers Eclipse 2.1 Features:
|
Eclipse is a new open-source, Java-based, extensible development platform designed for nothing in particular but everything in general. Because of its roots, it is currently most popular as a Java integrated development environment (IDE). Eclipse ships with plugins for writing and debugging Java code. Additional plugins for more advanced Java development, such as JSP/servlets, are available from third parties.
This book provides a thorough guide to using Eclipse features and plugins effectively in the context of real-world Java development. Realistic examples demonstrate how to use Eclipse effectively to build, test and debug applications using the tools provided by Eclipse and other third-party open source plugins. The reader will learn how to use plugin tools for using Eclipse in a team environment, including using Ant for more sophisticated build processes and CVS for source control. Plugin-ins for building web applications, using J2EE technologies, such as JSP/Servlets and EJB, are also discussed.
Complementing this coverage of Eclipse in the context of development is a reference providing a comprehensive guide to Eclipse. Because Eclipse and its plugins provide a remarkable array of features, it is often hard to learn what features are available and how they can be invoked. This reference lays things out clearly: feature-by-feature, menu-by-menu.
What's inside:
- Getting started with the Eclipse Workbench: Perspectives, views and editors
- Working effectively with the Eclipse JDT
- Adding unit tests with
JUnit, logging withlog4j - Team development with Ant and CVS
- Plugins for J2EE including the Sysdeo Tomcat plugin
- Developing Eclipse plugins
- Comprehensive Eclipse reference
ABOUT THE AUTHORS...
David Gallardo is an independent software consultant and author specializing in software internationalization, Java web applications, and database development. He has been a professional software engineer for over fifteen years and has experience with many operating systems, programming languages, and network protocols. He is also the author of "Java Oracle Database Development." He lives in El Paso, Texas.Ed Burnette is a Principal Systems Developer at SAS, where he has worked on such diverse projects as compilers, debuggers, device drivers, performance tuning, and UNIX ports. He also helped write several commercial computer games. Currently, Ed uses Eclipse in the development of OLAP servers, mid-tier providers, and clients written in a mixture of C, Java, and C#. He lives near Research Triangle Park, North Carolina.
Robert McGovern is a software developer for an international high voltage power supply company doing embedded development. He has a degree in Artificial Intelligence and is a member of the IEEE and the ACM. His personal interest is in Java & Ruby and he has been involved in computers and programming since the days of the Sinclair ZX Spectrum. Robert lives in West Sussex, England.

