Pro Netbeans IDE 6 Rich Client Platform Edition

von: Adam Myatt

Apress, 2008

ISBN: 9781430204398 , 491 Seiten

Format: PDF, OL

Kopierschutz: Wasserzeichen

Windows PC,Mac OSX geeignet für alle DRM-fähigen eReader Apple iPad, Android Tablet PC's Online-Lesen für: Windows PC,Mac OSX,Linux

Preis: 46,00 EUR

Mehr zum Inhalt

Pro Netbeans IDE 6 Rich Client Platform Edition


 

Contents at a Glance

5

Contents

6

About the Author

16

About the Technical Reviewer

17

Acknowledgments

18

Preface

19

Downloading, Installing, and Customizing NetBeans

24

Downloading Files

24

Installing the NetBeans IDE

25

Customizing the NetBeans JVM Startup Options

28

Managing Plugins and Updates

28

Setting a Proxy

33

Customizing the IDE

34

Navigating and Understanding the IDE Layout

44

Summary

47

The Source Editor

48

Working in the Projects Window

48

Working in the Files Window

50

Arranging and Navigating

50

Working in the Source Editor

53

Source Editor Menus

62

Source Editor Shortcuts

69

Supporting Features and Tools

70

Summary

75

Code Completion and Templates

76

Code Completion

76

Using Code Completion

80

Code Templates

85

File Templates

90

Summary

94

Debugging

95

What Is IDE Debugging?

96

Project- Level Debugging Settings

96

Breakpoints

98

Debugging Java Code

108

Stepping Through Code

110

Debugging with Watches

119

Local Variables Window

121

Summary

123

Profiling

124

Configuring Profiler Properties

124

Profiler Calibration

126

Profiling Java Applications

127

Understanding the Profiler Telemetry

155

Profiling External and Remote Applications

158

Summary

162

Managing Version Control

163

Using CVS

163

Using Subversion

179

Using Local History

182

Summary

187

Generating and Accessing Javadoc

188

Elements of Javadoc

188

Creating Javadoc in NetBeans

192

Accessing Javadoc

197

Summary

201

Managing Builds with Ant and Maven

202

Ant Tasks and Targets

202

Configuring Ant Properties in NetBeans

206

NetBeans Project Build Files

207

Working with Targets

212

Introduction to Maven

216

Working with Maven Projects

216

Summary

221

JUnit Testing

222

Creating a JUnit Test Case

222

Running JUnit Tests

230

Configuring JUnit Properties in NetBeans

234

Summary

235

Refactoring

236

NetBeans Refactoring Options

236

Move Class Refactoring

238

Rename Refactoring

239

Safe Delete Refactoring

239

Use Supertype Where Possible Refactoring

241

Move Inner to Outer Level Refactoring

241

Encapsulate Fields Refactoring

243

Pull Up Refactoring

247

Push Down Refactoring

248

Convert Anonymous to Inner Refactoring

250

Introduce Method Refactoring

253

Extract Interface Refactoring

254

Extract Superclass Refactoring

255

Change Method Parameters Refactoring

257

Refactoring Keyboard Shortcuts

258

Summary

259

Code-Quality Tools

260

Working with Checkstyle

260

Working with PMD

273

Working with SQE

282

Summary

286

Developing JRuby/Ruby on Rails Applications

287

Installing Ruby Support

287

Configuring Your Environment

288

Creating a Ruby Application Project

290

Creating a Ruby on Rails Project

291

Adding Files to the Project

294

The Ruby Editor

298

Running Rake Tasks

302

Customizing the Ruby Project

303

The Ruby Gem Manager

304

Managing Rails Plugins

306

Testing Your Ruby Project

307

Debugging Your Project

309

IRB and the Rails Console

310

JRuby

310

Putting It All Together

313

Summary

315

Developing Web Applications

317

Create a Web Application Project

317

Navigating the Web Application Project

320

JavaScript and CSS File Support

321

Building a Web Application

326

Running a Web Application

328

Defining Java Application Servers

329

HTTP Monitoring

335

Working with Web Application Frameworks

339

Summary

375

Developing Web Services: JAX- WS, SOA, BPEL, and RESTful

377

Installing the Web Services Modules

377

Creating Web Services

378

Working with SOA and BPEL

395

Creating a Composite Application

412

Creating RESTful Web Services

415

Summary

420

Developing GUI Applications

421

Creating a Simple GUI Application

421

Using the Swing Application Framework

438

Using Beans Binding

448

Summary

461

Developing Rich Client Applications

462

Features Provided by the NetBeans Platform

463

Getting Started

464

Terminology

464

NetBeans Platform SDK

465

Meeting the APIs Outside of the Platform

473

Assembling a NetBeans Platform Application

480

Further Reading

488

Summary of the Main NetBeans APIs

488

Summary

490

Index

491