Видавець: 8

52745
Завантаження...
EЛЕКТРОННА КНИГА

Spring MVC: Designing Real-World Web Applications. Click here to enter text

Alex Bretet, Shameer Kunjumohamed, Geoffroy Warin, Hamidreza...

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

52746
Завантаження...
EЛЕКТРОННА КНИГА

Spring MVC. Przewodnik dla początkujących

Amuthan G

Wykorzystaj możliwości Spring MVC! Nauka przez praktykę, mniej teorii, więcej ćwiczeń Spring MVC to szkielet dostarczający architekturę model-widok-kontroler (ang. Model View Controller). Z jego pomocą można zbudować wiele zaawansowanych aplikacji internetowych oraz REST-owe API. Spring MVC zapewnia niezwykłą elastyczność oraz gwarantuje programistom wygodę. To leży u podstaw jego ogromnej popularności. Wokół tego szkieletu powstała też duża społeczność, zawsze chętna do udzielania pomocy. Jeżeli chcesz poznać możliwości Spring MVC i zbudować z nim Twoją pierwszą aplikację, nie mogłeś trafić lepiej. Ta książka wprowadzi Cię w najważniejsze zagadnienia oraz w niezwykle przejrzysty sposób przedstawi dostępne możliwości. Na samym początku zainstalujesz środowisko JDK oraz przydatne narzędzia, takie jak Maven i Spring Tool Suite. Budowana tu przykładowa aplikacja to sklep internetowy działający na serwerze Apache Tomcat. Z kolejnych rozdziałów nauczysz się, jak korzystać z kontrolerów, bibliotek znaczników oraz walidatorów. Książka ta jest obowiązkową lekturą dla wszystkich początkujących użytkowników Spring MVC. Dzięki tej książce: Zapoznasz się ze strukturą środowiska programistycznego Springa. Poznasz architekturę aplikacji internetowej oraz przepływ żądania w Spring MVC. Zintegrujesz walidację beanów z niestandardową walidacją. Nauczysz się obsługiwać błędy oraz wyjątki. Zaznajomisz się z implementacją RESTowych usług internetowych oraz Ajaxem. Utworzysz testy dla aplikacji. Dowiesz się, jak zastosować szkielety Tiles oraz Web Flow w Twojej aplikacji MVC.

52747
Завантаження...
EЛЕКТРОННА КНИГА

Spring. Receptury

Gary Mak, Daniel Rubio, Josh Long

Najlepsze receptury na wykorzystanie Springa! Spring zadebiutował na rynku w 2004 roku, osiem lat po opublikowaniu pierwszej wersji języka Java i od tego czasu jest dynamicznie rozwijany. Dzięki licznym modułom pozwala on błyskawicznie tworzyć skomplikowane aplikacje i wyręcza programistów w trudzie ustawiania typowych konfiguracji. Jeżeli do tego dołożyć ogromną społecznoć i świetną dokumentację, to nie ma się co dziwić, że jest tak popularny! Jeżeli wykorzystujesz Springa w swojej codziennej pracy lub chcesz wypróbować jego możliwoci, to trafiłe na doskonałą książkę. Należy ona do cenionej wśród programistów serii Receptury. Znajdziesz w niej omówienie zarówno podstawowych zagadnień związanych ze Springiem, jak i tych zaawansowanych. Na samym początku poznasz kontener IoC (ang. Inversion of Control), nauczysz się tworzyć ziarna oraz wstrzykiwać je na różne sposoby. W kolejnych rozdziałach odkryjesz, jak korzystać z AspectJ, Spring WebFlow oraz Spring-WS. Ponadto zobaczysz, jak używać REST, testów jednostkowych i integracyjnych oraz ORM. Spring wspiera te i wiele innych obszarów codziennej pracy programisty. Książka ta jest doskonałym omówieniem Springa na podstawie przykładów jego zastosowań. Dzięki tej książce: stworzysz kontener IoC skonstruujesz ziarna i wstrzykniesz je poznasz dostępne moduły przygotujesz usługi sieciowe i skorzystasz z tych usług Wykorzystaj potencjał Springa i zoptymalizuj swoją pracę!

52748
Завантаження...
EЛЕКТРОННА КНИГА

Spring Roo 1.1 Cookbook. Over 60 recipes to help you speed up the development of your Java web applications using the Spring Roo development tool

Ashish Kumar Sarin

Spring Roo is an easy-to-use productivity tool for rapidly developing Java enterprise applications using well-recognized frameworks such as Spring, Hibernate, AspectJ, Spring Web Flow, Spring Security, GWT, and so on. Spring Roo takes care of creating maven-enabled projects, enterprise application architecture based on your choice of technologies, unit/integration tests based on your choice of testing framework, and so on. The bottom line is that if you're using Spring, then you must consider using Spring Roo for increased productivity.Spring Roo 1.1 Cookbook brings together a collection of recipes that demonstrate how the Spring Roo developer tool simplifies rapidly developing enterprise applications using standard technologies/frameworks such as JPA, GWT, Spring, Flex, Spring Web Flow, Spring Security, and so on. It introduces readers to developing enterprise applications for the real world using Spring Roo tool. The book starts off with basic recipes to make readers comfortable with using Spring Roo tool. As the book progresses, readers are introduced to more sophisticated features supported by Spring Roo in the context of a Flight Booking application. In a step-by-step by fashion, each recipe shows how a particular activity is performed, what Spring Roo does when a command is executed, and why it is important in the context of the application being developed.Initially, you make a quick start with using Spring Roo through some simple recipes. Then you learn how Spring Roo simplifies creating the persistence layer of an enterprise application using JPA. You are introduced to the various roo commands to create JPA entities, create relationships between JPA entities, create integration tests using Spring TestContext framework, and so on. Following this, the book shows you how Spring Roo simplifies creating the web layer of an enterprise application using Spring Web MVC, Spring Web Flow, and how to create selenium tests for controller objects.Subsequently, we focus on using Spring-BlazeDS, GWT, JSON, and so on. Spring Roo commands that are used to incorporate e-mail/messaging features into an enterprise application are demonstrated next. Finally, we wrap it up with some miscellaneous recipes that show how to extend Spring Roo via add-ons, incorporate security, create cloud-ready applications, remove Spring Roo from your enterprise application, and so on.

52749
Завантаження...
EЛЕКТРОННА КНИГА

Spring Security 3.x Cookbook. Secure your Java applications against online threats by learning the powerful mechanisms of Spring Security. Presented as a cookbook full of recipes, this book covers a wide range of vulnerabilities and scenarios

Anjana Mankale

Web applications are exposed to a variety of threats and vulnerabilities at the authentication, authorization, service, and domain object levels. Spring Security can help secure these applications against those threats.Spring Security is a popular application security solution for Java applications. It is widely used to secure standalone web applications, portlets, and increasingly REST applications. It is a powerful and highly customizable authentication and access-control framework. It is the de-facto standard for securing Spring-based applications and it is currently used to secure numerous demanding environments including government agencies, military applications, and central banks.Spring Security 3.x Cookbook is a repository of recipes to help you successfully secure web applications against threats and vulnerabilities at the authentication and session level layers using the Spring Security framework. We will not only explore Spring-based web applications, but also Java-based and Grails-based applications that can use Spring Security as their security framework. Apart from conventional web applications, we will also look at securing portlets, RESTful web service applications, and other non-web applications.This book will also take you through how to integrate Spring Security with other popular web frameworks/technologies such as Vaadin, EJB, and GWT. In addition to testing and debugging the implemented security measures, this book will also delve into finer aspects of Spring Security implementation such as how it deals with concurrency, multitenancy, and customization, and we will even show you how to disable it.This book gives you an overview of Spring Security and its implementation with various frameworks. It starts with container-based authentication before taking you on a tour of the main features of Spring Security. It demonstrates security concepts like BASIC, FORM, and DIGEST authentication and shows you how to integrate the Spring Security framework with various frameworks like JSF, struts2, Vaadin, and more.The book also demonstrates how to utilize container managed security without JAAS. Then, we move on to setting up a struts2 application before showing you how to integrate Spring Security with other frameworks like JSF, Groovy, Wicket, GWT, and Vaadin respectively.This book will serve as a highly practical guide and will give you confidence when it comes to applying security to your applications. It's packed with simple examples which show off each concept of Spring Security and which help you learn how it can be integrated with various frameworks.

