Search This Blog

Tuesday, October 23, 2018

Programación en Java. Uso de Spring Framework: 2ª Edición (Spanish Edition) review



Java es un lenguaje de programación orientado a objetos desarrollado en la década de 90 por un equipo de programadores capitaneado por James Gosling, en la empresa Sun Microsystems. A diferencia de los lenguajes convencionales, que son compilados a código nativo, el lenguaje Java se compila a un bytecode que es ejecutado por una máquina virtual. El lenguaje de programación Java es el lenguaje estándar de la Plataforma Java, pero no su único lenguaje.

La Plataforma Java es el nombre del entorno computacional, o plataforma, creada por la empresa estadounidense Sun Microsystems y vendida a la empresa Oracle hace algunos años. La plataforma permite desarrollar aplicaciones utilizando cualquiera de los lenguajes creados para la plataforma Java, siendo el lenguaje estándar el que lleva su propio nombre: el Lenguaje Java. Una gran ventaja de la plataforma es que no está sujeta a un único sistema oerativo o hardware, ya que sus programas se pueden ejecutar a través de una máquina virtual que puede ser emulada en cualquier sistema que soporte el programación lenguaje C++.

Desde su lanzamiento, en mayo de 1995, la plataforma Java fue adoptada más rápidamente que cualquier otro lenguaje de programación en la historia de la computación. En el año 2004 Java alcanzó la cifra de 3 millones de desarrolladores en todo el mundo. Java continuó creciendo y hoy en día es una referencia en el mercado de desarrollo de software. Java se hizo popular por su uso en internet y hoy en día tiene su entorno de ejecución presente en navegadores, mainframes, sistemas operativo, dispostivos móviles, tarjetas inteligentes etc.

Spring es un framework que da soporte al desarrollo de aplicaciones empresariales en Java, surgió como una alternativa ligera a la compleja plataforma J2EE, ganando muchísima popularidad entre los programadores.



Read more...

Monday, October 22, 2018

