Blog

JUnit & Spring – What You Don’t Know

Gordon Dickens, Chariot architect and one of our education trainers, recently wrote this blog post on JUnit and Spring. When using JUnit in Spring there are several features added that many developers are not aware of. First, if you are including the Spring Context in your tests, it becomes an Integration Test, no longer a Unit Test. 1. Default Searching of Context File(s) To instruct Spring to load beans for the tests in the class, we annotate the class with…

What's Coming in Spring 3.1

Spring 3.1.0 M1 is expected to be released on Feb 10, 2011. There are many exciting new features expected for the final release which is scheduled for June 2011. Environment Profiles Many times we want separate configuration for different environments such as development, qa, production. Also, we may want to provide different bean configuration for traditional or cloud environments as well. Beans can be configured in XML with the additional “profile” attribute Activate 1..n profiles in code or with java…

Sending Beans as XML with JmsTemplate

Introduction We often want to send XML via web services. We may already have the schema or annotated JAXB2 classes configured in our application. What if we want to send the same format via JMS? By default Spring JMS is configured to send & receive objects serialized. How can we switch to using JAXB2 (or any other OXM marshaling strategy)? The following example assumes we are going from annotations first instead of from XML Schema. Quick Overview Annotate Bean with…

Philly ETE 2011 mobile line up!

This post is via Kevin Griffin, Chariot Architect and committee chair of the Mobile tract for ETE: Philly ETE 2011 mobile line up! Just thought I would post an update on the current lineup for Philly ETE. I’ve been involved in helping get the mobile track lineup sorted out and so far we have confirmed the following: Josh Clark – my favorite ‘Tapworthy‘ author. Johnathon Stark – He literally wrote the books on making mobile apps with HTML, CSS and…

Web Application Security

The recent news that the popular dating site Plenty Of Fish was hacked and that passwords and other user information was stolen truly disheartened me. It was just the latest in a seemingly endless list of such hacks over the years, recently including Gawker Media (Lifehacker, Gizmodo), McDonald’s, Walgreen’s and Pizza Hut. Apparently, Little Bobby Tables is alive and well. What is disheartening to me is not so much the security breaches themselves. No site is completely secure. The operators…

Executing JavaScript from Objective-C in an iOS App

New blog post from Steve Smith, one of the Chariot architects working in our mobile practice. Steve is currently working on updating the mobile app for our Emerging Technologies conference and will be posting articles from time to time as he finds challenges or discoveries. Here is an excerpt: The other day, I found the need to execute some JavaScript from a native iOS application. After doing a little research, I discovered that the UIWebView has a stringByEvaluatingJavaScriptFromString method. So…

Android Development: Best Practices

Thanks to Anatoly Polinsky for another blog post. I got introduced to an Android application development during Philly ETE conference by listening to “A guided tour of the Android ETE mobile application” talk, where Andrew Oswald (a Java Architect from Chariot Solutions) talked about creating an Android app for the conference, which was a cool introduction to “what it takes” to write one of those apps from scratch. I am looking forward to more talks around mobile development this year…

Enterprise Integration with Spring Training

Are you a Spring Developer? Do you have Enterprise solutions to develop or architect? Chariot Solutions, a Spring Training Partner and Philadelphia leader in Spring Training, Mentoring and Consulting can help you take your Spring skills to the next level – Enterprise Integration! There are many Spring developers who have learned by experimenting, reading documentation and maybe code dives into an existing application or two. But with the knowledge you gain from Official SpringSource training at Chariot from our certified…

Simple Spring Social for Twitter Friends

The Spring Social project provides us developers with an easy way to interact with Twitter, Facebook, LinkedIn & TripIt via the familiar Template objects we have used. Spring has provided Templates for convenient interaction with JDBC, REST, Hibernate, JNDI, and more. One of the simplest social media calls is to lookup someone’s Twitter friends with the TwitterTemplate. 1. Add the Spring Social project dependency to the pom.xml file org.springframework.social spring-social-core ${spring.social.version} … 2. Add the Spring Milestone Repository repository to…

An Introduction to Mobile Device Detection

One of our architects, Steve Smith, recently posted this on his blog: These days, there are many ways to browse the internet.  There are desktop browsers, mobile phone browsers, tablets, tablet/phones (e.g. Dell Streak), etc. all with different screen sizes, resolution, and capabilities.  How do you render an appropriate view optimized for the device accessing your site?  The answer is device detection. The two main approaches for device detection are server-side detection and client side detection.  Server side detection involves…

How can we help your company with your development needs?

Contact Us