Java EE and HTML5 Enterprise Application Development - Author Interview with John Brock

DZone 's Guide to

Java EE and HTML5 Enterprise Application Development - Author Interview with John Brock

· Java Zone ·
Free Resource
What do you get when three well-known Java EE and NetBeans IDE experts--John "JB" Brock (Oracle), Arun Gupta Red Hat), and Geertjan Wielenga (Oracle)--decide to write a book about Java EE, HTML5 and NetBeans IDE? A concise and practical guide that outlines the tools and strategies for building next-generation enterprise applications.
In this quick interview, one of the authors John "JB" Brock talks about the overlap between Java EE and HTML5, the highlights and benefits of the book, and why NetBeans is well-suited for enterprise application development.

What inspired writing a book about Java EE and HTML5?

The objective of the book was to target specific areas where Java EE developers and client-side HTML5 developers are often running into each other. It's becoming more and more common to have Java developers being asked to write HTML5 clients for their Web Service code, and in reverse for HTML5 developers to have a better understanding of the Web Services that they are asked to connect to.

What are the highlights and coolest features discussed in the book?

I think there are two areas that really stand out:
  • How NetBeans IDE provides great wizards for standing up the REST services very quickly. I don't believe the average developer realizes how fast this can be done using NetBeans.
  • The debugging of the client-side JavaScript, complete with being able to see exactly what is coming and going in your REST and WebSocket calls. That makes it so easy to understand what kinds of data you need to bind your client-side code to, or how to handle the data on the server side when it's sent from the client.
I think the highlight is how versatile the technologies are and how seamlessly the Java EE platform can integrate with the HTML5 platform via REST, if you have the right set of tools available to bridge these technologies.

At 176 pages, it's a "light" technical book. How did you decide on what to include?

We really just wanted to focus on Web Services, and even more specifically, REST, WebSocket, and Server Sent Events. These three web services seem to be the most commonly discussed and used between Java EE developers and HTML5 developers today. Of course there have been complete books written on each of these three technologies. We only wanted to focus on the areas that would be in common between the two developer types.

Who is the primary audience?

The book is written for those developers that need a basic understand of REST, WebSocket, and SSE services. Either how to write them in Java or how to consume them in JavaScript and HTML5. The skill level required by the book is pretty low, but I wouldn't consider it an introductory book. You do have to have a basic understanding of Java and JavaScript programming to get the best out of the content provided

What's the recommended way to use the book?

The source code for all of the sample applications is provided for download by the publisher, so you can work directly with the code. I think it's really a personal preference on if you want to have the physical book in front of you to read and maybe make notes on the pages, or if you want to have the eBook version open in a browser while you work on the code itself. I find the latter approach best myself.

The book features NetBeans prominently. What makes the IDE ideal for enterprise application development?

NetBeans focuses on providing its features 'out of the box', i.e., you don't need to search for and install sets of plugins that may or may not work together very well or at all. Similarly too, in the case of enterprise development.

With NetBeans IDE, you get all the features you need, from the Java platform to the HTML5 platform, from editing to debugging to testing to profiling to deploying and to packaging. All in one IDE and all for free. All created by the same team of developers who create Java and who lead the development of the specifications around the Java EE platform. It is certainly the most obvious IDE to use when you're getting started with the technologies described in the book. It also provides the templates and wizards needed to be productive once you're more familiar with the Java EE and HTML5 platforms.

How was the experience of collaborating with multiple authors on a book?

It was a good fit between the three authors. Modern online tools for collaboration, like Dropbox or Google Drive, made it pretty simple to work on the chapters together. We also used different conferencing tools like Google Hangout or Skype to meet from time to time. Arun and Geertjan are constantly on the road and none of us live anywhere near each other, so there was never a face-to-face meeting between all three of us while writing the book. It certainly helped that we all knew each other pretty well from working together over the years and meeting up at conferences. Overall it was a great experience working together.

Buy: Java EE and HTML5 Enterprise Application Development

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}