Pro Netbeans IDE 6 Rich Client Platform Edition (eBook)
XXVIII, 491 Seiten
Apress (Verlag)
978-1-4302-0439-8 (ISBN)
This book will enable you to rapidly develop Java front ends of applications using API buttons, functions, and features mostly based in the Java SE 6 platform. It covers working with rich client platform features available in NetBeans for building web-based application front ends. The book also shows you the web-tier development plug-ins available including JSF, Struts Action Framework 2.0, and JRuby for bringing the Ruby on Rails feature set to Java via NetBeans.
Adam Myatt currently works as a project leader and systems analyst for GE Global Research, the worldwide research and development headquarters of General Electric located in Niskayuna, New York. Adam is an experienced Java developer holding the Sun Microsystems Certified Java Programmer certification. His work entails leading globally developed Java software and web applications through a rigorous software development lifecycle process. He is an active participant in a local Java users group and is an avid enthusiast of open source software. He has also worked for several area software firms prior to joining General Electric. Adam is a graduate of the computer science department at the State University of New York College at Potsdam.
Pro NetBeans IDE 6 Rich Client Platform Edition is the second Apress book to cover the agile, open source NetBeans IDE platform. The book focuses on the new features of NetBeans 6 as well as what has changed since NetBeans 5.5, empowering you to be a more effective and productive developer. Enables you to click and use any of the Java Swing and other desktop Java graphical user interface (GUI) APIs available in Java SE 6 or prior Covers working with rich client platform features available in NetBeans for building web based application front ends Shows you the web tier development plug-ins available including JSF, Struts Action Framework 2.0, and JRuby for bringing the Ruby on Rails feature set to Java via NetBeans For building back end, server side Java applications, pick up Pro NetBeans IDE 5.5 Enterprise Edition, which is based on APIs found in the Java EE 5.
Adam Myatt currently works as a project leader and systems analyst for GE Global Research, the worldwide research and development headquarters of General Electric located in Niskayuna, New York. Adam is an experienced Java developer holding the Sun Microsystems Certified Java Programmer certification. His work entails leading globally developed Java software and web applications through a rigorous software development lifecycle process. He is an active participant in a local Java users group and is an avid enthusiast of open source software. He has also worked for several area software firms prior to joining General Electric. Adam is a graduate of the computer science department at the State University of New York College at Potsdam.
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
Erscheint lt. Verlag | 28.3.2008 |
---|---|
Zusatzinfo | XXVIII, 491 p. |
Verlagsort | Berkeley |
Sprache | englisch |
Themenwelt | Informatik ► Programmiersprachen / -werkzeuge ► Java |
Mathematik / Informatik ► Informatik ► Software Entwicklung | |
Schlagworte | Debugging • Framework • Java EE • JRuby • Rest • Ruby On Rails • Web Services |
ISBN-10 | 1-4302-0439-7 / 1430204397 |
ISBN-13 | 978-1-4302-0439-8 / 9781430204398 |
Haben Sie eine Frage zum Produkt? |
Größe: 11,7 MB
DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasserzeichen und ist damit für Sie personalisiert. Bei einer missbräuchlichen Weitergabe des eBooks an Dritte ist eine Rückverfolgung an die Quelle möglich.
Dateiformat: PDF (Portable Document Format)
Mit einem festen Seitenlayout eignet sich die PDF besonders für Fachbücher mit Spalten, Tabellen und Abbildungen. Eine PDF kann auf fast allen Geräten angezeigt werden, ist aber für kleine Displays (Smartphone, eReader) nur eingeschränkt geeignet.
Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.
Zusätzliches Feature: Online Lesen
Dieses eBook können Sie zusätzlich zum Download auch online im Webbrowser lesen.
Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.
aus dem Bereich