Browse Results

Showing 51,951 through 51,975 of 61,781 results

Spring Boot 2.0 Cookbook Second Edition: Configure, test, extend, deploy, and monitor your Spring Boot application both outside and inside the cloud, 2nd Edition

by Alex Antonov

Take your application development skills to the next level by implementing Spring Boot features effectively Key Features This collection of effective recipes serves as guidelines for Spring Boot application development Get up to date with features of the latest version of Spring Boot 2.0 Tips and tricks to improve your efficiency through the stages of software development Book Description The Spring framework provides great flexibility for Java development, which also results in tedious configuration work. Spring Boot addresses the configuration difficulties of Spring and makes it easy to create standalone, production-grade Spring-based applications. This practical guide makes the existing development process more efficient. Spring Boot Cookbook 2.0 Second Edition smartly combines all the skills and expertise to efficiently develop, test, deploy, and monitor applications using Spring Boot on premise and in the cloud. We start with an overview of the important Spring Boot features you will learn to create a web application for a RESTful service. Learn to fine-tune the behavior of a web application by learning about custom routes and asset paths and how to modify routing patterns. Address the requirements of a complex enterprise application and cover the creation of custom Spring Boot starters. This book also includes examples of the new and improved facilities available to create various kinds of tests introduced in Spring Boot 1.4 and 2.0, and gain insights into Spring Boot DevTools. Explore the basics of Spring Boot Cloud modules and various Cloud starters to make applications in “Cloud Native” and take advantage of Service Discovery and Circuit Breakers. What you will learn Get to know Spring Boot Starters and create custom auto-configurations Work with custom annotations that enable bean activation Use DevTools to easily develop and debug applications Learn the effective testing techniques by integrating Cucumber and Spock Observe an eternal application configuration using Consul Move your existing Spring Boot applications to the cloud Use Hashicorp Consul and Netflix Eureka for dynamic Service Discovery Understand the various mechanisms that Spring Boot provides to examine an application’s health Who this book is for This book is for Java Developers who have good knowledge and understanding of Spring and Java application development.

Spring Boot 2.0 Projects: Build production-grade reactive applications and microservices with Spring Boot

by Mohamed Shazin Sadakath

Develop diverse real-life projects including most aspects of Spring BootKey FeaturesRun production-grade based applications using the Spring WebFlux frameworkLearn to develop high performance, asynchronous applications with Spring BootCreate robust microservice-based applications with Kotlin using Spring BootBook DescriptionSpring is one of the best tools available on the market for developing web, enterprise, and cloud-ready software. The goal of Spring Boot is to provide a set of tools for quickly building Spring applications that are easy to configure, and that make it easy to create and run production-grade Spring-based applications. Spring Boot 2.0 Projects will get you acquainted with important features of the latest version of this application-building tool and will cover basic, as well as advanced topics.The book starts off by teaching you how to create a web application using Spring Boot, followed by creating a Spring Boot-based simple blog management system that uses Elasticsearch as the data store. As you make your way through the chapters, you’ll build a RESTful web services application using Kotlin and the Spring WebFlux framework. Spring WebFlux is a new framework that helps in creating a reactive application in a functional way. Toward the end of the book, you will build a taxi-hailing API with reactive microservices using Spring Boot and a Twitter clone with a Spring Boot backend. Finally, you’ll learn how to build an asynchronous email formatter.What you will learnLearn the fundamental features of Spring Boot 2.0Customize Spring Boot 2.0 applicationsBuild a basic web applicationUse Redis to build a taxi-hailing APICreate a simple blog management system and a Twitter cloneDevelop a reactive RESTful web service with Kotlin using Spring BootWho this book is forThis book is for competent Spring developers who wish to understand how to develop complex yet scalable applications with Spring Boot. You must have a good knowledge of Java programming and be familiar with the basics of Spring.

Spring Boot 3 Recipes: A Problem-Solution Approach for Java Microservices and Cloud-Native Applications

by Marten Deinum

Solve all your Spring Boot 3 micro-framework problems using complete, real-world Java-based code snippets and examples inspired by various problems and corresponding solutions to those problems . When you start a new project, you’ll be able to copy the code and configuration files from this book, and then modify them for your own specific software programming needs. This can save you a great deal of work over creating a project from scratch.Spring Boot 3 Recipes has been revised to include new features like the new Spring Native, newly repackaged Spring Data, Spring Kafka for messaging and more on Kubernetes/deployment than in the previous edition. It includes Java 17 long term support code and Jakarta EE 9+ code as a base for Spring Boot 3. This handy code reference takes advantage of these things as it introduces you to VMWare's Spring Boot 3 and Spring Native. Quickly, it dives into code snippets on how to apply and integrate SpringBoot 3 with the Spring MVC web framework, web sockets and WebFlux for the rapid development of web applications, web services, microservices and more. You'll also get solutions to common problems with data persistence, integrating Spring Boot with batch processing, algorithmic programming via Spring Batch, and much more. These enable you to enhance or round out your web applications or microservices with a data and/or transaction-tier to boot. Other recipes cover topics such as using and integrating Boot with Spring's enterprise services, Spring Integration, testing, monitoring and more.At the end of the book, you'll have the code snippets and packages to deploy your Spring Boot-created microservices or applications on a cloud platform like Amazon using the popular Kubernetes container. Finally, this code reference is a must have for your Spring library. What You'll LearnGet reusable code recipes and snippets for the Spring Boot 3 micro-framework Discover how Spring Boot 3 integrates with other Spring APIs, tools, and frameworksAccess Spring MVC, web sockets and WebFlux for easier web developmentWork with microservices for web services development and integration with your Spring Boot applicationsAdd persistence and a data tier seamlessly to make your Spring Boot web application do moreIntegrate enterprise services via Spring Integration and Jakarta EE to create a more complex Java application using Spring BootWho This Book Is ForThis book is for experienced Java and Spring software programmers, developers.

