Synopses & Reviews
With over 3 million users/developers, Spring Framework is the leading ?out of the box? Java framework. Spring addresses and offers simple solutions for most aspects of your Java/Java EE application development, and guides you to use industry best practices to design and implement your applications.
The release of Spring Framework 3 has ushered in many improvements and new features. Spring Recipes: A Problem-Solution Approach, Second Edition continues upon the bestselling success of the previous edition but focuses on the latest Spring 3 features for building enterprise Java applications. This book provides elementary to advanced code recipes to account for the following, found in the new Spring 3: Spring fundamentals: Spring IoC container, Spring AOP/ AspectJ, and more Spring enterprise: Spring Java EE integration, Spring Integration, Spring Batch, jBPM with Spring, Spring Remoting, messaging, transactions, scaling using Terracotta and GridGrain, and more. Spring web: Spring MVC, Spring Web Flow 2, Spring Roo, other dynamic scripting, integration with popular Grails Framework (and Groovy), REST/web services, and more.
This book guides you step by step through topics using complete and real-world code examples. Instead of abstract descriptions on complex concepts, you will find live examples in this book. When you start a new project, you can consider copying the code and configuration files from this book, and then modifying them for your needs. This can save you a great deal of work over creating a project from scratch What you?ll learn How to use the IoC container and the Spring application context to best effect. Spring's AOP support, both classic and new Spring AOP, integrating Spring with AspectJ, and load-time weaving. Simplifying data access with Spring (JDBC, Hibernate, and JPA) and managing transactions both programmatically and declaratively. Spring's support for remoting technologies (RMI, Hessian, Burlap, and HTTP Invoker), EJB, JMS, JMX, email, batch, scheduling, and scripting languages. Integrating legacy systems with Spring, building highly concurrent, grid-ready applications using Gridgain and Terracotta Web Apps, and even creating cloud systems. Building modular services using OSGi with Spring DM and Spring Dynamic Modules and SpringSource dm Server. Delivering web applications with Spring Web Flow, Spring MVC, Spring Portals, Struts, JSF, DWR, the Grails framework, and more. Developing web services using Spring WS and REST; contract-last with XFire, and contract?first through Spring Web Services. Spring's unit and integration testing support (on JUnit 3.8, JUnit 4, and TestNG). How to secure applications using Spring Security. Who this book is for
This book is for Java developers who would like to rapidly gain hands-on experience with Java/Java EE development using the Spring framework. If you are already a developer using Spring in your projects, you can also use this book as a reference--you'll find the code examples very useful. Table of Contents Introduction to Spring Advanced Spring IoC Container Spring AOP and AspectJ Support Scripting in Spring Spring Security Integrating Spring with Other Web Frameworks Spring Web Flow Spring @MVC Spring RESTSpring and Flex Grails Spring Roo Spring Testing Spring Portlet MVC Framework Data Access Transaction Management in Spring EJB, Spring Remoting, and Web Services Spring in the Enterprise Messaging Spring Integration Spring Batch Spring on the Grid jBPM and Spring OSGi and Spring
Synopsis
The Spring framework is growing. It has always been about choice. Java EE focused on a few technologies, largely to the detriment of alternative, better solutions. When the Spring framework debuted, few would have agreed that Java EE represented the best-in-breed architectures of the day. Spring debuted to great fanfare, because it sought to simplify Java EE. Each release since marks the introduction of new features designed to both simplify and enable solutions. With version 2.0 and later, the Spring framework started targeting multiple platforms. The framework provided services on top of existing platforms, as always, but was decoupled from the underlying platform wherever possible. Java EE is a still a major reference point, but it's not the only target. OSGi (a promising technology for modular architectures) has been a big part of the SpringSource strategy here. Additionally, the Spring framework runs on Google App Engine. With the introduction of annotation-centric frameworks and XML schemas, SpringSource has built frameworks that effectively model the domain of a specific problem, in effect creating domain-specific languages (DSLs). Frameworks built on top of the Spring framework have emerged supporting application integration, batch processing, Flex and Flash integration, GWT, OSGi, and much more.
Synopsis
The release of the Spring Framework 3.0 has added many improvements and new features. Spring Web Recipes focuses on the latest available web application and web services tools and techniques that Spring has to offer, including Spring MVC, Web Flow, REST, web services, cloud computing, dynamic web scripting, and more. What you'll learn The most relevant aspects of the web technologies in the Spring Framework and its fundamentals to let you perform basic and complex web application development How to rapidly code complete real-world examples How to reuse live code examples for your own Spring-related projects How to build web applications using Spring Web Flow, Spring MVC, Spring Portals, the Grails framework, and more How to conduct web services using Spring WS and REST How to do dynamic web scripting using Spring and languages like Groovy How to create cloud development applications using Spring Who is this book for?
This book is for anyone who has some basic knowledge of Java and would like to step into Java web development rapidly. Readers will be able to use the Spring Framework to develop Java-based and even Groovy-based web applications.
Synopsis
Focusing on the latest available Spring 2.5 fundamentals that are required for building a three-tier Java EE application with Web interface and database persistence, this title introduces topics through complete and real-world examples that readers can follow step by step.