concept advantage in category java

This is an excerpt from Manning's book JUnit in Action.
The advantage of using lambda expressions as arguments for assertion methods is that all of them are lazily created, resulting in improved performance. If the condition at #1 is fulfilled, meaning the test succeeded, the invocation of the lambda expression at #2 does not take place, which would be impossible if the test were written in the old style.
So far, we have examined the advantages of in-container unit testing. This approach also has the disadvantages discussed in the following sections.

This is an excerpt from Manning's book Java Testing with Spock.
Spock takes advantage of these compile and runtime code-transformation features offered by Groovy in order to create a pseudo-DSL (domain specific language) specifically for unit tests. All the gory details of Spock syntax are explained in chapter 4.

This is an excerpt from Manning's book Enterprise Java Microservices.
Instead of wasting time talking about Spring configuration, know that Spring Boot is going to take care of that for you, so let’s see how taking advantage of Spring Boot autoconfiguration keeps you focused on writing application code. I can think of no better way to do that than to start writing the application code for the reading-list application.
Figure 5.2 introduces Containers as a Service (CaaS) as a new foundation for PaaS providers. CaaS takes advantage of container technology, such as Docker, to simplify the deployment, scaling, and management of multiple applications or services. Containers allow you to package any application or service into its own operating system environment, with whatever custom software or configuration might be required, while also being able to reduce the size of the image that’s generated when compared to traditional virtual machines.
You can take advantage of immutable container images by choosing a PaaS that uses a CaaS internally.

This is an excerpt from Manning's book Griffon in Action.
1 That is one of the advantages of the convention-over-configuration paradigm.
As noted, Groovy configuration scripts are like Java properties files in disguise. The advantages are clear: you can visualize hierarchies and categories more easily, and you’re able to use more types other than plain strings. For example, application.startupGroups is a list of values, and application.autoShutdown is a boolean value. Groovy can parse these scripts by means of groovy.util.ConfigSlurper and groovy.util.ConfigObject.

This is an excerpt from Manning's book Struts 2 in Action.
You don’t have to use a framework. You have a few alternatives. For starters, you could forgo a framework altogether. But unless your application is quite simple, we suspect that the work involved in rolling your own versions of all the common domain tasks, not to mention solving all the architectural problems on your own, will quickly deter you. As the twenty-first century ramps up, various new web application platforms boast light-speed development times and agile interfaces. In the world of Java web applications, using a sleek new framework is the way to take advantage of these benefits.
You still retrieve your message texts as we did earlier. Even when we weren’t taking advantage of it, ActionSupport’s TextProvider implementation has been checking the locale every time it retrieves a message text for us. It does this by calling the getLocale() method of the LocaleProvider interface. With the locale in hand, the TextProvider, a.k.a. ActionSupport, tries to locate a properties file for that locale. Of course, you have to provide the properties file for the locale in question, or it will just serve up the standard English. But it’s simple to provide properties files for all locales that you wish to support. In Struts 2 Portfolio, we’re providing a Spanish properties file. The hard part is finding a translator. In order to see this in action, set your browser’s language support to Spanish and submit the registration form again, omitting one of the fields to see the error message that it provides.