Spring Boot Cookbook

by Alex Antonov

Over 35 recipes to help you build, test, and run Spring applications using Spring Boot About This Book * Learn to create different types of Spring Boot applications, configure behavior, and add custom components * Become more efficient in testing, deploying, and monitoring Spring Boot based applications * This is a practical guide that will help Spring developers to develop and deploy applications using Spring Boot Who This Book Is For If you are a Spring Developer who has good knowledge level and understanding of Spring Boot and application development and now want to learn efficient Spring Boot development techniques in order to make the existing development process more efficient, then this book is for you. What You Will Learn * Create Spring Boot applications from scratch * Configure and tune web applications and containers * Create custom Spring Boot auto-configurations and starters * Use Spring Boot Test framework with JUnit, Cucumber, and Spock * Configure and tune web applications and containers * Deploy Spring Boot as self-starting executables and Docker containers * Monitor data using DropWizard, Graphite, and Dashing In Detail Spring Boot is Spring's convention-over-configuration solution. This feature makes it easy to create Spring applications and services with absolute minimum fuss. Spring Boot has the great ability to be customized and enhanced, and is specifically designed to simplify development of a new Spring application. This book will provide many detailed insights about the inner workings of Spring Boot, as well as tips and recipes to integrate the third-party frameworks and components needed to build complex enterprise-scale applications. The book starts with an overview of the important and useful Spring Boot starters that are included in the framework, and teaches you to create and add custom Servlet Filters, Interceptors, Converters, Formatters, and PropertyEditors to a Spring Boot web application. Next it will cover configuring custom routing rules and patterns, adding additional static asset paths, and adding and modifying servlet container connectors and other properties such as enabling SSL. Moving on, the book will teach you how to create custom Spring Boot Starters, and explore different techniques to test Spring Boot applications. Next, the book will show you examples of configuring your build to produce Docker images and self-executing binary files for Linux/OSX environments. Finally, the book will teach you how to create custom health indicators, and access monitoring data via HTTP and JMX. Style and approach This book is a cohesive collection of recipes that provide developers with a set of connected guidelines on how to build, configure, and customize their application, starting from the design and development stages, all the way through testing, deployment, and production monitoring.

Spring Boot Messaging

by Felipe Gutierrez

Build messaging applications using the power of Spring Boot; use Spring application events over the Web; use WebSocket, SockJS, and STOMP messaging with Spring MVC; and use Spring JMS, Redis Pub/Sub and Spring AMQP for reliable messaging solutions. This book covers all the Spring Messaging APIs using Spring Boot. Written by a Pivotal engineer, Spring Boot Messaging is an authoritative guide to the many messaging APIs and how to use these for creating enterprise and integration solutions. You will learn and integrate these messaging APIs with more complex enterprise and cloud applications: for example, you will see how to use Spring Cloud Stream for creating message-driven and cloud native microservices. In addition, you'll discover the new Spring Integration DSL and use it with Spring Cloud Stream to build integration solutions using every enterprise integration pattern. Finally, you'll see Spring Reactor and Spring Cloud to take your application to the next level. After reading this book, you will come away with a case study application walk-through and will be able to use it as a template for building your own Spring messaging applications or messaging features within your enterprise or cloud application. What You'll Learn Use the main Spring messaging APIs with Spring Framework 5 Build messaging applications over the Web Use WebSocket, SockJS, and STOMP messaging Integrate Spring JMS and Spring AMQP into your applications Work with Spring Cloud Stream and microservices Who This Book Is For Enterprise Java developers who have at least some previous experience with the Spring Framework and/or the Spring platform.

Spring Boot Persistence Best Practices: Optimize Java Persistence Performance in Spring Boot Applications

by Anghel Leonard

