Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Mastering Netbeans
  • Table Of Contents Toc
  • Feedback & Rating feedback
Mastering Netbeans

Mastering Netbeans

By : David Salter
5 (1)
close
close
Mastering Netbeans

Mastering Netbeans

5 (1)
By: David Salter

Overview of this book

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.
Table of Contents (12 chapters)
close
close
11
Index

Contexts and Dependency Injection


One of the hot new features in Enterprise Java over recent years has been the Contexts and Dependency Injection (CDI) framework.

CDI allows us to interact with the context of objects by enabling binding to the different lifecycle methods of stateful components using annotations such as @PostContruct and @PreDestroy. It also provides a dependency injection framework, allowing components to be injected into other components using the @Inject annotation. We can choose different implementations of components to inject at deploy time, allowing a looser coupling of components leading to better and more structured architectures.

Note

For more information about CDI, refer to the Java EE 6 tutorial at http://docs.oracle.com/javaee/6/tutorial/doc/giwhb.html.

CDI is a huge subject that can be described in entire books such as JBoss Weld CDI for Java Platform, Ken Finnigan, Packt Publishing. In this section, we're assuming that you are familiar with CDI.

Adding CDI support...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Mastering Netbeans
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon