دسترسی نامحدود
برای کاربرانی که ثبت نام کرده اند
برای ارتباط با ما می توانید از طریق شماره موبایل زیر از طریق تماس و پیامک با ما در ارتباط باشید
در صورت عدم پاسخ گویی از طریق پیامک با پشتیبان در ارتباط باشید
برای کاربرانی که ثبت نام کرده اند
درصورت عدم همخوانی توضیحات با کتاب
از ساعت 7 صبح تا 10 شب
ویرایش:
نویسندگان: Sherwin John Calleja Tragura
سری:
ISBN (شابک) : 1787129683, 9781787129689
ناشر: Packt Publishing Ltd
سال نشر: 2017
تعداد صفحات: 660
زبان: English
فرمت فایل : PDF (درصورت درخواست کاربر به PDF، EPUB یا AZW3 تبدیل می شود)
حجم فایل: 11 مگابایت
در صورت تبدیل فایل کتاب Spring 5.0 Cookbook: Recipes to build, test, and run Spring applications efficiently به فرمت های PDF، EPUB، AZW3، MOBI و یا DJVU می توانید به پشتیبان اطلاع دهید تا فایل مورد نظر را تبدیل نمایند.
توجه داشته باشید کتاب کتاب آشپزی Spring 5.0: دستور العمل هایی برای ساخت، آزمایش و اجرای موثر برنامه های Spring نسخه زبان اصلی می باشد و کتاب ترجمه شده به فارسی نمی باشد. وبسایت اینترنشنال لایبرری ارائه دهنده کتاب های زبان اصلی می باشد و هیچ گونه کتاب ترجمه شده یا نوشته شده به فارسی را ارائه نمی دهد.
بیش از 100 دستور العمل عملی برای ساختن برنامه های کاربردی وب به راحتی و کارآمد در Spring 5.0
درباره این کتابتوسعه دهندگان جاوا است که مایلند دانش عمیقی در مورد چگونگی غلبه بر مشکلاتی که در هنگام توسعه برنامه های کاربردی عالی Spring با آن مواجه هستند به دست آورند. همچنین به علاقه مندان، کاربران و کارشناسان بهار که به حوزه ای برای تجزیه و تحلیل مقایسه ای، ایده های جدید و پرس و جو در مورد جزئیات مربوط به Spring 5.0 و نسخه های قبلی آن نیاز دارند، پاسخ خواهد داد. دانش اولیه در مورد توسعه Spring ضروری است
آنچه یاد خواهید گرفتچارچوب Spring برای مدتی طولانی فریم ورک مورد استفاده توسعه دهندگان جاوا بوده است. این ماژولار بودن را افزایش میدهد، کد خواناتری ارائه میکند، و توسعهدهنده را قادر میسازد تا روی توسعه برنامه تمرکز کند در حالی که چارچوب زیربنایی از APIهای تراکنش، APIهای راه دور، APIهای JMX و APIهای JMS مراقبت میکند.
نسخه آینده برنامه چارچوب Spring چیزهای زیادی برای ارائه دارد، بالاتر و فراتر از ارتقاء پلتفرم به جاوا 9، و این کتاب تمام آنچه را که برای غلبه بر مشکلات رایج تا پیشرفته ای که ممکن است با آن مواجه شوید، بدانید را به شما نشان می دهد.
هر دستور غذا به شما کمک خواهد کرد. برخی از مسائل و راه حل های قدیمی و جدید را از پیکربندی کانتینر Spring 5.0 تا آزمایش اجزای آن به نمایش بگذارید. مهمتر از همه، این کتاب فرآیندهای همزمان، MVC ناهمزمان و برنامه نویسی واکنشی را با استفاده از Reactor Core برجسته می کند. جدای از اجزای اصلی، این کتاب همچنین شامل یکپارچهسازی فناوریهای شخص ثالث است که بیشتر در ساخت برنامههای کاربردی سازمانی مورد نیاز هستند.
در پایان کتاب، خواننده نه تنها به خوبی با این موارد آشنا خواهد شد. مفاهیم اساسی بهار است، اما همچنین بر آخرین ویژگیهای آن به شیوهای راهحلمحور تسلط خواهد داشت.
سبک و رویکرداین کتاب از رویکرد سبک کتاب آشپزی پیروی میکند، مشکلی را ارائه میکند و به شما نشان میدهد که چگونه بر آن غلبه کنید. دستور پخت. مثالهای ارائهشده به شما کمک میکنند تا همزمان با یادگیری کدنویسی کنید.
Over 100 hands-on recipes to build web applications easily and efficiently IN Spring 5.0
About This BookJava developers who would like to gain in-depth knowledge of how to overcome problems that they face while developing great Spring applications. It will also cater to Spring enthusiasts, users and experts who need an arena for comparative analysis, new ideas and inquiries on some details regarding Spring 5.0 and its previous releases. A basic knowledge of Spring development is essential
What You Will LearnThe Spring framework has been the go-to framework for Java developers for quite some time. It enhances modularity, provides more readable code, and enables the developer to focus on developing the application while the underlying framework takes care of transaction APIs, remote APIs, JMX APIs, and JMS APIs.
The upcoming version of the Spring Framework has a lot to offer, above and beyond the platform upgrade to Java 9, and this book will show you all you need to know to overcome common to advanced problems you might face.
Each recipe will showcase some old and new issues and solutions, right from configuring Spring 5.0 container to testing its components. Most importantly, the book will highlight concurrent processes, asynchronous MVC and reactive programming using Reactor Core APIs. Aside from the core components, this book will also include integration of third-party technologies that are mostly needed in building enterprise applications.
By the end of the book, the reader will not only be well versed with the essential concepts of Spring, but will also have mastered its latest features in a solution-oriented manner.
Style and ApproachThis book follows a cookbook style approach, presenting a problem and showing you how to overcome it with useful recipes. The examples provided will help you code along as you learn.
Cover Copyright Credits About the Author About the Reviewer www.PacktPub.com Customer Feedback Table of Contents Preface Chapter 1: Getting Started with Spring Installing Java Development Kit 1.8 Getting started How to do it... How it works... Installing Tomcat 9 and configuring HTTP/2 Getting started How to do it... How it works... Installing STS Eclipse 3.8 IDE Getting started How to do it... How it works... Creating Eclipse projects using Maven Getting started How to do it... How it works... Creating Spring STS Eclipse projects using Gradle Getting started How to do it... How it works... Deploying Spring projects using Maven Getting started How to do it... How it works... Deploying Spring projects using Gradle Getting started How to do it... How it works... Installing the MySQL 5.7 database server Getting started How to do it... How it works... Installing the MongoDB 3.2 database server Getting started How to do it... How it works... Chapter 2: Learning Dependency Injection (DI) Implementing a Spring container using XML Getting started How to do it... How it works... Implementing a Spring container using JavaConfig Getting started How to do it... How it works... Managing beans in an XML-based container Getting started How to do it... How it works... Managing beans in the JavaConfig container Getting started How to do it... How it works... Creating Singleton and Prototype beans Getting started How to do it... How it works... Defining eager and lazy spring beans Getting started How to do it... How it works... Creating an inner bean Getting started How to do it... How it works... Injecting Collections and Properties Getting started How to do it... How it works... Creating a Spring MVC using an XML-based approach Getting started How to do it... How it works... Creating a Spring MVC using the JavaConfig approach Getting started How to do it... How it works... Generating multiple ApplicationContexts Getting started How to do it... How it works... Using ResourceBundleMessageSource for Views Getting started How to do it... How it works... Chapter 3: Implementing MVC Design Patterns Creating the simple @Controller Getting started How to do it... How it works... Creating a simple @Controller with method-level URL mapping Getting started How to do it... How it works... Designing a simple form @Controller Getting started How to do it... How it works... Creating a multi-action @Controller Getting started How to do it... How it works... Form validation and parameter type conversion Getting started How to do it... How it works... Creating request- and session-scoped beans Getting started How to do it... How it works... Implementing page redirection and Flash-scoped beans Getting started How to do it... How it works... Creating database connection pooling Getting started How to do it... How it works... Implementing the DAO layer using the Spring JDBC Framework Getting Started How to do it... How it works... Creating a service layer in an MVC application Getting started How to do it... How it works... Chapter 4: Securing Spring MVC Applications Configuring Spring Security 4.2.2 Getting started How to do it... How it works... Mapping sessions to channels and ports Getting started How to do it... How it works... Customizing the authentication process Getting started How to do it... How it works... Implementing authentication filters, login success, and failure handlers Getting started How to do it... How it works... Creating user details Getting started How to do it... How it works... Generating encrypted passwords Getting started How to do it... How it works... Applying Security to MVC methods Getting started How to do it... How it works... Creating roles and permissions from the database Getting started How to do it... How it works... Managing and storing sessions Getting started How to do it... How it works... Solving Cross-Site Request Forgery (CSRF) and session fixation attacks Getting started How to do it... How it works... Solving Cross-Site Scripting (XSS) and clickjacking attacks Getting started How to do it... How it works... Creating interceptors for login data validation Getting started How to do it... How it works... Chapter 5: Cross-Cutting the MVC Logging and auditing service methods Getting started How to do it... How it works... Managing DAO transactions Getting started How to do it... How it works... Monitoring services and request handlers Getting started How to do it... How it works... Validating parameters and arguments Getting started How to do it... How it works... Managing exceptions Getting started How to do it... How it works... Implementing the caching mechanism Getting started How to do it... How it works... Intercepting request transactions Getting started How to do it... How it works... Implementing user authentication Getting started How to do it... How it works... Accessing with restrictions Getting started How to do it... How it works... Controlling concurrent user access Getting started How to do it... How it works... Implementing a mini-workflow using AOP Getting started How to do it... How it works... Chapter 6: Functional Programming Implementing lambda expressions using anonymous inner classes Getting started How to do it... How it works... Implementing lambda expression using @FunctionInterface Getting started How to do it... How it works... Applying the built-in functional interfaces Getting started How to do it... How it works... Applying method and constructor references Getting started How to do it... How it works... Using the Stream API Getting started How to do it... How it works... Applying streams to collections Getting started How to do it... How it works... Applying streams to NIO 2.0 Getting started How to do it... How it works... Using parallel streams Getting started How to do it... How it works... Chapter 7: Reactive Programming Applying the observer design pattern using Reactive Streams Getting started How to do it... How it works... Creating Mono<T> and Flux<T> publishers Getting started How to do it... How it works... Implementing the Subscriber<T> interface Getting ready How to do it... How it works... Applying backpressure to Mono<T> and Flux<T> Getting ready How to do it... How it works... Managing task executions using Schedulers Getting ready How to do it... How it works... Creating concurrent and parallel emissions Getting ready How to do it... How it works... Managing continuous data emission Getting ready How to do it... How it works... Implementing Stream manipulation and transformation Getting ready How to do it... How it works... Testing Reactive data transactions Getting ready How to do it... How it works... Implementing Reactive events using RxJava 2.x Getting ready How to do it... How it works... Chapter 8: Reactive Web Applications Configuring the TaskExecutor Getting started How to do it... How it works... SimpleAsyncTaskExecutor ThreadPoolTaskExecutor ConcurrentTaskExecutor Implementing @Async services Getting started How to do it... How it works... Creating asynchronous controllers Getting started How to do it... How it works... Creating @Scheduled services Getting started How to do it... How it works... Using Future<T> and CallableFuture<T> Getting started How to do it... How it works... Using Mono<T> and Flux<T> publishers for services Getting started How to do it... How it works... Creating Mono<T> and Flux<T> HTTP response Getting started How to do it... How it works... Integrating RxJava 2.0 Getting started How to do it... How it works... Using FreeMarker to render Publisher<T> stream Getting started How to do it... How it works... Using Thymeleaf to render a Publisher<T> stream Getting started How to do it... How it works... Applying security on TaskExecutors Getting started How to do it... How it works... Chapter 9: Spring Boot 2.0 Building a non-reactive Spring MVC application Getting started How to do it... How it works... Configuring Logging Getting started How to do it... How it works... Adding JDBC Connectivity Getting started How to do it... How it works... Building a reactive Spring MVC application Getting started How to do it... How it works... Configuring Spring Security 5.x Getting started How to do it... How it works... Using reactive view resolvers Getting started How to do it... How it works... Using RouterFunction and HandlerFunction Getting started How to do it... How it works... Implementing Spring Data with JPA Getting started How to do it... How it works... Implementing REST services using @RestController and Spring REST Getting started How to do it... How it works... Applying Spring Cache Getting started How to do it... How it works... Chapter 10: The Microservices Exposing RESTful services in Spring 5 Getting started How to do it... How it works... Using the actuator REST endpoints Getting started How to do it... How it works... Building a client-side application with RestTemplate, AsyncRestTemplate and, WebClient Getting started How to do it... How it works... Configuring the Eureka server for service registration Getting started How to do it... How it works... Implementing the Eureka service discovery and client-side load balancing Getting started How to do it... How it works... Applying resiliency to client applications Getting started How to do it... How it works... Consuming endpoints using a declarative method Getting started How to do it... How it works... Using Docker for deployment Getting started How to do it... How it works... Chapter 11: Batch and Message-Driven Processes Building synchronous batch processes Getting started How to do it... How it works... Implementing batch processes with a database Getting started How to do it... How it works... Constructing asynchronous batch processes Getting started How to do it... How it works... Building synchronous interprocess communication using AMQP Getting started How to do it... How it works... Creating asynchronous send-receive communication Getting started How to do it... How it works... Creating an event-driven asynchronous communication using AMQP Getting started How to do it... How it works... Creating stream communication with Spring Cloud Stream Getting started How to do it... How it works... Implementing batch processes using Spring Cloud Task Getting started How to do it... How it works... Chapter 12: Other Spring 5 Features Using Hibernate 5 object-relational mapping Getting ready How to do it... How it works... Applying Hazelcast distributed caching Getting ready How to do it... How it works... Building client-server communications with WebSocket Getting ready How to do it... How it works... Implementing Reactive WebSocket communication Getting ready How to do it... How it works... Implementing asynchronous Spring Data JPA properties Getting ready How to do it... How it works... Implementing Reactive Spring Data JPA repositories Getting ready How to do it... How it works... Using Spring Data MongoDB Getting ready How to do it... How it works... Building applications for big data storage Getting ready How to do it... How it works... Building a Spring 5 application using Kotlin Getting ready How to do it... How it works... Chapter 13: Testing Spring 5 Components Creating tests for Spring MVC components Getting ready How to do it... How it works... Building standalone controller tests Getting ready How to do it... How it works... Creating tests for DAO and service layers Getting ready How to do it... How it works... Creating tests on secured applications Getting ready How to do it... How it works... Creating tests using Spring Boot 2.0 Getting ready How to do it... How it works... Creating tests for Spring Data JPA Getting ready How to do it... How it works... Building tests for blocking, asynchronous and reactive RESTful services Getting ready How to do it... How it works... Building tests for Kotlin components Getting ready How to do it... How it works... Index