Book Image

Java EE Development with Eclipse - Second Edition

By : Ram Kulkarni
Book Image

Java EE Development with Eclipse - Second Edition

By: Ram Kulkarni

Overview of this book

<p>Java EE is a technology for developing enterprise class, scalable applications. With recent changes to Java EE specifications, JEE application development has become a lot simpler. However, recent changes have also added many new specifications, some of which compete with existing JEE specification. Along with JEE specifications and APIs, it is also very important to understand the entire application development process and tools that can help simplify and accelerate JEE application development.</p> <p>This guide provides a complete overview of developing JEE applications using Eclipse. The many features of the Eclipse IDE are explained. These enable the rapid development, debugging, testing, and deployment of JEE applications. You’ll explore not just different JEE technologies and how to use them (JSP, JSF, JPA, JDBC, EJB, web services etc.), but also suitable technologies for different scenarios.</p> <p>The book starts with how to set up the development environment for JEE applications and then goes on to describe many JEE specifications in detail, with an emphasis on examples. You’ll learn how to deploy an example application on Tomcat and Glassfish Application Server.</p> <p>You’ll create a simple application that reads from a queue, processes the request, and publishes results to a topic and Eclipse MAT (Memory Analysis Tool) to debug memory issues.</p>
Table of Contents (18 chapters)
Java EE Development with Eclipse Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


Good support for debugging from language runtime and IDE can considerably reduce the time required for debugging. Java runtime and Eclipse provide excellent support for debugging remote applications. To debug a remote application, launch it with the debug parameters for JVM and connect Eclipse Debugger to it. You can then debug the remote application just as you would debug the local one – set breakpoints, perform step operations, and inspect variables. You can also change the variable values in the application when its execution is suspended.

In the next chapter, we will see how to develop JEE applications using EJBs. We will use the GlassFish server in the next chapter. Although this chapter explained the debugging of JEE applications deployed in Tomcat, you can use the same techniques in the GlassFish server.