This book is a collection of developer code recipes and best practices for persisting data using Spring, particularly Spring Boot. The book is structured around practical recipes, where each recipe discusses a performance case or performance-related case, and almost every recipe has one or more applications. Mainly, when we try to accomplish something (e.g., read some data from the database), there are several approaches to do it, and, in order to choose the best way, you have to know the implied trades-off from a performance perspective. You’ll see that in the end, all these penalties slow down the application. Besides presenting the arguments that favor a certain choice, the application is written in Spring Boot style which is quite different than plain Hibernate. Persistence is an important set of techniques and technologies for accessing and using data, and this book demonstrates that data is mobile regardless of specific applications and contexts. In Java development, persistence is a key factor in enterprise, ecommerce, cloud and other transaction-oriented applications. After reading and using this book, you'll have the fundamentals to apply these persistence solutions into your own mission-critical enterprise Java applications that you build using Spring. What You Will Learn Shape *-to-many associations for best performancesEffectively exploit Spring Projections (DTO) Learn best practices for batching inserts, updates and deletes Effectively fetch parent and association in a single SELECTLearn how to inspect Persistent Context contentDissect pagination techniques (offset and keyset)Handle queries, locking, schemas, Hibernate types, and more Who This Book Is For Any Spring and Spring Boot developer that wants to squeeze the persistence layer performances.

Spring Boot and Angular: Hands-on full stack web development with Java, Spring, and Angular

by Devlin Basilan Duldulao Seiji Ralph Villafranca

Design, build, and deploy performant and maintainable web applications using Spring, Spring Boot, and AngularKey FeaturesFind solutions to common problems faced while developing applications with Angular and Spring BootExplore tips, tricks, and best practices to overcome challenges related to source codeBuild applications faster and more efficiently using the Spring Framework and the Spring Boot extensionBook DescriptionAngular makes building applications with the web easy and Spring Boot helps get an application up and running using just a few lines of code and minimal configuration. This book provides insights into building full-stack apps using Angular and Spring Boot effectively to reduce overall development time and increase efficiency. You'll start by setting up your CI/CD pipeline and then build your web application's backend guided by best practices. You'll then see how Spring Boot allows you to build applications faster and more efficiently by letting the Spring Framework and Spring Boot extension do the heavy lifting. The book demonstrates how to use Spring Data JPA and add its dependencies along with Postgres dependencies in the project to save or persist a user's data in a database for future use. As you advance, you'll see how to write tests and test a service using Mockito. Finally, you'll create a CI workflow or pipeline for a Spring Boot and Angular application to enable operations to deliver quality applications faster. By the end of this Spring Boot and Angular book, you'll be able to build a full-stack web application and deploy it through continuous integration and continuous deployment.What you will learnExplore how to architect Angular for enterprise-level app developmentCreate a Spring Boot project using Spring InitializrBuild RESTful APIs for enterprise-level app developmentUnderstand how using Redis for caching can improve your application's performanceDiscover CORS and how to add CORS policy in the Spring Boot application for better securityWrite tests to maintain a healthy Java Spring Boot applicationImplement testing and modern deployments of frontend and backend applicationsWho this book is forThe book is for busy Java web developers and TypeScript developers with little experience developing Angular and Spring Boot apps who want to learn best practices for building full-stack web apps. Basic knowledge of HTML, CSS, and JavaScript or the Java programming language is necessary.

Spring Boot in Action

by Craig Walls

SummaryA developer-focused guide to writing applications using Spring Boot. You'll learn how to bypass the tedious configuration steps so that you can concentrate on your application's behavior.Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.About the TechnologyThe 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 can't imagine going back to hand configuring their applications.About the BookSpring Boot in Action is a developer-focused guide to writing applications using Spring Boot. In it, you'll learn how to bypass configuration steps so you can focus on your application's 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, you'll pick up insights from Craig's years of Spring development experience.What's InsideDevelop Spring apps more efficientlyMinimal to no configurationRuntime metrics with the ActuatorCovers Spring Boot 1.3About the ReaderWritten for readers familiar with the Spring Framework.About the AuthorCraig Walls is a software developer, author of the popular book Spring in Action, Fourth Edition, and a frequent speaker at conferences.Table of ContentsBootstarting SpringDeveloping your first Spring Boot applicationCustomizing configurationTesting with Spring BootGetting Groovy with the Spring Boot CLIApplying Grails in Spring BootTaking a peek inside with the ActuatorDeploying Spring Boot applicationsAPPENDIXESSpring Boot developer toolsSpring Boot startersConfiguration propertiesSpring Boot dependencies

Spring Boot in Practice

by Somnath Musib

