Cargando…

Spring MVC Cookbook.

Over 40 recipes for creating cloud-ready Java web applications with Spring MVCAbout 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 depl...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Bretet, Alex (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham : Packt Publishing, Limited Feb. 2016.
Temas:
Acceso en línea:Texto completo

MARC

LEADER 00000cam a2200000 4500
001 EBOOKCENTRAL_ocn951676264
003 OCoLC
005 20240329122006.0
006 m o d
007 cr |n|||||||||
008 160226e20160225enk o 000 0 eng d
040 |a COO  |b eng  |e pn  |c COO  |d EBLCP  |d VT2  |d OCLCO  |d OCLCF  |d CHVBK  |d DEBBG  |d FEM  |d IDB  |d OCLCQ  |d MERUC  |d OCLCQ  |d LVT  |d OCLCQ  |d OCLCO  |d K6U  |d OCLCQ  |d OCLCO  |d OCLCL 
019 |a 968116466  |a 969017504 
020 |a 9781784396411 
020 |a 1784396419  |q (Trade Paper) 
020 |a 9781784394103 
020 |a 1784394106 
024 3 |a 9781784396411 
029 1 |a CHNEW  |b 000884622 
029 1 |a CHVBK  |b 374433224 
029 1 |a DEBBG  |b BV043893554 
035 |a (OCoLC)951676264  |z (OCoLC)968116466  |z (OCoLC)969017504 
037 |b 01201872 
050 4 |a QA76.73.J38  |b B74 2016 
082 0 4 |a 005.72  |q OCoLC  |2 23/eng/20230216 
049 |a UAMI 
100 1 |a Bretet, Alex,  |e author. 
245 1 0 |a Spring MVC Cookbook. 
260 |a Birmingham :  |b Packt Publishing, Limited  |c Feb. 2016. 
300 |a 1 online resource 
336 |a text  |b txt  |2 rdacontent 
337 |a computer  |b c  |2 rdamedia 
338 |a online resource  |b cr  |2 rdacarrier 
347 |a text file 
520 8 |a Over 40 recipes for creating cloud-ready Java web applications with Spring MVCAbout 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 ForIf 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 stackIn DetailSpring 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 approachA 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. 
505 0 |a Cover -- Copyright -- Credits -- About the Author -- About the Reviewer -- www.PacktPub.com -- Table of Contents -- Preface -- Chapter 1: Setup Routine for an Enterprise Spring Application -- Introduction -- Installing Eclipse for JEE Developers and Java SE 8 -- Configuring Eclipse for Java 8, Maven 3, and Tomcat 8 -- Defining the project structure with Maven -- Installing Spring, Spring MVC, and a web structure -- Chapter 2: Designing a Microservice Architecture with Spring MVC -- Introduction -- Configuring a controller with simple URL mapping -- Configuring a fallback controller using ViewResolver -- Setting up and customizing a responsive single page webdesign with Bootstrap -- Displaying a model in the View, using the JSTL -- Defining a common WebContentInterceptor -- Designing a client-side MVC pattern with AngularJS -- Chapter 3: Working with Java Persistence and Entities -- Introduction -- Configuring the Java Persistence API in Spring -- Defining useful EJB3 entities and relationships -- Making use of the JPA and Spring Data JPA -- Chapter 4: Building a REST API for a Stateless Architecture -- Introduction -- Binding requests and marshalling responses -- Configuring content-negotiation (JSON, XML, and so on) -- Adding pagination, filters, and sorting capabilities -- Handling exceptions globally -- Documenting and exposing an API with Swagger -- Chapter 5: Authenticating with Spring MVC -- Introduction -- Configuring Apache HTTP to proxy your Tomcat(s) -- Adapting users and roles to Spring Security -- Authenticating over a BASIC scheme -- Authenticating with a third-party OAuth2 scheme -- Storing credentials in a REST environment -- Authorizing on services and controllers -- Chapter 6: Implementing HATEOAS -- Introduction -- Turning DTOs into Spring HATEOAS resources -- Building links for a hypermedia-driven API. 
505 8 |a Choosing a strategy to expose JPA Entities -- Retrieving data from a third-party API with OAuth -- Chapter 7: Developing CRUD Operations and Validations -- Introduction -- Extending REST handlers to all HTTP methods -- Validating resources using bean validation support -- Internationalizing messages and contents for REST -- Validating client-side forms with HTML5 AngularJS -- Chapter 8: Communicating Through WebSockets and STOMP -- Introduction -- Streaming social events with STOMP over SockJS -- Using RabbitMQ as a multiprotocol message broker -- Stacking and consuming tasks with RabbitMQ and AMQP -- Securing messages with Spring Session and Redis -- Chapter 9: Testing and Troubleshooting -- Introduction -- Automating Database Migrations with FlyWay -- Unit testing with Mockito and Maven Surefire -- Integration testing with Cargo, Rest-assured, and Maven failsafe -- Injecting Spring Beans into integration tests -- Modern application Logging with Log4j2 -- Index. 
590 |a ProQuest Ebook Central  |b Ebook Central Academic Complete 
650 0 |a Application software  |x Development. 
650 0 |a Java (Computer program language) 
650 6 |a Logiciels d'application  |x Développement. 
650 6 |a Java (Langage de programmation) 
650 7 |a Application software  |x Development  |2 fast 
650 7 |a Java (Computer program language)  |2 fast 
655 4 |a Internet; Programming; Programming Languages. 
758 |i has work:  |a Spring MVC cookbook (Text)  |1 https://id.oclc.org/worldcat/entity/E39PCGVrHmXycxYJk9bP7jYpT3  |4 https://id.oclc.org/worldcat/ontology/hasWork 
776 0 8 |i Erscheint auch als:  |n Druck-Ausgabe  |t Bretet, Alex. Spring MVC Cookbook 
856 4 0 |u https://ebookcentral.uam.elogim.com/lib/uam-ebooks/detail.action?docID=4520813  |z Texto completo 
936 |a BATCHLOAD 
938 |a EBL - Ebook Library  |b EBLB  |n EBL4520813 
994 |a 92  |b IZTAP