This year, I received an email from Packt Publishing, inviting me to review one of the books based on NetBeans IDE, Java EE 5 Development with NetBeans 6. I was quite excited about this opportunity and after exchanging few mails with their Market Research Executive, accepted the invitation.
I have been an avid open source enthusiast, since 2007. Being an active member of the NetBeans Community, and being member of the NetBeans Dream Team (in the past), I got this opportunity. I am grateful to Packt Publishing and esp. David Heffelfinger for writing this wonderful book.
After nearly 2 months, I was able to finish reading the book and here’s my review of the book. Read it carefully and I feel you would enjoy reading the book as I did, because of its easy reading style and effectiveness of communicating complex topics.
The book comprises of 10 chapters, and I feel that every chapter has rightly justified the title of the book. Also, the author clearly states, that its not mandatory to have knowledge of Java EE before reading the book. The book is written in such a way, that the target audience having some experience with Java EE can directly jump to the relevant chapter to get things done.
Every chapter have some illustrations, along with necessary code snippets. The book provides a link to the website, that hosts the code samples (which are collection of web projects created using NetBeans IDE) for every chapter, except the first one. In some chapters, the author has even suggested the reader to see the code sample, for in-depth reference.
By the way, the code snippets featured in the book from code samples, should work fine with NetBeans IDE 6.5 (with JDK 5.0 or newer). The following platforms are officially supported;
- Windows 2000/XP/Vista
- Linux x86
- Linux x64
- Solaris x86
- Solaris x64
- Mac OS X
The book is aimed at three types of developers;
- Java developers (not necessarily familiar with NetBeans IDE) wishing to become proficient in Java EE 5, and who wish to use NetBeans for Java EE development.
- NetBeans users wishing to find out how to use their IDE of choice to develop Java EE applications.
- Experienced Java EE 5 developers wishing to find out how NetBeans can make their Java EE 5 development easier.
Looking for a perfect way to get started with NetBeans IDE and that too, with developing web applications.
Chapter 1 takes step-by-step approach of introducing the NetBeans IDE and lets you configure the same for efficient Java EE development. One would find great time saving tips and tricks. Even if you’re an experienced user, this chapter can’t be skipped.
After setting up the NetBeans IDE, its time to create and deploy your web applications.
Chapter 2 helps you in creating web applications with JSPs (Java Server Pages) and Servlets, securing and monitoring them using NetBeans IDE and NetBeans HTTP Monitor.
Application developers would definitely love to enhance their web applications.
Hence, Chapter 3 provides ways to enhance the web applications using JavaServer Pages (JSP) tags and JavaServer Tag Library (JSTL), with the help of drag-n-drop support provided by NetBeans IDE.
As of Java EE 5, JavaServer Faces became a standard web framework for building web applications. Thus, the following chapter will be shifting focus from creating simple web applications to making use of standard web framework like JavaServer Faces.
Chapter 4 will also introduce you to the NetBeans Page Flow Editor (special utility provided by NetBeans IDE), to establish page navigation by graphically connecting pages.
With Java EE 5, Entity Beans were deprecated in favor of JPA, as JPA took ideas from several object relational mapping tools and incorporated them into the standard.
Chapter 5 suggests several features of NetBeans IDE that makes development with Java Persistence API (JPA) a breeze.
Did you ever thought of making use of drag-and-drop features for creating web applications making use of web framework?
Well, you must not wait longer, as Chapter 6 introduces the NetBeans Visual Web Designer, which allows application developers to visually build JSF applications by dragging-and-dropping components into our JSF pages
What are EJBs? EJBs expanded as Enterprise JavaBeans, allow application developers to focus on implementing business logic, while not having to worry about implementing these requirements.
There are basically two types, however Chapter 7 only focuses on the session beans, which greatly simplify server side business logic implementation.
The Java Messaging Service (JMS) is a standard Java EE messaging API that allows loosely coupled, asynchronous communication between Java EE components.
In Chapter 8, NetBeans IDE allows application developers to focus on the business logic of the application, while taking advantage of JMS API for generating necessary boilerplate code.
Web services allow application developers to develop functionality that can be accessed across a network.
In Chapter 9, NetBeans IDE can help you easily develop web services based on the Java API for XML Web Services (JAX-WS) API.
If you are new to Java EE development, you must be wondering how do I integrate the concepts learnt in previous chapters in single web application? There exists a solution.
Chapter 10 presents a sample application that makes use of the concepts explained in the earlier chapters, while making use of NetBeans IDE features, discussed already.
There are two appendices as well, however their focus is on debugging and profiling Java EE applications, by making use of NetBeans Debugger and Profiler. After all, this book will only get you started on various fronts, its upto you to explore more about them at your own pace and requirements.
I would recommend every Java developer who is looking forward to learn Java EE, this book is a must have. Even if you use any other IDE, switch to NetBeans and read this book to get started with Java EE quickly, yet in a professional manner.