Go beyond the basics with Spring Boot! This practical guide presents dozens of relevant scenarios in a convenient problem-solution-discussion format.In Spring Boot in Practice you will learn: Spring Boot&’s features from an expert&’s perspective Configuring, logging, and monitoring Spring Boot applications Effective methods for database communication Utilizing Spring Security and securing your Spring application in production Designing and developing microservices and RESTful APIs with Spring Boot Microservice versioning, documentation, and security Reactive application development and reactive data access with WebSocket and RSocket Deploying Spring Boot applications on Kubernetes and major cloud platforms Implementing containerization in a Spring Boot application Using Spring Boot with Kotlin and GraalVM Spring Boot in Practice is full of practical recipes for common development problems in Spring Boot. Author Somnath Musib has spent years building applications with Spring, and he shares that extensive experience in this focused guide. You&’ll master techniques for using Spring Data, Spring Security, and other Spring-centric solutions. Learn how to work with Spring Boot and Kotlin, handling connections for multiple platforms, and how Spring Boot can simplify building microservices and APIs. Each recipe is built around a real-world problem, complete with a full solution and thoughtful discussion. About the technology With Spring Boot, it&’s a snap to create standalone Spring applications that require minimal manual setup. Spring Boot directly embeds a server like Tomcat or Jetty into your project and preconfigures core Spring settings, third-party libraries, security, and other key elements. It&’s a big framework, with lots of powerful features. This book provides a rich collection of techniques to help you get the most out of Spring Boot. About the book Spring Boot in Practice is a cookbook-style guide to Spring application development. Following a convenient Problem-Solution-Discussion format, it takes you technique-by-technique through Spring Boot fundamentals. You&’ll dive deep into auto-configuration, security, microservices, and more. Along the way, you&’ll also discover numerous advanced and hidden features. All the book&’s source code is open source, so you can integrate the detailed samples into your own projects. What's inside Instantly useful techniques with reusable source code Configuring, logging, and monitoring Spring Boot applications Effective methods for database communication Securing Spring applications in production Microservices and RESTful APIs About the reader For Spring Boot beginners with some Spring experience. About the author Somnath Musib has over a decade of development experience, and has been actively working with Spring Boot since 2015. Table of Contents PART 1 1 Booting Spring Boot PART 2 2 Common Spring Boot tasks 3 Database access with Spring Data 4 Spring Boot: Autoconfiguration and Actuator 5 Securing Spring Boot applications 6 Implementing additional security with Spring Security 7 Developing RESTful Web services with Spring Boot PART 3 8 Reactive Spring Boot application development PART 4 9 Deploying Spring Boot applications PART 5 10 Spring Boot with Kotlin, Native Image, and GraphQL

Spring Boot with React and AWS: Learn to Deploy a Full Stack Spring Boot React Application to AWS

by Ravi Kant Soni Namrata Soni

Create and deploy full-stack Spring Boot applications with React and AWS. This practical and authoritative guide teaches you the fundamentals of Amazon Web Services with no prior experience.You will start by learning the fundamentals of AWS, including EC2, S3, IAM, and load balancer. Next, you will learn to deploy a Spring Boot REST API to AWS with Elastic Beanstalk, which will give you the ability to build and deploy a Spring Boot application. You will explore the RDS relational database and create an instance of a MySQL database in AWS with RDS. You will then deploy a Spring Boot application to MySQL in AWS and deploy a full-stack Spring Boot React application to AWS using Elastic Beanstalk and S3. Lastly, you will be introduced to ELB, CloudWatch, and Route 53. By the end of this book you will understand full-stack Spring Boot React applications and their deployment. If you prefer "learning by coding" then Spring Boot with React and AWS is the book for you.What You'll LearnReview the fundamentals of Amazon Web ServicesInstall a Spring Boot REST API with CRUD operation to AWS using AWS Elastic BeanstalkDeploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3Work with MySQL as a database in AWS using RDSUse Spring Boot with React and AWSWho This Book Is For Ideal for readers who have some programming experience with Java, Spring Boot, and React, and who now want to deploy a full-stack Spring Boot React application to AWS using AWS Elastic Beanstalk and S3.

Spring Boot: Building Cloud Native Java And Kotlin Applications

by Mark Heckler

With over 75 million downloads per month, Spring Boot is the most widely used Java framework available. Its ease and power have revolutionized application development from monoliths to microservices. Yet Spring Boot's simplicity can also be confounding. How do developers learn enough to be productive immediately? This practical book shows you how to use this framework to write successful mission-critical applications.Mark Heckler from VMware, the company behind Spring, guides you through Spring Boot's architecture and approach, covering topics such as debugging, testing, and deployment. If you want to develop cloud native Java or Kotlin applications with Spring Boot rapidly and effectively (using reactive programming, building APIs, and creating database access of all kinds) this book is for you.Learn how Spring Boot simplifies cloud native application development and deploymentBuild reactive applications and extend communication across the network boundary to create distributed systemsUnderstand how Spring Boot's architecture and approach increase developer productivity and application portabilityDeploy Spring Boot applications for production workloads rapidly and reliablyMonitor application and system health for optimal performance and reliabilityDebug, test, and secure cloud-based applications painlessly

Spring Cloud Data Flow: Native Cloud Orchestration Services for Microservice Applications on Modern Runtimes

by Felipe Gutierrez

