The Higgs Boson – Leonard Susskind

October 30, 2012 Leave a comment

Fans of Leonard Susskind will be happy to hear he completed a stand-alone lecture on the Higgs Boson.  He manages to describe it without having to rely on a molasses analogy!  Anyway, playlists to the rest of his lectures can be found on my Susskind page.

Categories: Science Tags:

Spring: Auto Detecting Type Converters

April 20, 2012 Leave a comment

So, you have been enjoying Spring’s type converter system. However, like me, you are lazy and do not want to register all of your type converters manually. Using JavaConfig, is trivial to have the container autodetect and register type converters for you.

Read more…

Categories: Software Development Tags:

Eclipse, AspectJ, and JPA Static Meta-Model Generator

March 27, 2012 Leave a comment

The short of it is that the AspectJ Developer Tools (AJDT) in Eclipse uses a different compiler then the default Eclipse compiler.  In reality, it is several years behind.  As such, it support for APT, which is used by JPA static meta-model generators, is nearly nonexistent.  So, if you have been trying to get a static meta-model generator (or any annotation processor) to work in Eclipse to no avail, make sure you do not have AspectJ enabled.  This is particularly problematic for those using Spring Roo.

There seems to be work and re-implementing AJDT with the modern Eclipse compiler framework.  However, the AJDT website is a year out of date and information about progress seems nonexistent.  I would love to hear from anyone with any recommendations or suggestions.

Categories: Software Development Tags: , , ,

Custom User Types with JPA and Spring

February 7, 2012 5 comments

Thanks to Spring and JPA, one can easily and intuitively bind plain old Java objects to HTML forms, HTTP requests, and database tables. This beloved combination eliminates the tedium and droves of boiler plate code associated with developing data management applications. These tools support all Java primitives, wrappers, and even several high-level types natively. Fortunately, it is easy to add support for your own custom types.

Read more…

Source Code Downloads

February 5, 2012 Leave a comment

Some unfamiliar with subversion were unable to download my sample code projects. So, I have started uploading zip files as well.

http://code.google.com/p/ted-young/downloads/list

Categories: Software Development

Lecture – Practical Spring MVC

October 19, 2011 Leave a comment

For those of you who have attended my Practical Spring MVC lecture, please find a publication of the lecture, and source code below.  If you are interested in this lecture, or would like to present on another topic, please feel free to contact me.

  1. Part 1: The Basics
  2. Part 2: Forms
  3. Part 3: The Presentation Layer
  4. Part 4: Web Services
  5. Part 5: Sessions

Source Code

Categories: Presentations Tags: ,

Practical Spring MVC Part 5: Sessions

October 19, 2011 17 comments

In this fast-paced, demo-driven series, I will take you on an exciting tour of Spring MVC. Unlike “pet clinic” style demonstrations, I will make use of practical solutions to real-world problems in order to demonstrate the breadth of functionality offered by Spring MVC. This article is a perfect fit for anyone looking for a quick overview of Spring MVC and its capabilities. Furthermore, complete code is included for those who wish to a follow along closely and explore the concepts presented.

In this fifth part I will demonstrate how to use sessions to manage data over multiple requests.

Read more…

Practical Spring MVC Part 4: Web Services

October 19, 2011 Leave a comment

In this fast-paced, demo-driven series, I will take you on an exciting tour of Spring MVC. Unlike “pet clinic” style demonstrations, I will make use of practical solutions to real-world problems in order to demonstrate the breadth of functionality offered by Spring MVC. This article is a perfect fit for anyone looking for a quick overview of Spring MVC and its capabilities. Furthermore, complete code is included for those who wish to a follow along closely and explore the concepts presented.

In this fourth part we will explore how easy it is to create REST-full Web services using Spring MVC.

Read more…

Practical Spring MVC Part 3: The Presentation Layer

October 18, 2011 Leave a comment

In this fast-paced, demo-driven series, I will take you on an exciting tour of Spring MVC. Unlike “pet clinic” style demonstrations, I will make use of practical solutions to real-world problems in order to demonstrate the breadth of functionality offered by Spring MVC. This article is a perfect fit for anyone looking for a quick overview of Spring MVC and its capabilities. Furthermore, complete code is included for those who wish to a follow along closely and explore the concepts presented.

In this third part we will explore Spring MVC’s integration with various presentation layer technologies including Freemarker, Velocity, and JSP.  We will then go a step further and show how to support PDF, Excel, Word, XML, and JSON output.

Read more…

Practical Spring MVC Part 2: Forms

October 14, 2011 Leave a comment

In this fast-paced, demo-driven series, I will take you on an exciting tour of Spring MVC. Unlike “pet clinic” style demonstrations, I will make use of practical solutions to real-world problems in order to demonstrate the breadth of functionality offered by Spring MVC. This article is a perfect fit for anyone looking for a quick overview of Spring MVC and its capabilities. Furthermore, complete code is included for those who wish to a follow along closely and explore the concepts presented.

In this second part we will explore forms, file uploads, and image processing.

Read more…