• Complain

Craig Walls - Spring Boot in Action

Here you can read online Craig Walls - Spring Boot in Action full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2016, publisher: Manning Publications, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Craig Walls Spring Boot in Action
  • Book:
    Spring Boot in Action
  • Author:
  • Publisher:
    Manning Publications
  • Genre:
  • Year:
    2016
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Spring Boot in Action: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Spring Boot in Action" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Summary

A developer-focused guide to writing applications using Spring Boot. Youll learn how to bypass the tedious configuration steps so that you can concentrate on your applications behavior.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the Technology

The Spring Framework simplifies enterprise Java development, but it does require lots of tedious configuration work. Spring Boot radically streamlines spinning up a Spring application. You get automatic configuration and a model with established conventions for build-time and runtime dependencies. You also get a handy command-line interface you can use to write scripts in Groovy. Developers who use Spring Boot often say that they cant imagine going back to hand configuring their applications.

About the Book

Spring Boot in Action is a developer-focused guide to writing applications using Spring Boot. In it, youll learn how to bypass configuration steps so you can focus on your applications behavior. Spring expert Craig Walls uses interesting and practical examples to teach you both how to use the default settings effectively and how to override and customize Spring Boot for your unique environment. Along the way, youll pick up insights from Craigs years of Spring development experience.

Whats Inside

  • Develop Spring apps more efficiently
  • Minimal to no configuration
  • Runtime metrics with the Actuator
  • Covers Spring Boot 1.3

About the Reader

Written for readers familiar with the Spring Framework.

About the Author

Craig Walls is a software developer, author of the popular book Spring in Action, Fourth Edition, and a frequent speaker at conferences.

Table of Contents

  1. Bootstarting Spring
  2. Developing your first Spring Boot application
  3. Customizing configuration
  4. Testing with Spring Boot
  5. Getting Groovy with the Spring Boot CLI
  6. Applying Grails in Spring Boot
  7. Taking a peek inside with the Actuator
  8. Deploying Spring Boot applications
  9. APPENDIXES
  1. Spring Boot developer tools
  2. Spring Boot starters
  3. Configuration properties
  4. Spring Boot dependencies

Craig Walls: author's other books


Who wrote Spring Boot in Action? Find out the surname, the name of the author of the book and a list of all author's works by series.

Spring Boot in Action — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Spring Boot in Action" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
MEAP VERSION 5 About this MEAP This book file has been tested with iBooks - photo 1

MEAP VERSION 5

About this MEAP This book file has been tested with iBooks 15 on iOS 5 and - photo 2
About this MEAP

This book file has been tested with iBooks 1.5 on iOS 5, and the Kindle App for iPad 2.9. If you are using an earlier version of iBooks and are experiencing problems, please try upgrading iBooks.

To get a full-screen view of images:

  • iBooks: Double-tap an image.
  • Kindle app: Use two fingers to stretch the image.

You can download the most up-to-date version of your electronic books from your Manning Account at .

Manning Publications Co. We welcome reader comments about anything in the manuscript - other than typos and other simple mistakes. These will be cleaned up during production of the book by copyeditors and proofreaders.

https://forums.manning.com/forums/spring_boot_in_action

Welcome

Thank you for purchasing the MEAP for Spring Boot in Action. If you're new to the Spring framework, you'll find that Spring Boot will help you get up to speed quickly. On the other hand, if you're a seasoned Spring developer, you'll enjoy the optimized programming model that Spring Boot offers, helping you get more done faster.

Even after having written four editions of Spring in ActionSpring in Action, I'm still excited about what Spring has to offer. But one thing that has been a near-constant has been the configuration code required to make Spring work. Whether it be XML-based configuration or Java configuration, there has always been a sizable amount of framework configuration necessary. Add to that the Maven or Gradle specification needed to build a project and you find that there's plenty of plumbing code that distracts from writing the code that provides business functionality.

Spring Boot changes all of that. Its central feature is automatic configuration. Spring Boot is able to make reasonable guesses about what it is that you are trying to do and automatically apply the Spring configuration necessary to support it. For some applications, it's possible to have no Spring configuration whatsoever. And in all applications, the amount of Spring configuration required is greatly reduced.