Work with big data applications by using Spring Cloud Data Flow as a unified, distributed, and extensible system for data ingestion and integration, real-time analytics and data processing pipelines, batch processing, and data export. With this book you will develop a foundation for creating applications that use real-time data streaming by combining different technologies and use the full power of Spring Cloud Data Flow. The first part of Spring Cloud Data Flow introduces the concepts you will need in the rest of the book. It begins with an overview of the cloud, microservices, and big data, before moving on to the Spring projects essential to modern big data applications in Java: Spring Integration, Spring Batch, Spring Cloud Stream, and Spring Cloud Task. The second part of the book covers the internals of Spring Cloud Data Flow, giving you the insights and knowledge required to build the applications you need. You'll learn how to use Spring Data Flow's DSL and how to integrate with third-party cloud platform solutions, such as Kubernetes. Finally, the book covers Spring Cloud Data Flow applications to impart practical, useful skills for real-world applications of the technologies covered throughout the rest of the book. What You Will LearnSee the Spring Cloud Data Flow internals Create your own Binder using NATs as BrokerMater Spring Cloud Data Flow architecture, data processing, and DSLIntegrate Spring Cloud Data Flow with KubernetesUse Spring Cloud Data Flow local server, Docker Compose, and KubernetesDiscover the Spring Cloud Data Flow applications and how to use themWork with source, processor, sink, tasks, Spring Flo and its GUI, and analytics via the new Micrometer stack for realtime visibility with Prometheus and Grafana Who This Book Is ForThose with some experience with the Spring Framework, Microservices and Cloud Native Applications. Java experience is recommended.

Spring Cookbook

by Jerome Jaglale

This book is for you if you have some experience with Java and web development (not necessarily in Java) and want to become proficient quickly with Spring.

Spring Data

by Petri Kainulainen

This book is a standard tutorial which provides step-by-step instructions and a lot of code examples that are easy to follow and help you to get started from page one. This book is suited for developers who are working with Spring-powered applications, and are looking for an easier way to write data access code that uses relational databases. Also, if you are interested in learning how you can utilize Redis in your applications, this is the book for you. This book assumes that you have got some experience with the Spring Framework and the Java Persistence API. No previous experience with Redis is required.

Spring Data: Modern Data Access for Enterprise Java

by Mark Pollack Oliver Gierke Thomas Risberg Jon Brisbin Michael Hunger

You can choose several data access frameworks when building Java enterprise applications that work with relational databases. But what about big data? This hands-on introduction shows you how Spring Data makes it relatively easy to build applications across a wide range of new data access technologies such as NoSQL and Hadoop.Through several sample projects, you’ll learn how Spring Data provides a consistent programming model that retains NoSQL-specific features and capabilities, and helps you develop Hadoop applications across a wide range of use-cases such as data analysis, event stream processing, and workflow. You’ll also discover the features Spring Data adds to Spring’s existing JPA and JDBC support for writing RDBMS-based data access layers.Learn about Spring’s template helper classes to simplify the use ofdatabase-specific functionalityExplore Spring Data’s repository abstraction and advanced query functionalityUse Spring Data with Redis (key/value store), HBase(column-family), MongoDB (document database), and Neo4j (graph database)Discover the GemFire distributed data grid solutionExport Spring Data JPA-managed entities to the Web as RESTful web servicesSimplify the development of HBase applications, using a lightweight object-mapping frameworkBuild example big-data pipelines with Spring Batch and Spring Integration

Spring Dynamic Modules in Action

by Thierry Templier Andy Piper Arnaud Cogoluegnes

Java EE developers increasingly want to utilize OSGi to develop modular applications for component and service-based architectures. But tools required for OSGi implementation have been slow to develop. Spring Dynamic Modules (Spring DM) is a framework that simplifies the creation of component and service-oriented architectures with OSGi, to build modular Java applications using the powerful Spring framework.Spring Dynamic Modules in Action presents the fundamental concepts of OSGi-basedapps and maps them to the familiar ideas of the Spring framework. Then, it teaches the techniques and concepts required to develop stable, flexible enterprise apps. Along the way, readers will learn to incorporate other topics including dependency injection and unit testing in an OSGi-based environment. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book.

Spring Essentials

by Shameer Kunjumohamed Hamidreza Sattari