Pro Wicket (Expert's Voice in Java) review



The SourceForge open source lightweight Wicket project is a Java web application framework that takes simplicity, separation of concerns and ease of development to a new level. This book takes a no-nonsense approach, jumping directly to the practical aspects of Wicket. Chapters include Developing Wicket Forms; Validation with Wicket; Developing a Simple Application; Providing a Common Layout; Spring Integration; Wicket Localization; Wicket and Ajax; Custom Components and Wicket Extensions, and Unit Testing. Pro Wicket gets you quickly up and running with the framework and the attractively simple ‘wicket-way’ of addressing web development requirements.





Read more...

Spring 5.0 Microservices - Second Edition: Scalable systems with Reactive Streams and Spring Boot review



A practical, comprehensive, and user-friendly approach to building microservices in Spring

About This Book

  • Update existing applications to integrate reactive streams released as a part of Spring 5.0
  • Learn how to use Docker and Mesos to push the boundaries and build successful microservices
  • Upgrade the capability model to implement scalable microservices

Who This Book Is For

This book is ideal for Spring developers who want to build cloud-ready, Internet-scale applications, and simple RESTful services to meet modern business demands.

What You Will Learn

  • Familiarize yourself with the microservices architecture and its benefits
  • Find out how to avoid common challenges and pitfalls while developing microservices
  • Use Spring Boot and Spring Cloud to develop microservices
  • Handle logging and monitoring microservices
  • Leverage Reactive Programming in Spring 5.0 to build modern cloud native applications
  • Manage internet-scale microservices using Docker, Mesos, and Marathon
  • Gain insights into the latest inclusion of Reactive Streams in Spring and make applications more resilient and scalable

In Detail

The Spring Framework is an application framework and inversion of the control container for the Java platform. The framework's core features can be used by any Java application, but there are extensions to build web applications on top of the Java EE platform.

This book will help you implement the microservice architecture in Spring Framework, Spring Boot, and Spring Cloud. Written to the latest specifications of Spring that focuses on Reactive Programming, you'll be able to build modern, internet-scale Java applications in no time. The book starts off with guidelines to implement responsive microservices at scale. Next, you will understand how Spring Boot is used to deploy serverless autonomous services by removing the need to have a heavyweight application server.

Later, you'll learn how to go further by deploying your microservices to Docker and managing them with Mesos. By the end of the book, you will have gained more clarity on the implementation of microservices using Spring Framework and will be able to use them in internet-scale deployments through real-world examples.

Style and approach

The book takes a step-by-step approach on developing microservices using Spring Framework, Spring Boot, and a set of Spring Cloud components that will help you scale your applications.





Read more...

Building RESTful Web Services with Spring 5 - Second Edition: Leverage the power of Spring 5.0, Java SE 9, and Spring Boot 2.0 review



Find out how to implement the REST architecture to build resilient software in Java with the help of the Spring 5.0 framework.

Key Features

  • Follow best practices and explore techniques such as clustering and caching to achieve a reactive, scalable web service,
  • Leverage the Spring Framework to quickly implement RESTful endpoints,
  • Learn to implement a client library for a RESTful web service using the Spring Framework along with the new front end framework.

Book Description

REST is an architectural style that tackles the challenges of building scalable web services. In today's connected world, APIs have taken a central role on the web. APIs provide the fabric through which systems interact, and REST has become synonymous with APIs.The depth, breadth, and ease of use of Spring makes it one of the most attractive frameworks in the Java ecosystem. Marrying the two technologies is therefore a very natural choice.This book takes you through the design of RESTful web services and leverages the Spring Framework to implement these services. Starting from the basics of the philosophy behind REST, you'll go through the steps of designing and implementing an enterprise-grade RESTful web service. Taking a practical approach, each chapter provides code samples that you can apply to your own circumstances.This second edition brings forth the power of the latest Spring 5.0 release, working with MVC built-in as well as the front end framework. It then goes beyond the use of Spring to explores approaches to tackle resilience, security, and scalability concerns. Improve performance of your applications with the new HTTP 2.0 standards. You'll learn techniques to deal with security in Spring and discover how to implement unit and integration test strategies.Finally, the book ends by walking you through building a Java client for your RESTful web service, along with some scaling techniques using the new Spring Reactive libraries.

What you will learn

  • Deep dive into the principles behind REST
  • Expose CRUD operations through RESTful endpoints with the Spring Framework
  • Devise response formats and error handling strategies, offering a consistent and flexible structure to simplify integration for service consumers
  • Follow the best approaches for dealing with a service's evolution while maintaining backward compatibility
  • Understand techniques to secure web services
  • Comply with the best ways to test RESTful web services, including tips for load testing
  • Optimise and scale web services using techniques such as caching and clustering

Who This Book Is For

This book is intended for those who want to learn to build RESTful web services with the latest Spring 5.0 Framework. To make best use of the code samples included in the book, you should have a basic knowledge of the Java language. Previous experience with the Spring Framework would also help you get up and running quickly.

Table of Contents

  1. A Few Basics
  2. Building RESTful Web Service in Spring 5 with Maven
  3. Flux and Mono (Reactor Support) in Spring
  4. CRUD Operations in Spring REST
  5. CRUD Operations in Plain REST (without Reactive) and File Upload
  6. Spring Security and JWT (JSON Web Token)
  7. Testing RESTful Web Service
  8. Performance
  9. AOP and Logger Controls
  10. Building a REST Client and Error Handling
  11. Scaling
  12. Microservice Basics
  13. Ticket Management - Advanced CRUD




Read more...

Pro Spring 5: An In-Depth Guide to the Spring Framework and Its Tools review



Master Spring basics and core topics, and share the authors’ insights and real–world experiences with remoting, Hibernate, and EJB. Beyond the basics, you'll learn how to leverage the Spring Framework to build the various tiers and parts of an enterprise Java application: transactions, web and presentation tiers, deployment, and much more. A full sample application allows you to apply many of the technologies and techniques covered in Pro Spring 5 and see how they work together.

This book updates the perennial bestseller with the latest that the new Spring Framework 5 has to offer. Now in its fifth edition, this popular title is by far the most comprehensive and definitive treatment of Spring available. It covers the new functional web framework and interoperability with Java 9.

After reading this definitive book, you'll be armed with the power of Spring to build complex Spring applications, top to bottom.

The agile, lightweight, open-source Spring Framework

continues to be the de facto leading enterprise Java application development framework for today's Java programmers and developers. It works with other leading open-source, agile, and lightweight Java technologies such as Hibernate, Groovy, MyBatis, and more. Spring now works with Java EE and JPA 2 as well.

What You'll Learn

  • Discover what’s new in Spring Framework 5
  • Use the Spring Framework with Java 9
  • Master data access and transactions 
  • Work with the new functional web framework 
  • Create microservices and other web services 

Who This Book Is For

Experienced Java and enterprise Java developers and programmers. Some experience with Spring highly recommended.  






Read more...

Sunday, October 21, 2018

Spring 5 Design Patterns: Master efficient application development with patterns such as proxy, singleton, the template method, and more review



Key Features

  • Explore best practices for designing an application
  • Manage your code easily with Spring's Dependency Injection pattern
  • Understand the benefits that the right design patterns can offer your toolkit

Book Description

Design patterns help speed up the development process by offering well tested and proven solutions to common problems. These patterns coupled with the Spring framework offer tremendous improvements in the development process.

The book begins with an overview of Spring Framework 5.0 and design patterns. You will understand the Dependency Injection pattern, which is the main principle behind the decoupling process that Spring performs, thus making it easier to manage your code. You will learn how GoF patterns can be used in Application Design. You will then learn to use Proxy patterns in Aspect Oriented Programming and remoting. Moving on, you will understand the JDBC template patterns and their use in abstracting database access. Then, you will be introduced to MVC patterns to build Reactive web applications. Finally, you will move on to more advanced topics such as Reactive streams and Concurrency.

At the end of this book, you will be well equipped to develop efficient enterprise applications using Spring 5 with common design patterns

What you will learn

  • Develop applications using dependency injection patterns
  • Learn best practices to design enterprise applications
  • Explore Aspect-Oriented Programming relating to transactions, security, and caching.
  • Build web applications using traditional Spring MVC patterns
  • Learn to configure Spring using XML, annotations, and Java.
  • Implement caching to improve application performance.
  • Understand concurrency and handle multiple connections inside a web server.
  • Utilizing Reactive Programming Pattern to build Reactive web applications.

About the Author

Dinesh Rajput is the chief editor of a website Dineshonjava, a technical blog dedicated to the Spring and Java technologies. It has a series of articles related to Java technologies. Dinesh has been a Spring enthusiast since 2008 and is a Pivotal Certified Spring Professional, an author, and a blogger. He has more than 10 years of experience with different aspects of Spring and Java design and development. His core expertise lies in the latest version of Spring Framework, Spring Boot, Spring Security, creating REST APIs, Microservice Architecture, Reactive Pattern, Spring AOP, Design Patterns, Struts, Hibernate, Web Services, Spring Batch, Cassandra, MongoDB, and Web Application Design and Architecture.

Table of Contents

  1. Overview of Spring Framework 5.0 and Used Design Patterns
  2. Best Practices with Consideration of Patterns for Spring Application
  3. Consideration of Structural and Behavioural Patterns into Spring
  4. Wiring beans using Dependency Injection Pattern
  5. Understanding Bean Life cycle and Used Patterns
  6. Spring Aspect Oriented Programming with Proxy Pattern
  7. Accessing Database with spring and JDBC template patterns
  8. Accessing Database with spring and ORM template patterns
  9. Improving performance of Application using Caching patterns
  10. Implementing MVC pattern in a Web Application with Spring
  11. Using Reactive Pattern in Programming
  12. Implementing Concurrency Patterns




Read more...

Getting started with Spring Framework: covers Spring 5 review



PDF version of this book is now available: smashwords.com/books/view/842918

Chapter 1 of this book is now available onlinebit.ly/2z8ErGg

4th Edition reflects changes to Spring 5, and includes new chapters on Functional and Reactive application development. Reactive application development chapters cover Reactive Streams specification, RxJava 2, Reactor, Spring WebFlux, and reactive support in Spring Data and Spring Security

The examples (consisting of 88 sample projects) that accompany this book are based on Spring 5.0.1 and Java 9. You can download the examples described in this book from the following GitHub project: github.com/getting-started-with-spring/4thEdition 

This book covers: 
- Spring Framework basics 
- Aspect-oriented programming 
- Database interaction using Spring and Hibernate/JPA 
- Spring Data JPA 
- Spring Data MongoDB 
- Messaging, emailing and caching support 
- Spring Web MVC 
- Developing RESTful web services using Spring Web MVC 
- Functional programming using lambdas and method references 
- Stream API 
- Reactive programming using RxJava 2 and Reactor 
- Spring WebFlux 
- Reactive support in Spring Data MongoDB and Spring Security 
- Developing reactive RESTful web services using Spring WebFlux, Spring Security and Spring Data MongoDB




Read more...