Spring Boot in Action will guide you in how to take advantage of auto-configuration and, when necessary, how to override it with custom configuration. You'll also see how to use Spring Boot starters, aggregate build dependencies that focus on what kind of application you want to build instead of specific library requirements. And you'll see how to use some of the production services offered by Spring Boot's Actuator.

Spring Boot is one of the most exciting things to happen in the Spring ecosystem since Spring itself emerged. And I'm excited to introduce it to you.

Your feedback is important and will help me produce the best book possible. So please leave comments in the Author Online forum and let me know if there's something that I can do to explain Spring Boot better for you.

Craig Walls

Spring Boot in Action - image 3
Brief Table of Contents

Appendixes:

1
Bootstarting Spring

This chapter covers:

  • How Spring Boot simplifies Spring application development

  • The essential features of Spring Boot

  • Setting up a Spring Boot workspace

The Spring Framework has been around for over a decade and has found a place as the de facto standard framework for developing Java applications. With such a long and storied history, some might think that Spring has settled, resting on its laurels, and is not doing anything new or exciting. Some might even say that Spring is legacy and that its time to look elsewhere for innovation.

Some would be wrong.

There are many exciting new things taking place in the Spring ecosystem, including work in the areas of cloud computing, big data, schema-less data persistence, reactive programming, and client-side application development.

Perhaps the most exciting, most head-turning, most game-changing new thing to come to Spring in the past year or so is Spring Boot. Spring Boot offers a new paradigm for developing Spring applications with minimal friction. With Spring Boot, youll be able to develop Spring applications with more agility and be able to focus on addressing your applications functionality needs with minimal (or possibly no) thought of configuring Spring itself. In fact, one of the main things that Spring Boot does is to get Spring out of your way so you can get stuff done.

Throughout the chapters in this book, well explore various facets of Spring Boot development. But first, lets take a high-level look at what Spring Boot has to offer.

1.1 Spring Rebooted

Spring started as a lightweight alternative to Java Enterprise Edition (JEE, or J2EE as it was known at the time). Rather than develop components as heavyweight Enterprise JavaBeans (EJBs), Spring offered a simpler approach to enterprise Java development, utilizing dependency injection and aspect-oriented programming to achieve the capabilities of EJB with plain old Java objects (POJOs).

But while Spring was lightweight in terms of component code, it was heavyweight in terms of configuration. Initially, Spring was configured with XML (and lots of it). Spring 2.5 introduced annotation-based component-scanning, which eliminated a great deal of explicit XML configuration for an applications own components. And Spring 3.0 introduced a Java-based configuration as a type-safe and refactorable option to XML.

Even so, there was no escape from configuration. Enabling certain Spring features such as transaction management and Spring MVC required explicit configuration, either in XML or Java. Enabling third-party library features such as Thymeleaf-based web views required explicit configuration. Configuring servlets and filters (such as Springs DispatcherServlet) required explicit configuration in web.xml or in a servlet initializer. Component-scanning reduced configuration and Java configuration made it less awkward, but Spring still required a lot of configuration.

All of that configuration represents development friction. Any time spent writing configuration is time spent not writing application logic. The mental shift required to think about configuring a Spring feature distracts from solving the business problem. Like any framework, Spring does a lot for you, but it demands that you do a lot for it in return.

Moreover, project dependency management is a thankless task. Deciding what libraries need to be part of the project build is tricky enough. But its even more challenging to know which versions of those libraries will play well with others.

As important as it is, dependency management is another form of friction. When youre adding dependencies to your build, youre not writing application code. Any incompatibilities that come from selecting the wrong versions of those dependencies can be a real productivity killer.

Spring Boot has changed all of that.

1.1.1 Taking a fresh look at Spring

Suppose youre given the task of developing a very simple Hello World web application with Spring. What would you need to do? I can think of a handful of things youd need at a bare minimum:

  • A project structure, complete with a Maven or Gradle build file including required dependencies. At the very least, youll need Spring MVC and the Servlet API expressed as dependencies.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Spring Boot in Action»

Look at similar books to Spring Boot in Action. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Spring Boot in Action»

Discussion, reviews of the book Spring Boot in Action and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.