Build mission-critical enterprise applications using Spring Framework and Aspect Oriented Programming About This Book * Step into more advanced features of aspect-oriented programming and API components to build enterprise grade systems * Build lightning-fast web applications and REST APIs using Spring MVC and its asynchronous processing capabilities with the view technologies of your choice * Explore simplified but powerful data access techniques including JPA (Java Persistence Architecture) repositories and NoSQL data access Who This Book Is For If you are a Java developer who is looking to master Enterprise Java Development using Spring Framework, then this book is ideal for you. Prior understanding of core Java programming and a high-level understanding of Spring Framework is recommended. Having sound knowledge of servlet-based web development in Java and basic Database concepts would be an advantage but not a requirement. What You Will Learn * Set up and build standalone and web-based projects using Spring Framework with Maven or Gradle * Get familiar with JSP Form processing using Spring and Form Tag Library * Develop RESTful API applications for XML and JSON data transfers with non-blocking asynchronous capabilities * Explore Spring's comprehensive transaction support for declarative Transaction Management and its integration with Spring's data access abstractions * Investigate Spring Data access mechanisms with Spring Data Repositories, a simple and consistent data-access abstraction * Construct real-time applications using WebSocket with a SockJS fallback option * Understand how to secure your Spring Web and standalone applications using Spring Security declaratively and consistently * Get to grips with the end-to-end development of an API-based modern SPA using EmberJS at the front end and SpringMVC at the back end In Detail Spring is an open source Java application development framework to build and deploy systems and applications that run on the JVM. It is the industry standard and the most popular framework among Java developers with over two-thirds of developers using it. Spring Essentials makes learning Spring so much quicker and easier with the help of illustrations and practical examples. Starting from the core concepts of features such as inversion of Control Container and BeanFactory, we move on to a detailed look at aspect-oriented programming. We cover the breadth and depth of Spring MVC, the WebSocket technology, Spring Data, and Spring Security with various authentication and authorization mechanisms. Packed with real-world examples, you'll get an insight into utilizing the power of Spring Expression Language in your applications for higher maintainability. You'll also develop full-duplex real-time communication channels using WebSocket and integrate Spring with web technologies such as JSF, Struts 2, and Tapestry. At the tail end, you will build a modern SPA using EmberJS at the front end and a Spring MVC-based API at the back end.By the end of the book, you will be able to develop your own dull-fledged applications with Spring. Style and approach This book is a practical guide based on logical modules of the whole Spring Framework family, with a start-small approach, increasing in complexity as it progresses. Every chapter is an amalgamation of theory and practical examples, with further discussion on additional features and approaches.

Spring Integration Essentials

by Chandan Pandey

This book is intended for developers who are either already involved with enterprise integration or planning to venture into the domain. Basic knowledge of Java and Spring is expected. For newer users, this book can be used to understand an integration scenario, what the challenges are, and how Spring Integration can be used to solve it. Prior experience of Spring Integration is not expected as this book will walk you through all the code examples.

Spring Integration in Action

by Mark Fisher Iwein Fuld Jonas Partner Marius Bogoevici

SummarySpring Integration in Action is a hands-on guide to Spring-based messaging and integration. After addressing the core messaging patterns, such as those used in transformation and routing, the book turns to the adapters that enable integration with external systems. Readers will explore real-world enterprise integration scenarios using JMS, Web Services, file systems, and email. They will also learn about Spring Integration's support for working with XML. The book concludes with a practical guide to advanced topics such as concurrency, performance, system-management, and monitoring.The book features a foreword by Rod Johnson, Founder of the Spring Network.About the TechnologySpring Integration extends the Spring Framework to support the patterns described in Gregor Hohpe and Bobby Woolf's Enterprise Integration Patterns. Like the Spring Framework itself, it focuses on developer productivity, making it easier to build, test, and maintain enterprise integration solutions.About the BookSpring Integration in Action is an introduction and guide to enterprise integration and messaging using the Spring Integration framework. The book starts off by reviewing core messaging patterns, such as those used in transformation and routing. It then drills down into real-world enterprise integration scenarios using JMS, Web Services, filesystems, email, and more. You'll find an emphasis on testing, along with practical coverage of topics like concurrency, scheduling, system management, and monitoring.This book is accessible to developers who know Java. Experience with Spring and EIP is helpful but not assumed. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from the book. What's InsideRealistic examplesExpert advice from Spring Integration creatorsDetailed coverage of Spring Integration 2 featuresAbout the AuthorsMark Fisher is the Spring Integration founder and project lead. Jonas Partner, Marius Bogoevici, and Iwein Fuld have all been project committers and are recognized experts on Spring and Spring Integration.Table of ContentsPART 1 BACKGROUNDIntroduction to Spring IntegrationEnterprise integration fundamentals 24PART 2 MESSAGINGMessages and channelsMessage EndpointsGetting down to businessGo beyond sequential processing: routing and filteringSplitting and aggregating messagesPART 3 INTEGRATING SYSTEMSHandling messages with XML payloadsSpring Integration and the Java Message ServiceEmail-based integrationFilesystem integrationSpring Integration and web servicesChatting and tweetingPART 4 ADVANCED TOPICSMonitoring and managementManaging scheduling and concurrencyBatch applications and enterprise integrationScaling messaging applications with OSGiTesting

Spring MVC Beginner’s Guide

by Amuthan G

A step-by-step pragmatic approach to web application development using Spring MVC, with relevant screenshots and concise explanations. This book is aimed at helping Java developers who want to teach themselves Spring MVC, even if they have no previous experience with Spring MVC. It would be helpful to have a bit of familiarity with basic servlet programming concepts, but no prior experience is required.

Spring MVC Blueprints

by Sherwin John Tragura

