Mastering NetBeans
eBook - ePub

Mastering NetBeans

David Salter

Compartir libro
  1. 348 páginas
  2. English
  3. ePUB (apto para móviles)
  4. Disponible en iOS y Android
eBook - ePub

Mastering NetBeans

David Salter

Detalles del libro
Vista previa del libro
Índice
Citas

Información del libro

Master building complex applications with NetBeans to become more proficient programmers

About This Book

  • Customize NetBeans to fit your unique needs
  • Excel in NetBeans IDE, learning the shortcuts and hidden features to become more productive
  • A comprehensive guide to become more productive at application development using NetBeans IDE

Who This Book Is For

If 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.

What You Will Learn

  • Install NetBeans either from a distribution package or from source code
  • 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

In Detail

With the increasing complexity of software development and the abundance of tools available, learning your IDE in-depth will instantly increase your developer productivity. NetBeans is the only IDE that can be downloaded with Java itself and provides you with many cutting edge features not readily available with many IDEs. The IDE also provides a great set of tools for PHP and C/C++ developers. It is free and open source and has a large community of users and developers around the world.

This book will teach you to ace NetBeans IDE and make use of it in creating Java business and web services. It will help you to become a proficient developer and use NetBeans for software development. You will learn effective third-party interaction and enable yourself for productive database development.

Moving on, you will see how to create EJB projects and write effective and efficient web applications. Then you will learn how to use Swing and manage and configure a relational database. By the end of the book, you will be able to handle external services such as databases, Maven repositories, and cloud providers, and extend your NetBeans when you require more from your IDE.

Style and approach

An easy-to-follow yet comprehensive guide to help you master the exhaustive range of NetBeans features in order to become more efficient at Java programing. More advanced topics are covered in each chapter, with subjects grouped according to their complexity as well as their utility.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es Mastering NetBeans un PDF/ePUB en línea?
Sí, puedes acceder a Mastering NetBeans de David Salter en formato PDF o ePUB, así como a otros libros populares de Computer Science y Programming in JavaScript. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2015
ISBN
9781785282645
Edición
1

Mastering NetBeans


Table of Contents

Mastering NetBeans
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
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 the 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
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
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
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
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
6. Desktop Development
Java Swing applications
Creating Swing frames
Designing Swing forms
Anchoring and autoresizing components
Defining properties and events
Editing properties
Editing bindings
Advanced binding properties
Converters
Validators
Editing events
Editing code
Creating connections
JavaFX applications
JavaFX Scene Builder
Summary
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
8. Creating the Web Tier
Creating web projects
Configuring application servers
Creating a web application
Creating a NetBeans web application
Modifying 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
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
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

Mastering NetBeans

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made ...

Índice