What s new in Spring 3.1?



Similar documents
Spring 3.1 to 3.2 in a Nutshell. Sam Brannen Senior Software Consultant

OpenShift is FanPaaStic For Java EE. By Shekhar Gulati Promo Code JUDCON.IN

Framework Adoption for Java Enterprise Application Development

Developing modular Java applications

JVA-122. Secure Java Web Development

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

Spring Security 3. rpafktl Pen source. intruders with this easy to follow practical guide. Secure your web applications against malicious

SPRING INTERVIEW QUESTIONS

Java EE 7: Back-End Server Application Development

Complete Java Web Development

Operations and Monitoring with Spring

Java EE Web Development Course Program

Java Platform, Enterprise Edition (Java EE) From Yes-M Systems LLC Length: Approx 3 weeks/30 hours Audience: Students with experience in Java SE

A Guide to Migrating Enterprise Applications to Spring

COMPARISON BETWEEN SPRING AND ASP.NET FRAMEWORKS

Nicholas S. Williams. wrox. A Wiley Brand

<Insert Picture Here> Java EE 7. Linda DeMichiel Java EE Platform Lead

EBA Procurement Procedure for the Supply of Website Services 2016: Annex 1 System Architecture Document SYSTEM ARCHITECTURE DOCUMENT

Module Title: : Cloud Application Development

Java Building Web Apps with Spring Rob Harrop, Interface21 Ltd.

Java EE 6 development with Eclipse, Netbeans, IntelliJ and GlassFish. Ludovic Champenois Oracle Corporation

CrownPeak Java Web Hosting. Version 0.20

Java Servlet 3.0. Rajiv Mordani Spec Lead

Spring Security SAML module

Enterprise Application Development In Java with AJAX and ORM

JVA-561. Developing SOAP Web Services in Java

Building Web Applications, Servlets, JSP and JDBC

Liferay Enterprise ecommerce. Adding ecommerce functionality to Liferay Reading Time: 10 minutes

Tomcat 5 New Features

Dragan Juričić, PBZ May 2015

Rapid Application Development. and Application Generation Tools. Walter Knesel

Programma corso di formazione J2EE

Java EE 6 Ce qui vous attends

<Insert Picture Here> Hudson Security Architecture. Winston Prakash. Click to edit Master subtitle style

This presentation will provide a brief introduction to Rational Application Developer V7.5.

RESIN APPLICATION SERVER JAVA EE 6 WEB PROFILE

Mastering Tomcat Development

<Insert Picture Here> Oracle Mobile Enterprise Application Platform Overview

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

White Paper: Why Upgrade from WebSphere Application Server (WAS) v7 to v8.x?

Servlet 3.0. Alexis Moussine-Pouchkine. mercredi 13 avril 2011

The Spring Framework: An Open Source Java Platform for Developing Robust Java Applications

<Insert Picture Here> Java EE 7: the New Cloud Platform

Apache. Version 1.0. Developer Guide

Spring Web Flow Reference Guide

Research Article. ISSN (Print) *Corresponding author Lili Wang

Weblogic 12c: Mastering The Cloud Foundation. Patrick Dewael & Kristof Satory

JBS-102: Jboss Application Server Administration. Course Length: 4 days

Course Name: Course in JSP Course Code: P5

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

The Java EE 6 Platform. Alexis Moussine-Pouchkine GlassFish Team

Install guide for Websphere 7.0

Specialized Programme on Web Application Development using Open Source Tools

Apache Roller, Acegi Security and Single Sign-on

Introduction to Apache Roller. Matt Raible Apache Roller Committer June 2007

JAVA/J2EE DEVELOPER RESUME

Glassfish, JAVA EE, Servlets, JSP, EJB

Module 13 Implementing Java EE Web Services with JAX-WS

The Server.xml File. Containers APPENDIX A. The Server Container

JBoss JEE5 with EJB3.0 on NonStop. JAVA SIG, San Jose

Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB

An introduction to creating JSF applications in Rational Application Developer Version 8.0

SSC - Web development Model-View-Controller for Java web application development

JSR-303 Bean Validation

Application Security

1. Spring Batch Admin User Guide

IBM Boston Technical Exploration Center 404 Wyman Street, Boston MA IBM Corporation

Web. Services. Web Technologies. Today. Web. Technologies. Internet WWW. Protocols TCP/IP HTTP. Apache. Next Time. Lecture # Apache.

Building and Using Web Services With JDeveloper 11g

<Insert Picture Here> GlassFish v3 - A Taste of a Next Generation Application Server

Workshop for WebLogic introduces new tools in support of Java EE 5.0 standards. The support for Java EE5 includes the following technologies:

OXAGILE RESUMES SUMMARY OF QUALIFICATIONS TECHNICAL SKILLS SENIOR JAVA SOFTWARE ENGINEER

<Insert Picture Here> Building a Complex Web Application Using ADF and Siebel