Design and implement real-world web-based applications using the Spring Framework 4.x specification based on technical documentation About This Book * Learn all the details of implementing Spring 4.x MVC applications from basic core platform construction to advanced integration implementations * Gain a complete reference guide to implementing the controllers, models, views, view resolvers, and other service-related components to solve various real-world problems * Discover the possible optimal solutions for developers and experts to build enterprise and personal web-based applications * Create a Spring MVC application that has a validation process and exception handling with the HTTP status codes Who This Book Is For This book is for competent Spring developers who wish to understand how to develop complex yet flexible applications with Spring MVC. You must have a good knowledge of JAVA programming and be familiar with the basics of Spring. What You Will Learn * Set up and configure the Spring 4.x MVC platform from ground level up using the basic Spring Framework 4.x APIs * Study requirements and manage solutions on file uploading transactions in Spring 4.x applications Configure, , and test Spring integration to the Hibernate, MyBatis, and JPA frameworks for database transactions * Properly implement exception handlers and audit trails in Spring MVC applications * Generate reports using JFreeChart, Google Charts, JasperReports, DynamicReports, FreeMarker, Velocity, and Spring's API known as ContentNegotiatingViewResolver * Configure security and flexibility by adding Captcha, Spring Security, Spring Flow, Spring Portlets, JTA to improve data management performance * Implement web services using Spring's RESTful implementation and other service-oriented integration plugins * Design and implement a Spring 4.x application using AngularJS, ExtJs, Twitter Bootstrap, and Spring Mobile for responsive web design In Detail Spring MVC is the ideal tool to build modern web applications on the server side. With the arrival of Spring Boot, developers can really focus on the code and deliver great value, leveraging the rich Spring ecosystem with minimal configuration. Spring makes it simple to create RESTful applications, interact with social services, communicate with modern databases, secure your system, and make your code modular and easy to test. It is also easy to deploy the result on different cloud providers. This book starts all the necessary topics in starting a Spring MVC-based application. Moving ahead it explains how to design model objects to handle file objects. save files into a data store and how Spring MVC behaves when an application deals with uploading and downloading files. Further it highlights form transactions and the user of Validation Framework as the tool in validating data input. It shows how to create a customer feedback system which does not require a username or password to log in. It will show you the soft side of Spring MVC where layout and presentation are given importance. Later it will discuss how to use Spring Web Flow on top of Spring MVC to create better web applications. Moving ahead, it will teach you how create an Invoice Module that receives and transport data using Web Services By the end of the book you will be able to create efficient and flexible real-time web applications using all the frameworks in Spring MVC. Style and approach This book is a compendium of technical specification documents that will guide you through building an application using Spring 4.x MVC. Each chapter starts with a high-level wireframe design of the software followed by how to set up and configure different libraries and tools.

Spring MVC Cookbook

by Alex Bretet

Over 40 recipes for creating cloud-ready Java web applications with Spring MVC About This Book * Configure Spring MVC to build logic-less controllers that transparently support the most advanced web techniques * Build an amazing social and financial application that applies microservices patterns on deployment, self-testability, interoperability, cloud architectures, and scalability * Fast-paced, practical guide to learn how to set up Spring MVC to produce REST resources and templates as required by the latest front-end best practices Who This Book Is For If you are an experienced Java developer, with prior experience in web technologies, and want to step up in your career and stay up-to-date or learn more about Spring Web scalability, this book is for you. What You Will Learn * Structure your project with Maven and create self-tested, domain-specific deployable web archives * Generate templates for a responsive and powerful frontend with AngularJS and Bootstrap * Build a high performance stateless RESTful and hypermedia application to support your multiple customer experiences * Authenticate over REST with a BASIC authentication scheme and OAuth2; handle roles and permissions * Document and publish your REST API using Swagger and Swagger UI * Scale your Spring web application * Communicate through WebSocket and STOMP messages * Provide support to your application and efficiently maintain its business features with a relevant test stack In Detail Spring MVC is a lightweight application framework that comes with a great configuration by default. Being part of the Spring Framework, it naturally extended and supported it with an amazing set of recognizable annotations. External libraries can be plugged in and plugged out. It also possesses a request flow. Complete support of REST web services makes the Spring architecture an extremely consistent choice to support your front-end needs and Internet transformations. From the design of your Maven modules, you will achieve an Enterprise-standard for a stateless REST application based on Spring and Spring MVC with this book. This guide is unique in its style as it features a massive overview of practical development techniques brought together from the Spring ecosystem, the new JEE standards, the JavaScript revolution and Internet of Things. You will begin with the very first steps of Spring MVC's product design. Focused on deployment, viability, and maintainability, you will learn the use of Eclipse, Maven, and Git. You will walk through the separation of concerns driven by the microservices principles. Using Bootstrap and AngularJS, you will develop a responsive front-end, capable of interacting autonomously with a REST API. Later in the book, you will setup the Java Persistence API (JPA) within Spring; learn how to configure your Entities to reflect your domain needs, and discover Spring Data repositories. You will analyze how Spring MVC responds to complex HTTP requests. You will implement Hypermedia and HATEOAS to guide your customer's stateless conversation with the product and see how a messaging-service based on WebSocket can be configured. Finally you will learn how to set up and organize different levels of automated-tests, including logging and monitoring. Style and approach A comprehensive, recipe-based guide to creating stunning Java apps with Spring MVC as a result of learning and implementing pro-level practices, techniques, and solutions.

