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.
Annotation versus XML configuration: Which JPA option to choose?
04 Oct 2013
Tip - 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.
Simplified ORM configuration with Spring, JPA and Hibernate path scanning
04 Oct 2013
Tip - 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.
Two most commonly misconfigured Tomcat performance settings
05 May 2013
Tip - Tomcat on the server is different from Tomcat on the desktop, but too many system admins fail to optimize their production servers for performance.
Tomcat performance optimization through consolidated log file handlers
05 May 2013
Tip - By default Tomcat uses several log file handlers, but performance can easily be optimized by configuring the server to use only one.
How to permanently configure web application settings on the application server
22 Mar 2013
Tip - Some settings in the web.xml file can easily be changed by developers, causing runtime problems on the server at deployment. Here is how to permanently set web configuration parameters on the server that will not be overridden.
Water-Scrum-fall: It's not an Agile methodology
07 Jun 2012
Video Tip - The bottom line? You're either Agile or you're not, and if you're not, using water-Scrum-fall to squeeze in Agile methodologies may only create problems and resentment.
Java 7 and the intricacies of safe and unsafe casting
26 Jan 2012
Tip - 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.
OCPJP Java 7 Mock Certification Exam: A Tricky Question about ARM and Try-with-Resources
30 Dec 2011
Tip - The Oracle Certified Professional Java Programmer (OCPJP) exam requires you to know the ins and outs of the new language features introduced in Java 7. This tricky question tests you on your knowledge of try-with-resources and AutoCloseable objects.
Spring Ehcache integration (Second-level caching in Hibernate)
17 Aug 2011
Tip - Integrating Ehcache with Spring-based applications is actually fairly easy. Let's look at this integration with a sample BuddyManagement application.
Combining Annotation and XML Configurations in your Spring 3 Applications
01 Nov 2010
Tip - 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.