Oracle WebLogic Server

Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

Portals, Portlets & Liferay Platform

Course Number: IAC-SOFT-WDAD Web Design and Application Development

JBoss Enterprise App. Platforms Roadmap. Rich Sharples Director of Product Management, Red Hat 4th April 2011

Java (J2SE & J2EE) and Web Development Training Catalog

hybris Architecture and Technology

Expert Spring MVC and Web Flow

Quick Guide For Using Spring Roo and Spring Security In Rapid Web Application Development:

MANNING. Ken Rimple Srini Penchikala FOREWORD BY BEN ALEX

}w!"#$%&'()+,-./012345<ya

Creating an application with the Virgo Web Server

APAC WebLogic Suite Workshop Oracle Parcel Service Overview. Jeffrey West Application Grid Product Management

Running and Testing Java EE Applications in Embedded Mode with JupEEter Framework

Eclipse Web Tools Platform. Naci Dai (Eteration), WTP JST Lead

Supporting Multi-tenancy Applications with Java EE

Curriculum Vitae. Samuel H. Brannen, Jr. Auf der Grueb Meilen Switzerland sam [at] sambrannen [dot] com

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Core Java+ J2EE+Struts+Hibernate+Spring

TIBCO Silver Fabric Continuity User s Guide

Pivotal tc Server BUILDING AND RUNNING SPRING APPLICATIONS

How To Develop An Application Developer For An Ubio Websphere Studio 5.1.1

Transcription:

What s new in Spring 3.1? Arjen Poutsma @poutsma SpringSource - a division of VMware 1

Overview Spring 3.0 Spring 3.1 Release Schedule 2

Spring 3.0 3

Spring 3.0 Themes Java 5+ Spring Expression Language REST support Declarative model validation Early support for Java EE 6 4

Spring 3.1 5

Spring 3.1 Themes Environment abstraction Java application configuration Cache abstraction @MVC improvements 6

Environment Abstraction 7

Development Integration Testing Pre- Production Production Application Spring IDE Tomcat tc Server tc Server Cloud Foundry SpringSource Confidential. Do not distribute without express permission 8

The Environment Challenge Various environments Development in IDE Integration testing in container Pre-production in container Production New: the Cloud Bonus challenge: immutable artefacts 9

Current solutions JNDI Only works in container System Properties Requires access to environment Separate application contexts Separate artefacts PropertyPlaceHolder- Configurer & friends Separate artefacts Requires access to environment Relatively confusing 10

Dependency Injection Simple Object AOP Portable Service Abstractions SpringSource Confidential. Do not distribute without express permission 11

Environment Abstraction Group bean definitions by profile e.g. development, testing, production Specify which environment to use 12

Group Beans 13

Grouping Beans (2) 14

Activate Profile 15

Activate Profile (2) System properties -Dspring.profiles.active= dev -Dspring.profiles.default= common TestContext Framework 16

Java Application Configuration 17

Java-Based Application Configuration XML JavaConfig Namespaces @Enable* FactoryBean Builders GenericXmlContextLoader AnnotationConfigContextLoader 18

@Enable 19

@Enable @EnableTransactionManagement @EnableAsync @EnableScheduling @EnableLoadTimeWeaving @EnableWebMvc @EnableAspectJAutoProxy 20

c Namespace 21

Cache Abstraction 22

Caching Abstraction @Cacheable and @CacheEvict Pluggable! 23

@Cacheable 24 24

Cache Configuration 25

Cache Providers Two available implementations EhCache ConcurrentMap JSR 107 Pluggable! 26

@MVC Improvements 27

@MVC Introduced in Spring 2.5 Major improvements in 3.0 REST Further improvements in 3.1 Complete refactoring 28

@MVC arguments and return values Arguments ModelAndView ServletRequest and ServletResponse @RequestBody, @RequestHeader Return Types ModelAndView @ResponseBody ResponseEntity HttpEntity, 29

Behind the Curtains 30

Custom argument and return value handlers 31

@MVC 2.0 Enabled by default <mvc:annotation-driven/> @EnableWebMvc 32

Consumes and Produces Two new elements on the RequestMapping annotation Consumes: consumable media types Content-Type header Produces: producible media types Accept header 33

Consumes 34

Produces 35

Other @MVC tid-bits @EnableWebMvc WebMvcConfiguration @PathVariable added to model Uri templates in redirect: locations Servlet 3.0 support no web.xml asynch requests file upload support 36

Summary 37

Spring 3.1 Environment and Profiles Java-based Configuration improvements Testing with @Configuration and Profiles Cache Abstraction MVC and REST Improvements Servlet 3.0 c: Namespace 38

Release Schedule RC1 out yesterday! GA Soon Spring 3.2 Java SE 7 JDBC 4.1, JSF 2.2, JPA 2.1 Fork-join 39

Q & A If time permits... 40