Part 4. Integration

In part 4, we focus on a couple of Java EE services that are critical parts of enterprise Java applications. You’ll learn how to integrate enterprise services such as email and messaging with Roo applications. You’ll also be introduced to another great feature of the Roo framework: support for add-ons.

But before we delve into these topics, we cover Roo’s unit and integration testing support in chapter 9, “Testing your application.” We look at the testing strategies for different tests like unit, integration, and functional tests. We also discuss DataOnDemand components—a useful test class to generate test fixtures. Mock objects are a great way to test a class with lots of dependencies. You’ll learn how to mock entities and services as well as test Roo services and repositories inside the container. Finally, we explore web testing using the Selenium tool.

Chapter 10, “Enterprise services—email and messaging,” shows you how to integrate a mail server and asynchronous messaging using the Java Message Service (JMS) API. You’ll learn, with the help of sample application use cases, step-by-step details of implementing email notification and messaging using a JMS topic as well as a queue. You’ll also learn how to monitor messaging activity using tools like VisualVM and Spring Insight.

In chapter 11, “Roo add-ons”, and chapter 12 “Advanced add-ons and deployment,” you’ll learn both the basics and advanced topics in developing and deploying Roo add-ons. First, you’ll learn how to find and install Roo add-ons from the central repository. You’ll then build your own add-on to install jQuery and jQuery UI libraries.

In the advanced add-ons discussion, you’ll learn how to install CoffeeScript language into your local development environment. You’ll also learn how to publish the add-ons using the OSGi Bundle Repository (OBR) and the Roo addon service.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.149.19