
Mastering Netbeans
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
- Test, debug, and run production code using the NetBeans IDE
- Use external services such as PaaS environments and web services
- Create desktop applications using Swing tools
- Manage and configure relational databases
- Build a Java business model and web tiers using Java EE and Spring technologies
- Explore web services both with XML and RESTful approaches
- Handle external services such as databases, Maven repositories, and cloud providers
- Extend NetBeans for those situations where you require more from your IDE
Who this book is forIf you are a competent developer who wants to fast-track your application development with NetBeans IDE, then this book is for you. Reasonable knowledge and an understanding of Java programming and NetBeans IDE is assumed.
All prices
More details
Other editions
Additional editions

Content
- Cover
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Table of Contents
- Preface
- Chapter 1: Getting Started with NetBeans
- Choosing a download bundle of NetBeans
- Downloading and installing NetBeans
- Installing other versions of NetBeans
- NetBeans user directory
- Updating NetBeans to the latest version
- Obtaining NetBeans source code
- Downloading a zipped archive of the NetBeans source code
- Cloning the NetBeans source code from Mercurial
- Cloning specific versions of NetBeans
- Cloning the NetBeans source code from within NetBeans
- Browsing the NetBeans source code online
- Building NetBeans
- Building NetBeans via the command line
- Building NetBeans from within NetBeans
- NetBeans configuration
- User and cache directories
- NetBeans default options
- NetBeans JDK
- Additional module clusters
- Further options
- Summary
- Chapter 2: Editing Files and Projects
- The NetBeans screen layout
- The explorer style windows
- The Favorites window
- The Navigator window
- The source code editor window
- The History view
- The Palette window
- The Properties window
- The Output window
- Window management
- Specifying default templates for files
- Code templates and code snippets
- Inserting code using code templates
- Code snippets - the NetBeans Palette window
- Deleting palette items - the Palette Manager
- Editing palette items
- Macro recording and playback
- Assigning shortcuts for macro playback
- Recording new macros
- Splitting windows
- Code folds
- Project groups
- Summary
- Chapter 3: The NetBeans Developer's Life Cycle
- Running applications
- Debugging applications
- Breakpoints
- The Variables debug window
- The Watches window
- Evaluating expressions
- The Call Stack window
- The Loaded Classes window
- The Sessions window
- The Threads window
- The Sources window
- The Debugging window
- Deadlock detection
- Analyze Stack Window
- Variable formatters
- Debugging remote applications
- Profiling applications
- Application monitoring
- Performance monitoring
- Memory monitoring
- Testing applications
- Code coverage
- Performing TDD within NetBeans
- Summary
- Chapter 4: Managing Services
- Databases
- Connecting to Java DB
- Connecting to MySQL
- Connecting to other databases via JDBC
- Managing databases
- Web Services
- Application Servers
- Maven Repositories
- Cloud Services
- Hudson Builders
- Task Repositories
- Summary
- Chapter 5: Database Persistence
- Java EE Persistence
- JPA entities
- Creating blank entity classes
- Editing the persistence.xml file
- Creating entity classes from databases
- Creating JPA controllers for entities
- Creating database scripts from entity classes
- Summary
- Chapter 6: Desktop Development
- Java Swing applications
- Creating Swing frames
- Designing Swing forms
- Anchoring and autoresizing components
- Defining properties and events
- Editing properties
- Editing bindings
- Editing events
- Editing code
- Creating connections
- JavaFX applications
- JavaFX Scene Builder
- Summary
- Chapter 7: Creating the Business Layer
- Creating enterprise projects
- Creating a NetBeans multi-module project
- A Maven multi-module project
- Creating a Maven multi-module project
- Creating EJBs
- Creating a session bean façade for entity classes
- The Java Bean Validation framework
- Creating a Bean Validation constraint
- Contexts and Dependency Injection
- Adding CDI support
- CDI injection points editor support
- Summary
- Chapter 8: Creating the Web Tier
- Creating web projects
- Configuring application servers
- Creating a web application
- Creating a NetBeans web application
- Creating a Maven web application
- The web project's Run options
- Adding components to a web application
- Creating Spring web applications
- Changing the version of Spring used
- Spring application development shortcuts
- Modern Spring development
- Enhancing Spring Boot support
- CSS preprocessors
- Configuring Less and SASS in NetBeans
- Configuring Less and Sass on a project basis
- Creating CSS rules
- Adding JavaScript to a web application
- Checking JavaScript files
- Summary
- Chapter 9: Creating and Consuming Web Services
- Creating web services
- Creating a SOAP web service
- Creating a SOAP web service from scratch
- Creating a SOAP web service from WSDL
- Managing SOAP-based web services
- Testing web services
- Message handlers
- Managing web services graphically
- Consuming SOAP web services
- Creating RESTful web services
- The Simple Root Resource option
- The Container-Item option
- The Client-Controlled Container-Item option
- Summary
- Chapter 10: Extending NetBeans
- Creating NetBeans plugins
- NetBeans rich client platform applications
- Creating a NetBeans RCP application
- Branding the application
- Application properties
- Creating platform application components
- Creating a NetBeans window
- Summary
- Index
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.
File format: ePUB
Copy protection: without DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Use a reader that can handle the file format ePUB, such as Adobe Digital Editions or FBReader – both free (see eBook Help).
- Tablet/Smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePUB works well for novels and non-fiction books – i.e., 'flowing' text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook does not use copy protection or Digital Rights Management
For more information, see our eBook Help page.