CARVIEW |
NetBeans IDE 7 Cookbook
Formats:

save 15%!
save 44%!

Also available on: |
![]() ![]() ![]() ![]() |
- Covers the full spectrum of features offered by the NetBeans IDE
- Discover ready-to-implement solutions for developing desktop and web applications
- Learn how to deploy, debug, and test your software using NetBeans IDE
- Another title in Packt's Cookbook series giving clear, real-world solutions to common practical problems
Book Details
Language : EnglishPaperback : 308 pages [ 235mm x 191mm ]
Release Date : May 2011
ISBN : 1849512507
ISBN 13 : 9781849512503
Author(s) : Rhawi Dantas
Topics and Technologies : All Books, Cookbooks, Java, Open Source
Table of Contents
PrefaceChapter 1: NetBeans Head First
Chapter 2: Basic IDE Usage
Chapter 3: Designing Desktop GUI Applications
Chapter 4: JDBC and NetBeans
Chapter 5: Building Web Applications
Chapter 6: Using JavaFX
Chapter 7: EJB Application
Chapter 8: Mobile Development
Chapter 9: Java Refactoring
Chapter 10: Extending the IDE
Chapter 11: Profiling and Testing
Chapter 12: Version Control
Index
- Chapter 1: NetBeans Head First
- Introduction
- Creating a Java Project Using Wizard
- Creating libraries
- Sharing libraries
- Importing Projects from Eclipse
- Importing existing Maven Projects
- Chapter 2: Basic IDE Usage
- Introduction
- Creating a Java Project using Maven support
- Creating a package
- Creating a class
- Running the main class
- Debugging a class
- Creating constructors
- Generating toString(), equals(), and hashCode()
- Generating getters and setters
- Chapter 3: Designing Desktop GUI Applications
- Introduction
- Creating a Java Desktop Application
- Creating a Frame
- Creating a Panel
- Adding Event Listeners
- Connecting your Application to a Database
- Creating a customized icon for your application
- Making executable Java Desktop Applications
- Chapter 4: JDBC and NetBeans
- Introduction
- Setting up with MySQL
- Setting up with PostgreSQL
- Setting up with Apache Derby/Java DB
- Setting up with Oracle
- Built-in SQL editor
- Chapter 5: Building Web Applications
- Introduction
- Creating a web project using the wizard
- Introduction to Java EE 6 using NetBeans
- Adding JSF as a web framework
- Using JSF as a web framework
- Using Apache Struts as a web framework
- Using GWT as a web framework
- Chapter 6: Using JavaFX
- Introduction
- Creating a JavaFX Project
- Build UI with NetBeans JavaFX Composer
- Connecting JavaFX Application to Web Service
- Connecting JavaFX Application to Database
- Application States in JavaFX
- Chapter 7: EJB Application
- Introduction
- Creating EJB project
- Adding JPA support
- Creating Stateless Session Bean
- Creating Stateful Session Beans
- Sharing a service through Web Service
- Creating a web service client
- Chapter 8: Mobile Development
- Introduction
- Creating CLDC/MIDP applications
- Creating CDC applications
- Using the Visual Mobile Designer
- Beautifying your mobile application
- Chapter 9: Java Refactoring
- Introduction
- Renaming elements
- Moving elements
- Extracting a superclass
- Extracting an interface
- Encapsulating fields
- Chapter 10: Extending the IDE
- Introduction
- Creating a new project Wizard
- Creating a new file wizard
- Creating options panels
- Chapter 11: Profiling and Testing
- Introduction
- Profiling Java code
- Creating unit tests
- Using SQE for improved code quality
- Monitoring HTTP connections
- Using the JMeter load generator
- Chapter 12: Version Control
- Introduction
- Adding a project to Subversion
- Checking in modifications
- Working with a Subversion branch
- Resolving conflicts in Subversion
- Creating a Mercurial project
- Cloning a Mercurial repository
- Committing to a Mercurial project
Rhawi Dantas
Sample chapters
You can view our sample chapters and prefaces of this title on PacktLib or download sample chapters in PDF format.
Code Downloads
Download the code and support files for this book.
Errata
- 5 submitted: last submission 30 Dec 2011Errata type: Typo | Page number: 8 | Errata date: 18 July 11
"Proejcts pane" should be "Projects pane"
Errata type: Typo | Page number: About the Author section | Errata date: 18 July 11
"severeal years". should be "several years"
Errata type: Typo | Page number: About the Author section | Errata date: 18 July 11
"hsa contributed". should be "has contributed"
Errata type: Typo | Page number: About the Author
“as Bachelor ... Systems” should be “with a Bachelor ... Systems degree” in the second paragraph.
Errata type: Typo | Page number: About the Reviewers
“has a broad” should be “has broad” in the first paragraph.
Submit Errata
Please let us know if you have found any errors not listed on this list by completing our errata submission form. Our editors will check them and add them to this list. Thank you.
What you will learn from this book
- Get to grips with quick development patterns using NetBeans Platform
- Step up your mobile development environment using NetBeans
- Refactor faster and better
- Work with a variety of web frameworks via NetBeans
- Create and integrate different projects and technologies
- Link up various servers and databases with NetBeans
- Master the art of testing using NetBeans
- Version-control your systems from the comfort of your IDE
Special Offers

