Spring framework
Spring is an open source framework for the Java platform and .NET framework that focuses on managing business objects with a layered architecture. When developing under the open source Spring framework for Java and .NET, what are the best practices in transaction management, data access and aspect-oriented programming? Learn about using the Spring IDE and mastering the core container and security. Stay up-to-date on Spring development tools, Spring Web services and Spring python. In this section on Spring, we offer news, research and tutorials to help you develop applications, keep them secure and get a handle on managing data, objects and the core container.
Top Stories
-
Tutorial
30 Mar 2022
An example of how suppressed exceptions in Java work
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
By- Cameron McKenzie, TechTarget
-
Quiz
08 Sep 2021
A monolithic vs. cloud-native migration quiz for developers
Are you prepared for a cloud-native migration? This quiz contrasts the microservice vs. monolithic approaches to software development and will help gauge your knowledge. Continue Reading
By- Cameron McKenzie, TechTarget
-
Blog Post
30 Sep 2024
Profiles, Spring Boot and application properties files
Spring profiles are a powerful and flexible tool for Java developers to build scalable, enterprise-grade applications, from customizing configurations to altering IoC behavior across environments. Continue Reading
By- Cameron McKenzie, TechTarget
-
Blog Post
03 Mar 2023
The 7 benefits of Java
The 7 benefits of Java that Sun Microsystems bragged about in 1995 are just as relevant today as they were then. Here's a look at 7 Java benefits and an analysis of what they mean for software ... Continue Reading
By- Cameron McKenzie, TechTarget
-
Blog Post
20 Apr 2022
CDI Full vs CDI Lite: What's new in Contexts and Dependency Injection 4.0
There's an interesting change packaged inside the CDI 4.0 release that will change the way you think about the API. Version 4.0 of Jakarta Contexts and Dependency Injection (CDI) changed the ... Continue Reading
-
Tutorial
30 Mar 2022
An example of how suppressed exceptions in Java work
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
By- Cameron McKenzie, TechTarget
-
Quiz
08 Sep 2021
A monolithic vs. cloud-native migration quiz for developers
Are you prepared for a cloud-native migration? This quiz contrasts the microservice vs. monolithic approaches to software development and will help gauge your knowledge. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
06 Aug 2021
How to build a Spring Boot 12-Factor app
Here we look at how the Spring Boot framework supports the Twelve-Factor App methodology, and where tools such as GitHub, Docker and Kubernetes fill in the voids. Continue Reading
By- Cameron McKenzie, TechTarget
-
Definition
16 Jul 2021
What is inversion of control (IoC)?
Inversion of control, also known as the Hollywood Principle, changes the control flow of an application and allows developers to sidestep some typical configuration hassles. Continue Reading
-
Blog Post
28 May 2021
What is a bare repository in Git?
A bare Git repo has all the capabilities of a non-bare repository, with the exception that it’s not meant for local development. Continue Reading
By- Cameron McKenzie, TechTarget
-
News
02 Sep 2020
Microsoft, VMware make Azure Spring Cloud GA
Azure Spring Cloud has reached general availability as a service that enables Spring Boot developers to build and run Java apps on Microsoft's Azure cloud platform. Continue Reading
-
Feature
11 Nov 2019
6 quick facts about a Java microservices architecture
Building microservices in Java may not be as simple as it seems. Here are six quick facts and tips that will help you with Java-based microservices development. Continue Reading
By- Josh Kolarac, Assistant Site Editor
-
News
09 Oct 2019
Pivotal, Microsoft team up to deliver Azure Spring Cloud
Azure Spring Cloud, jointly developed by Microsoft and Pivotal, lets Spring developers bring apps to the cloud without concern for the underlying cloud infrastructure. Continue Reading
-
Opinion
08 Feb 2019
RESTful parameters antipattern considerations for queries, paths
Choose carefully for path and query parameters in URL design. Lackluster choices in the design phase can plague client resource access down the road. Continue Reading
By- Cameron McKenzie, TechTarget
-
Blog Post
06 Jan 2019
How Atomist's Rod Johnson works with pull requests
Pull requests play an important role in any large software development project. They facilitate efficient code review, reduce bugs, track progress, and help coordinate a shared understanding of ... Continue Reading
-
Video
01 Jan 2019
Step-by-step RESTful web service example in Java using Eclipse and TomEE Plus
In this easy-to-follow JAX-RS tutorial, we provide a RESTful web service example in Java using Eclipse and TomEE Plus, where we go from development to testing in less than 15 minutes. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
11 Dec 2018
Avoid boilerplate code with this typable Spring beans tutorial
Java is always criticized for being bloated. But there are ways to minimize all the fill-in code. This Spring beans tutorial shows you how to write more efficient applications. Continue Reading
By- Mark Spritzler, Perfect World Programming
-
Feature
19 Sep 2018
How to become a good software architect in 13 steps
It's not easy to find your role in an IT enterprise setting. But if you can follow these 13 steps on how to become a software architect, you'll be well on your way to success. Continue Reading
By- Mark Spritzler, Perfect World Programming
-
Feature
27 Jul 2018
Meaning of inversion of control in Spring and Java: IoC explained
What is inversion of control, and why has inversion of control in Spring and Java become such a core development concept? Continue Reading
By- Cameron McKenzie, TechTarget
-
Video
26 Jul 2018
Step-by-step Spring Boot RESTful web services example in Java using STS
In a previous tutorial, we explained the basic tenets of good RESTful web service design. In this step-by-step Spring Boot restful web services example, we implement it. Continue Reading
By- Cameron McKenzie, TechTarget
-
Video
07 Jul 2018
RESTful APIs tutorial: Learn key web service design principles
RESTful Java API designs shouldn't be hard to get right. This RESTful APIs tutorial shows core RESTful principles concerning URL structure and the effective use of HTTP methods. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
30 Jun 2018
Spring MVC tutorial: How Spring Boot web MVC makes Java app development easy
Spring Boot has provided an opinionated approach to developing microservices. In this Spring MVC tutorial, we show how Spring Boot has changed Java web development as well. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
18 Jan 2018
Spring creator Rod Johnson releases API for implementing DevOps
Find out about Rod Johnson's latest project, which promises to simplify the process of implementing DevOps and streamlining the workflow between development and operations. Continue Reading
-
Tutorial
23 May 2016
Portlet filters and Spring tutorial
Working with a complex product like WebSphere, it helps to integrate a lightweight framework. This portal and Spring tutorial demonstrates how to use portal filters with Spring. Continue Reading
By- Sal Pece
-
Feature
16 Feb 2016
Five drawbacks to choosing JSF as your web application framework
Being packed as part of the Java EE web profile, JSF is a compelling web framework to choose, but here are five reasons why you might want to think twice about using JavaServer Faces as UI framework for your project. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
21 Jan 2016
How to integrate Spring Cache with an In-Memory Data Grid (IMDG)
Interested in combining the efficiencies of Spring Cache with the power of an In-Memory Data Grid (IMDG). This simple tutorial demonstrates just how easy the process is. Continue Reading
By- Frank Kamran
-
Tutorial
04 May 2015
Asynchronously invoking a second managed bean method in JavaSever Faces (JSF)
The new features added to JSF make doing an asynchronous call to the server incredibly easy, but what if you need to follow that first asynchronous call with a second asynchronous call to a JavaServer Faces managed bean? It's a bit of work, but in this tutorial, we walk you through it. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
04 May 2015
How to invoke a JSF managed bean asynchronously through JavaScript
Sometimes great frameworks like JSF, Wicket or Spring MVC make simple tasks surprisingly difficult to do. With JavaServer Faces, the simple task of invoking a method on a managed bean is actually a bit of a chore. In this tutorial, we tackle that chore together. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
07 Sep 2014
Advanced JSF Tutorial: The single page interface (SPI) with Facelets, Ajax and HTML5
Some say it's impossible, but if you really understand the technology, you will realize that creating a single page interface (SPI) with JSF, Facelets, Ajax and HTML really isn't all that hard. In fact, JavaServer Faces makes it pretty easy! Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
31 Aug 2014
JSF Tutorial: Completing the Ajax based Facelets application
If you're using JSF, you're probably using Facelets, and if you're creating modern web based applications, you'll likely want to use Ajax based request-response cycles. Here we conclude our tutorial on JavaServer Faces, Facelets and Ajax based programming. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Integrating Ajax into your Facelets pages: Death to JSF's request-response cycle
If you're doing Facelets development, this might be the most important tutorial you will ever read. It will explain to you how to throw out that annoying request-response cycle, and explain how to integrate Ajax based JSF components with a dynamically re-rendering Facelets page snippet. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Template based web design with JSF Facelets: ui:insert versus ui:include
When creating a web page template with JSF, a developer needs to know the difference between ui:insert and ui:include. They're actually quite different, but the similar sounding names can create confusion. Here's a great example of when to use ui:insert and how to properly use ui:include. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
20 Jul 2014
Creating pages based on a JSF template: Using the Facelets ui:define tag
What do you do once you've set up a handsome page template using the Facelets functions that come with JSF 2.x? Well, you start creating new pages, meshing those ui:define tags in with ui:composition and ui:insert. It's easier than it sounds, trust me. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
19 Jul 2014
Turning a web page into a JSF 2.0 template with Facelets
How do you take a web page and turn it into a template using Facelets as the template engine? It takes some JSF, some HTML, maybe some CSS, and lots of JSF UI tags, but overall, it's an easy and simple process if you follow this tutorial. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
19 Jul 2014
An introduction to template building with Facelets, CSS, HTML and JSF 2.2
Facelets is a great technology for creating templates for websites and then adding dynamic functionality. In this tutorial, we will introduce the idea of creating a template page with CSS, HTML, JavaScript and JavaServer Faces 2.2 (JSF). Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
30 Jun 2014
Adding the MBean to the JMX server
Part two of this tutorial delves into how and why to add MBean to the JMX server. Continue Reading
By- Rob Terpilowski
-
Tutorial
27 Jun 2014
Configuring VisualVM to connect to the app server
Learn how to configure VisualVM in part three of this tutorial. Continue Reading
By- Rob Terpilowski
-
Tutorial
24 Jun 2014
Monitor your Web applications using JMX and Spring
Learn how to use JMX and Spring to monitor new Web application projects. Continue Reading
By- Rob Terpilowski
-
Tip
05 Jan 2014
With Java EE 7, your Design Patterns are dead. And your EAR is ugly too.
Adam Bien isn't without opinions when it comes to modern day enterprise programming techniques. From the use of design patterns, to the manner in which projects and modules are divided, Bien isn't without opinions when it comes to developing Java applications. Continue Reading
By -
Tip
04 Oct 2013
Annotation versus XML configuration: Which JPA option to choose?
A common debate in the JPA community is whether to configure applications using an XML or annotations based approach. Here are some reasons why you might want to choose XML instead. Continue Reading
By- Lukas Stewart
-
Tip
04 Oct 2013
Simplified ORM configuration with Spring, JPA and Hibernate path scanning
Configuring Spring, JPA, Hibernate or other ORM technologies can be a challenge. One way to simplify ORM configuration is to configure package scanning for entity classes. Continue Reading
By- Lukas Stewart
-
Tutorial
27 Jul 2013
JSR-286 development tutorial: Linking back to the portal with the PortletURL
In this JSR-286 development tutorial we look at the PortletURL and the challenge developers face when trying to link back to the portal, a portal page or a given portlet instance. Continue Reading
By- Sal Pece
-
Feature
21 Jul 2013
JSR-286 portlet development tutorial and technology guide
This JSR-286 Portlet Development Tutorial and Technology Guide is designed to help enterprise Java professionals gain the knowledge they need to excel in the emerging portal and portlet development space. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
14 Jul 2013
Hibernate still leads the way with search, envers and multitenancy support
A great deal of features have been added to the JPA 2.1 specification, but Hibernate still leads the way with features surrounding search, envers and multitenancy support. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
05 May 2013
Two most commonly misconfigured Tomcat performance settings
Tomcat on the server is different from Tomcat on the desktop, but too many system admins fail to optimize their production servers for performance. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
05 May 2013
Tomcat performance optimization through consolidated log file handlers
By default Tomcat uses several log file handlers, but performance can easily be optimized by configuring the server to use only one. Continue Reading
By- Lukas Stewart
-
Tutorial
11 Jan 2013
Spring sucks? Refuting the case against Spring
Because some old school J2EE types think Spring sucks, Ken Rimple takes some time to refute common complaints about Spring. Continue Reading
By- Ken Rimple
-
Tutorial
11 Jan 2013
Java EE vs. Spring: The two are not quite equivalent
Java EE has certainly improved since the days of J2EE, but a look at Spring and Java EE today shows Java still has some catching up to do. Continue Reading
By- Ken Rimple
-
Tutorial
11 Jan 2013
A Spring summary: The Spring framework is still relevant
Ken Rimple, Spring guru and co-author of 'Spring Roo in Action,' introduces the Spring framework and presents three reasons why Spring is still relevant. Continue Reading
By- Ken Rimple
-
Feature
10 Jan 2013
How NoSQL, MySQL and MongoDB worked together to solve a big-data problem
Choosing between schemaless NoSQL databases and strong-schema relational designs isn't an either-or decision, as this case study points out. When dealing with their big data problem, Craigslist decided that their MySQL servers could use a little help from MongoDB, and putting the two technologies together created a better system with greater availability, scalability and performance. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
01 Jun 2012
Scaling Web applications with Scala, Clojure and Groovy
Scaling Web applications written in Java can be difficult due to thread concurrency and locking issues. However, immutable peripheral languages like Scala, Groovy, and Clojure can make scaling up more feasible. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
31 May 2012
Why Java applications fail to scale linearly: A simple explanation
The process of scaling up Java applications often runs into the problem of diminishing returns, where adding another processor no longer adds significant benefit. Why won't Java programs scale? Here's your answer. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
30 May 2012
Java EE 7 migration: Risk mitigation strategies
Some enterprise Java shops are weighing the risks of a migration to Java EE 7 against the potential benefits, which are incremental and cloud focused. Continue Reading
By -
Tip
26 Jan 2012
Java 7 and the intricacies of safe and unsafe casting
One of the problems with casting is that it does have the potential to cause a loss of precision, especially if the number that gets cast does indeed fall outside of the range of the target type. Here we will explain why this happens. Continue Reading
By- Cameron McKenzie and Sal Pece
-
Feature
26 Jan 2012
Has Computer Programming Really Changed Much Since Lovelace's Time?
Everyone always talks about these new computer programming languages, and how great one is over the other. But really, has computer programming really changed that much over time? Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
12 Jan 2012
New Java 7 Features: How to Use a More Precise Rethrow in Exceptions from Project Coin
Afficionados of other languages such as Scala or Clojure are always slagging the fact that Java is too verbose and cumbersome. So, it's not too surprising to find out that Java 7 introduced a number of new facilities that can help to trim down the code an application developer is required to write. Continue Reading
By- Sal Pece
-
Tutorial
11 Nov 2011
Writing Java code in the cloud
The road bumps one experiences when they drive towards cloud computing can be avoided, especially when one has the opportunity to learn from the experiences of those who have gone before. Continue Reading
By- James Denman
- Cameron McKenzie, TechTarget
-
Feature
04 Nov 2011
Modularizing the Hibernate SessionFactory with the Spring framework
This paper outlines a method for modular application development using Spring and Hibernate. The approach described has similarities to the OSGi or Spring DM approach. Continue Reading
By- Dr. Yun Ding and Karsten Klein
-
Tip
17 Aug 2011
Spring Ehcache integration (Second-level caching in Hibernate)
Integrating Ehcache with Spring-based applications is actually fairly easy. Let's look at this integration with a sample BuddyManagement application. Continue Reading
By- Nirupa Katare
-
Tip
22 Jul 2011
Choosing Java frameworks for performance
Frank Cohen, CEO and founder of PushToTest, presents a round-up of opinions on which Java frameworks deliver a light-weight, RIA-based, high developer productivity platform. What do you think? Read the full conversation and join in. Continue Reading
-
News
18 Jul 2011
jqGrid, REST, AJAX and Spring MVC integration
More than two years back I wrote an article on how two implement elegant CRUD in Struts2. Today I have taken a much more lightweight and modern approach with a set of popular and well established frameworks and libraries. We will use Spring MVC on the back-end to provide a REST interface to our resources, the jqGrid plugin for jQuery to render tabular grids, and we'll wire everything up with a pinch of JavaScript and AJAX. Continue Reading
-
News
05 Jul 2011
Rod Johnson clarifies his thoughts on OSGi
"I’d like to add some clarification here, and say a little more about our experience with OSGi and my conclusions from it—note the emphasis on my, as my opinions aren’t always those of SpringSource or Vmware [...] I don’t think OSGi is a bad technology—merely one that isn’t applicable to every application out there and one which therefore didn't belong at the core of our business. […]" Continue Reading
-
News
18 May 2011
Code generation for Spring MVC3, JQuery, JPA2 CRUD Application
We are pleased to announce some major improvements in the Spring MVC 3 application that SpringFuse generates. We introduce a brand new look'n feel with BluePrintCss and jQueryUI, a much better navigation covering all associations, ajax auto-complete instead of select box for many-to-one association, and joda time integration. Continue Reading
-
News
05 May 2011
Scope strategies: Spring and Guice
Last year, we used Guice in order to implement an Android solution for LeapFactor. It was my first Guice project, so I didn't have experience with the framework. On the other hand, I have had experience on many projects using Spring. A crucial difference is the default scope: Spring beans by default are singleton, while Guice beans are prototype. Continue Reading
-
News
26 Apr 2011
Integrating JBehave with Selenium 2 and Spring Framework
This post focuses on three technologies: JBehave for acceptance tests, Selenium for web application testing, and Spring dealing with infrastructure. Learn more about integrating JBehave with Selenium 2 and Spring. Follow a walk through of a very simple Web application created with Spring MVC and acceptance tests created using JBehave and Selenium2. Continue Reading
-
News
14 Mar 2011
Sculptor 2.0 is out
The new REST support in Sculptor makes it very easy to expose restful services by using conventions and easy delegation to Services to reduce boilerplate coding. Spring MVC is the underlaying REST framework. Continue Reading
-
Feature
30 Nov 2010
Applying control theory concepts in software applications
Control theory is a discipline originated in mathematics and engineering science but was adopted also in psychology, social sciences and other research domains. It deals with influencing the behaviour of dynamical systems. In this article it is shown that concepts of control theory can also be applied to software architectures that have a need for controlling dynamical behaviour. Software applications that react to external input in form of GUI requests, batch input or service calls are in deed dynamical systems whose behaviour depends on current event, environment and actual system state. Continue Reading
By- Dr. Wolfgang Winter
-
Tutorial
08 Nov 2010
Spring Package Scanning for @Component Decorated POJOs
This little tip shows you how to do package scanning for @Component decorated POJOs with the AnnotationConfigWebApplicationContext. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
02 Nov 2010
How to Use Spring 3.0 In a Servlet Based Web Application
This tutorial will show you how to run a simple web based application that uses Spring 3 as an IoC container. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
01 Nov 2010
Combining Annotation and XML Configurations in your Spring 3 Applications
Who says you need to choose between XML and annotation based configurations. Why not use both! It's as easy as a little import annotation at the top of your config file. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
29 Sep 2010
Spring IoC vs.Google Guice: Comparing inversion of control containers
Comparing Spring vs. Google Guice: By Example Continue Reading
-
Tip
29 Sep 2010
High Scalable & Distributed Architecture with EJB & Spring Framework
In an Enterprise world, Spring Framework with some standard ORM tool like Hibernate gained considerable acceptance as a light-weight architecture for mid size applications. Also in Java EE 5 specification, major changes has been done on component architecture, tried overcome the gaps like IoC, ORM etc. Continue Reading
-
Tip
14 Sep 2010
Database Access with Spring 3.0 and the JdbcTemplate
Learning Spring can be intimidating, because there are so many different aspects to the framework. At its core, Spring is an Inversion of Control (IoC) and Dependency Injection (DI) container. It's also a powerful platform for doing some aspect oriented programming as well. Layer on Spring MVC, Spring Web Flow, Security, Roo, AMQP, Blaze Integration, and whatever new project the people at VMWare have added to the list, the whole thing can get pretty intimidating. Continue Reading
By- Cameron McKenzie, TechTarget
-
Feature
09 Aug 2010
Spring vs. Guice: The Clash of the IOC Containers
Spring and Google Guice are two powerful dependency injection frameworks in use today. Both frameworks fully embrace the concepts of dependency injection, but each has its own way of implementing them. Although Spring provides many benefits, it was created in a pre-Java-5 world. The Guice framework takes DI to the next level. Continue Reading
By- Ryan Nelson
-
Tutorial
14 Jun 2010
Solving the Constructor Ambiguity Problem with Spring 3 & Annotations
When using an XML file, you run into all sorts of problems regarding constructor ambiguity. This tutorial demonstrates how using a @Confuration file can help eliminate constructor ambiguity problems. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
09 Jun 2010
On Promoting Dependency Injection with Guice
Guice is known as an annotation based dependency injection framework. Being a relatively new player in dependency injection topic, Guice has quickly become popular thanks for its effort to make dependency injection as simple as annotating codes with @Inject. Guice pioneers the use of annotation in dependency injection as it believes Java annotation can assist to accomplish dependency injection easily, quickly and safely. Not only its easy-to-use advantage, Guice framework has also shown its strengths in flexibility, scalability and last but not least maintainability. Continue Reading
-
Tutorial
28 May 2010
A Simple Example: Google Guice Inversion of Control (IoC)
If you want to get started with Google Guice, this is the place to start. The previous tutorial demonstrated how to get a simple environment configured, while this one shows you how to do some very simple Inversion of Control. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
27 May 2010
Getting started with Google Guice
This is just a little tutorial that shows you what JARs you need to write some code that links to the Google Guice libraries at runtime and design time. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
24 May 2010
Spring Without XML: The Basics of Spring Annotations vs. Spring XML Files
What is easier, Spring with annotations, or Spring with an XML configuration file. This tutorial looks at how the Spring IoC container can push POJOs back to a calling program, either through an XML configuration file, or through the use of a Java class decorated with the @Configuration annotation. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tutorial
24 May 2010
Spring 3 Tutorial: Setting Up & Configuring The Environment
Spring without XML files? - What an idea! This tutorial will show you everything you need to know in order to start developing and testing stand-alone Spring 3.0 applications. Continue Reading
By- Cameron McKenzie, TechTarget
-
Tip
17 Mar 2010
Spring Converters and Formatters
Spring 3.0 introduces a simple Converter interface that you can implement and reuse anywhere in Spring. You can use them in Spring MVC to convert request String values to Controller method parameter values of any Object type that you can write a Converter for. Continue Reading
By- Mark Spritzler, Perfect World Programming
-
News
01 Apr 2008
Programmatic Dependency Injection with an Abstract Factory
This article discusses the strength and weakness of applying Dependency Injection (DI) with a variant of Abstract Factory design pattern. This approach is especially suitable for such scenarios as creating local stateful objects with dynamic parameters, handling checked exceptions thrown during object creation, and dynamically wiring up objects. IoC frameworks, such as Spring IoC container, PicoContainer and Guice, do not offer good solutions for these issues or simply unable to address them. Continue Reading
By- Danny Hui
-
News
01 Nov 2007
Spring Batch Overview
Despite the growing momentum behind SOA and real-time integration, many interfaces are still flat file-based and therefore best processed through a batch mode. Nevertheless, there is no de facto or industry-standard approach to Java-based batch architectures. Batch processing seems to be a critical, missing architectural style and capability in the marketplace. Continue Reading
By- David Syer and Lucas Ward
-
News
01 Oct 2007
Introduction to the Spring Framework 2.5
The Spring Framework has continued to grow in popularity, and has become the de facto standard for enterprise Java development. In this article, I'll try to explain what Spring sets out to achieve, and how I believe it can help you to develop enterprise Java applications. Continue Reading
By- Rod Johnson
-
News
01 Jul 2006
Ajax and the Spring Framework with TIBCO General Interface
Ajax (Asynchronous JavaScript and XML) means many things to many people. However, one thing is certain: To users it implies a higher level of functionality and an improved experience. To the developer, another certainty follows: More work. The only question is how much work and to what end? Continue Reading
By- Brian Walsh
-
News
01 Sep 2005
Spring Loaded Observer Pattern
This article describes an easy process of implementing the observer pattern in the Spring framework (Spring Core). Also discussed in this article are a few of the Spring Core classes as well as an easy way to start the Spring Framework in any project. Finally, this article shows developers and designers that the Spring framework is a great reason to continue design pattern advocacy in your projects. Continue Reading
By- Scott Priolo
-
News
01 May 2005
Introduction to the Spring Framework
Since the first version of this article was published in October, 2003, the Spring Framework has steadily grown in popularity. It has progressed through version 1.0 final to the present 1.2, and has been adopted in a wide range of industries and projects. In this article, I'll try to explain what Spring sets out to achieve, and how I believe it can help you to develop J2EE applications. Continue Reading
By- Rod Johnson
-
News
01 May 2005
Step-by-step introduction to Spring Web Flow: A beginners guide to a Spring web framework
Spring Web Flow (SWF) is an emerging module of The Spring Framework. The module is part of Spring’s web application development stack, which includes Spring MVC. Continue Reading
By- Keith Donald and Erwin Vervaet
-
News
09 Apr 2004
Sending Velocity-based E-mail with Spring
See how easy setting up Spring's JavaMail support on a PositionManager class, followed by replacing the e-mail's text with a Velocity template can be. Continue Reading
By- Matt Raible