52750
Завантаження...
EЛЕКТРОННА КНИГА

Spring Security. Effectively secure your web apps, RESTful services, cloud apps, and microservice architectures - Fourth Edition

Badr Nasslahsen

With experienced hackers constantly targeting apps, properly securing them becomes challenging when you integrate this factor with legacy code, new technologies, and other frameworks. Written by a Lead Cloud and Security Architect as well as CISSP, this book helps you easily secure your Java apps with Spring Security, a trusted and highly customizable authentication and access control framework.The book shows you how to implement different authentication mechanisms and properly restrict access to your app. You’ll learn to integrate Spring Security with popular web frameworks like Thymeleaf and Microservice and Cloud services like Zookeeper and Eureka, along with architecting solutions that leverage its full power while staying loosely coupled. You’ll also see how Spring Security defends against session fixation, moves into concurrency control, and how you can use session management for administrative functions. This fourth edition aligns with Java 17/21 and Spring Security 6, covering advanced security scenarios for RESTful web services and microservices. This ensures you fully understand the issues surrounding stateless authentication and discover a concise approach to solving those issues.By the end of this book, you’ll be able to integrate Spring Security 6 with GraalVM native images seamlessly, from start to finish.

52751
Завантаження...
EЛЕКТРОННА КНИГА

Spring Security. Secure your web applications, RESTful services, and microservice architectures - Third Edition

Mick Knutson, Robert Winch, Peter Mularien

Knowing that experienced hackers are itching to test your skills makes security one of the most difficult and high-pressured concerns of creating an application. The complexity of properly securing an application is compounded when you must also integrate this factor with existing code, new technologies, and other frameworks. Use this book to easily secure your Java application with the tried and trusted Spring Security framework, a powerful and highly customizable authentication and access-control framework.The book starts by integrating a variety of authentication mechanisms. It then demonstrates how to properly restrict access to your application. It also covers tips on integrating with some of the more popular web frameworks. An example of how Spring Security defends against session fixation, moves into concurrency control, and how you can utilize session management for administrative functions is also included.It concludes with advanced security scenarios for RESTful webservices and microservices, detailing the issues surrounding stateless authentication, and demonstrates a concise, step-by-step approach to solving those issues. And, by the end of the book, readers can rest assured that integrating version 4.2 of Spring Security will be a seamless endeavor from start to finish.

52752
Завантаження...
EЛЕКТРОННА КНИГА

Spring System Design in Practice. Build scalable web applications using microservices and design patterns in Spring and Spring Boot

Rodrigo Santiago, Shalini Goyal

Software system design goes beyond just writing code—it requires a structured approach to translating real-world requirements into scalable, maintainable solutions. With Rodrigo Santiago’s hands-on mentoring style and Java Spring expertise, he makes system design accessible to developers at all levels.Spring System Design in Practice guides you through building robust software architectures with Spring. From breaking down complex business needs into actionable use cases to implementing services using Spring Boot, this book equips you with the tools and best practices needed for developing secure, high-performance applications. You'll explore inter-service communication, security, and aspect-oriented programming to streamline development. Covering microservices architecture, the book demonstrates how to create self-configuring, resilient, and event-driven services that integrate seamlessly into the cloud. Through hands-on experience, you'll apply best practices to enhance reliability and scalability while tackling complex challenges such as state management, resilience patterns, concurrency issues, and distributed transactions—including bottlenecks related to asynchronous and reactive programming.By the end of this book, you'll have the confidence to analyze system requirements and design well-structured, scalable architectures.