Articles by Alex Cruikshank

Alex Cruikshank

Alex Cruikshank

Secure Email with Spring’s JavaMailServer and Gmail

Both Carbon Five and my ISP have moved email management over to Gmail.  While this has been a net improvement for me as an end user, it’s made it a bit more difficult to configure my applications to send outgoing mail.  It isn’t hard to find examples online that explain how to configure Spring’s JavaMailSender

Alex Cruikshank

Alex Cruikshank

Parameterized REST URLs with Spring MVC

At Carbon Five, we’ve been working REST-ful practices into our web applications for some time now. Providing simple URLs for application entities is a key principal of this style, but parsing parameters out of the request path has been klunky in Spring MVC. Spring’s WebFlow apparently supports REST-ful URLs, but I’ve never found anything in

Colors
Alex Cruikshank

Alex Cruikshank

Using Classpath*: vs. Classpath: When Loading Spring Resources

After a few hours of hair-pulling and a deep tour of the Spring source, we realized that the problem was that our test Spring configuration was in a different classpath root from our Hibernate mappings, even though both directories were in the test’s classpath.