Annual subscription:
$220.00 per annum
Monthly subscription:
$21.99 per month
In Detail
Java IDEs have grown bigger and more complicated with time. Some development environments even require the user to spend countless hours searching for more software to bundle with the IDE just to start working. NetBeans abstracts much of the work needed to configure the environment and makes it convenient for Java developers to start coding straight away. With this book in hand you will tap into the endless possibilities of developing modern desktop and web applications in Java.
NetBeans IDE 7 Cookbook is perfect for you if you are ready to take the next step from the standard tutorials and move into the practical world. It will show you all the features of the NetBeans IDE used by Java developers. It goes to great lengths in explaining different ways of achieving a desired goal and uncovering features present in NetBeans that are often overlooked or forgotten.
The NetBeans IDE 7 Cookbook will appeal to Java programmers at all levels who are ready to go beyond just tutorials.
A practical solution reference with a series of to-the-point recipes that will help Java developers with all kinds of NetBeans development tasks
Approach
With this book you will learn in a step-by-step manner and build solutions from the ground up using NetBeans. Each recipe is well illustrated and the code contained in the examples is very engaging and will allow developers to build functional and fun software while learning how the IDE can help them with their tasks.
Who this book is for
Java developers of all levels who use NetBeans will be able to learn from and implement the thorough and well-explained solutions given in this Cookbook. If you want an easy reference on your desk to solve most of your day-to-day development queries with NetBeans, this book is for you.
Alternative Books
Have a look at these alternative products. Remember that if you buy two eBooks, you get 50% off both.
-
- Learn how Dynamics NAV ERP suite is set up and customized for various industries
- Integrate numerous parts of a company's operations including financial reporting, sales, order management, inventory, and forecasting
- Develop complete applications and not just skeleton systems
- Covers the design and implementation of two new add-on services: The Squash application and the Storage & Logistics application
- Also usable for previous versions such as 3.x, 4.0, and 5.0
- Easy-to-read style, packed with hard-won practical advice
- Real-world examples with step-by-step explanations
-
- Technical foundations of the Documentum platform
- Over 200 practice questions and three practice tests
- Up-to-date information on version 6.5 SP2 including presets, aspects, new Webtop interface, lightweight types, Composer, and DFS
- Over 200 illustrations and many more examples from a real-life business scenario
-
- Easy-to-follow introduction to OGRE 3D
- Create exciting 3D applications using OGRE 3D
- Create your own scenes and monsters, play with the lights and shadows, and learn to use plugins
- Get challenged to be creative and make fun and addictive games on your own
- A hands-on do-it-yourself approach with over 100 examples
-
- Written in an accessible readable style, this practical book will help you to successfully master user authentication, authorization, and user management in Siebel CRM
- Set up the organization and position hierarchy as well as create user accounts in step-by-step examples
- Instructions valid for versions 8.0, 8.1, and 8.2
-
- Optimize time-consuming tasks efficiently using three Oracle database utilities
- Get to grips with user session management issues
- Boost database defences with Oracle Wallet Manager and Security
- A focused handbook with practical content and real-life scenarios
-
- The first book on the newly released Inkscape version 0.48, with an exclusive focus on web design
- Incorporate eye-catching designs, charts, and other visual elements to spice up your web pages
- Learn how to create your own Inkscape templates in addition to using the built-in ones
- Written in a simple illustrative manner, which will appeal to web designers and experienced Inkscape users alike
-
- Focusses on 3 key areas of development with Seam – testing, persistence and security
- Test your site to ensure efficiency
- Learn how to develop persistent applications
- Secure your web application with user authentication and OpenID.
-
- Covers the full spectrum of features offered by the NetBeans IDE
- Discover ready-to-implement solutions for developing desktop and web applications
- Learn how to deploy, debug, and test your software using NetBeans IDE
- Another title in Packt's Cookbook series giving clear, real-world solutions to common practical problems
-
New jQuery Book Released jQuery Tools UI Library will show you how to add useful functionality to your website, using the compact but powerful jQuery Tools library.Get inspiration for developing your own ideas with the book.
Learn More Download a free chapter - Quickly look up features of the jQuery library
- Step through each function, method, and selector expression in the jQuery library with an easy-to-follow approach
- Understand the anatomy of a jQuery script
- Write your own plug-ins using jQuery's powerful plug-in architecture
- Written by the creators of learningquery.com
- Check out the new Learning jQuery Third Edition here
-
- An introduction to jQuery that requires minimal programming experience
- Detailed solutions to specific client-side problems
- For web designers to create interactive elements for their designs
- For developers to create the best user interface for their web applications
- Packed with great examples, code, and clear explanations
- Revised and updated version of the first book to help you learn jQuery
![]() |
RSS Feed |
![]() |
Sign up to Packt's newsletter |
![]() |
Follow Packt at Twitter |
![]() |
Join our Facebook Group |
Customer service body text... insert content here.
Returns Centre body text... insert content here.
Packt Updates
To submit your images Click Here
Click here to view Packt's cookie policy. This explains the cookies on Packt's website, and why we use them. It also explains information on how to manage your cookies.
By closing this banner, you are consenting to our use of cookies on your device, unless you have disabled them in your browser.