Spring MVC: Beginner's Guide - Second Edition

by Amuthan Ganeshan

Unleash the power of the latest Spring MVC 4.x to develop a complete application About This Book * Work through carefully crafted exercises with detailed explanations for each step will help you understand the concepts with ease * You will gain a clear understanding of the end-to-end request/response life cycle, and each logical component's responsibility * This book is packed with tips and tricks that demonstrate industry best practices on developing a Spring-MVC-based application Who This Book Is For The book is for Java developers who want to exploit Spring MVC and its features to build web applications. Some familiarity with basic servlet programming concepts would be a plus, but is not a prerequisite. What You Will Learn * Familiarize yourself with the anatomy of the Spring 4.X development environment * Understand web application architecture and the Spring MVC request flow * Integrate bean validation and custom validation * Use error handling and exception resolving * Get to grips with REST-based web service development and Ajax * Test your web application In Detail Spring MVC helps you build flexible and loosely coupled web applications. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also, Spring can integrate effortlessly with other popular web frameworks such as Struts, WebWork, Java Server Faces, and Tapestry. The book progressively teaches you to configure the Spring development environment, architecture, controllers, libraries, and more before moving on to developing a full web application. It begins with an introduction to the Spring development environment and architecture so you're familiar with the know-hows. From here, we move on to controllers, views, validations, Spring Tag libraries, and more. Finally, we integrate it all together to develop a web application. You'll also get to grips with testing applications for reliability. Style and approach This book takes a pragmatic step-by-step approach to web application development using Spring MVC, with informative screenshots and concise explanation.

Spring MVC: Designing Real-World Web Applications

by Shameer Kunjumohamed Hamidreza Sattari Geoffroy Warin Alex Bretet

Unleash the power of Spring MVC and build enterprise-grade, lightning-fast web applications About This Book * Configure Spring MVC to build logic-less controllers that transparently support the most advanced web techniques * Secure your developments with easy-to-write, reliable unit and end-to-end tests * Get this fast-paced, practical guide to produce REST resources and templates as required by the latest front-end best practices Who This Book Is For This Learning Path is for Java developers who want to exploit Spring MVC and its features to build web applications. It will help you step up in your career and stay up to date or learn more about Spring's web scalability. What You Will Learn * Set up and build standalone and web-based projects using Spring Framework with Maven or Gradle * Develop RESTful API applications for XML and JSON data transfers * Investigate Spring data access mechanisms with Spring Data Repositories * Generate templates for a responsive and powerful front end with AngularJS and Bootstrap * Authenticate over REST with a BASIC authentication scheme and OAuth2; handle roles and permissions * Communicate through WebSocket and STOMP messages * Design complex advanced-level forms and validate the model * Create maintainable unit and acceptance tests to secure the apps * Deploy the web application to the cloud in a snap In Detail Spring MVC helps you build flexible and loosely coupled web applications. The Spring MVC Framework is designed in such a way that every piece of logic and functionality is highly configurable. This Learning Path aims to make you an expert in designing web applications with Spring MVC 4. In our first module, we'll begin with an introduction to the Spring framework. You'll then learn aspect-oriented programming. Packed with real-world examples, you'll get an insight into how you can use Spring Expression Language in your applications to make them easier to manage and maintain. In the second module, you'll learn everything you need to build modern Spring-based enterprise web applications. From practical development techniques and useful tools from the wider Spring ecosystem, to the new JEE standards, the impact of JavaScript, and even the Internet of Things, you'll feel confident that you can deploy Spring for an impressive range of creative purposes. In the final module, you'll find out how to take advantage of Spring MVC's advanced features - essential if you are to properly master the framework. To do this you'll investigate the inner mechanics of Spring MVC, and how they tie into to the broader principles that inform many modern web architectures. With further guidance on how to test, secure, and optimize your application, as well as designing RESTful services, you'll very quickly be ready to use Spring in your next web project. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: * Spring Essentials by Shameer Kunjumohamed, Hamidreza Sattari * Spring MVC Cookbook by Alex Bretet * Mastering Spring MVC 4 by Geoffroy Warin Style and approach This is a hands-on, practical guide based on logical modules of the whole Spring framework family, employing a combination of theory and examples with pro-level practices, techniques, and solutions.

Spring Microservices

by Rajesh Rv

If you are a Spring developers and want to build cloud-ready, internet-scale applications to meet modern business demands, then this book is for you Developers will understand how to build simple Restful services and organically grow them to truly enterprise grade microservices ecosystems.

Refine Search

Showing 51,951 through 51,975 of 61,781 results