Chariot's Ken Rimple and Gordon Dickens are following in the path of several of our architects - they are becoming published authors. Both are working, along with Ben Alex, on a book for Manning, Spring Roo in Action.
Here is a video interview with them. They give a brief overview of Roo and discuss why they wanted to write the book.
(sorry for the link, but YouTube was giving me trouble with the embedding today.)
As they said in the video, you can get the early chapters of the book at:
http://www.manning.com/dickens. It may not have been clear in the video.
We will have more interviews with Ken and Gordon on Roo and Spring Integration. As you can tell, they are pretty passionate about the topic.
Monday, July 12, 2010
Thursday, July 1, 2010
Mobile Musings from June
June has been a busy month for mobile, primarily because of Apple's launch of iOS4 and the new iPhone (antenna woes and all). However, presenting an update on that would be too easy; here are a few things you might have missed in all the hubbub.
CNET reported that merely weeks after Microsoft launch of Kin, they would be stopping development, and focusing on Windows Phone 7. 1
MeeGo, the joint venture between Intel's Moblin and Nokia's Meamo announced its "Handset Project Day 1" complete with video (http://www.youtube.com/watch?v=EW5wpg5epMs), which I thought looked pretty darn slick. 4
CNET reported that merely weeks after Microsoft launch of Kin, they would be stopping development, and focusing on Windows Phone 7. 1
- Improved performance
- Use as a portable hotspot (certain devices)
- Exchange support
- Multiple keyboard languages 2
MeeGo, the joint venture between Intel's Moblin and Nokia's Meamo announced its "Handset Project Day 1" complete with video (http://www.youtube.com/watch?v=EW5wpg5epMs), which I thought looked pretty darn slick. 4
I'll be keeping a closer eye on MeeGo as its growth continues, and looking out for new Intel Atom-based devices, until then though; I'll just have to hope Santa comes early with a new Aava smartphone for me :)
Finally a fun fact for June, in its 2010 Q1 report RIM announced they had shipped their 100 millionth BlackBerry smartphone; iPhone, what iPhone? 5
Sources:
1: http://news.cnet.com/8301-13860_3-20009336-56.html
2: http://developer.android.com/sdk/android-2.2-highlights.html
3: http://rhomobile.com/2010/06/30/rhodes-2-0-released-rhodes-apps-continuing-to-be-accepted-on-app-store/
4: http://meego.com/community/blogs/valhalla/2010/meego-handset-project-day-1-here
5: http://press.rim.com/release.jsp?id=4135
Sources:
1: http://news.cnet.com/8301-13860_3-20009336-56.html
2: http://developer.android.com/sdk/android-2.2-highlights.html
3: http://rhomobile.com/2010/06/30/rhodes-2-0-released-rhodes-apps-continuing-to-be-accepted-on-app-store/
4: http://meego.com/community/blogs/valhalla/2010/meego-handset-project-day-1-here
5: http://press.rim.com/release.jsp?id=4135
Tuesday, June 15, 2010
Making the Most of Maven: Nexus, Hudson, Sonar
Maven is a build tool. I like Maven because it supports dependency management, consistent builds and a modular code base. But if you are just using Maven without using Nexus, Hudson, Sonar you are really missing out on a lot of goodness.
Nexus is a Maven repository manager, Hudson is a CI server, and Sonar is a code metrics server. All three share some commons attributes:
- They are web-based server applications
- They have an open source license
- They are easy to install -- just unzip and run the embedded app server (Jetty or Winstone) or deploy as a WAR into your existing app server
- They have very professional looking user interfaces. Don't underestimate the value of a good paint job when getting buy-in for a new product.
- They are fairly easy to extend. I've written plugins for all three.
- They have active communities
- They have commercial support available if you want it
- They are continually being updated with new releases containing features and bug fixes
OK, great -- all three are web-based and awesome. But what do they actually do?
Nexus -- http://nexus.sonatype.org
Nexus is a Maven repository manager. A vanilla Maven repository is just a web server with a directory structure of versioned jars with some XML metadata. The default Maven repository is a server called "central" with the URL: http://repo2.maven.org/maven2. Maven central is a good repository of a large number of open source jars.
However many organizations don't want their builds to be dependent on and constantly downloading jars from central, which is a public Internet site, for performance, security, and even legal purposes. What if central goes down or gets really slow? What if central gets hacked? What if developers use a jar in central that is licensed in a way your organization doesn't permit?
Running your own Maven repository that caches jars from central is a good idea. And what about your various projects and the jars/wars they produce? Running your own Maven repository within your organization allows you to host and version your own jars and make full use of Maven dependency management features.
While you can use any old web server as a Maven repository, there are many administrative headaches to consider:
- Security -- who has access to what
- Searching -- how can you find out what's in the repository
- Purging old SNAPSHOT versions -- eventually your web server will fill up with old SNAPSHOTs jars
- Scalability -- what happens when you can't fit everything on a single web server
- Maintenance of settings.xml -- restructuring repositories on your server can force you to push out a new version of settings.xml to all of clients
Nexus is a Maven repository + a bunch of administrative features that address all of these problems.
- Security -- Nexus has a fine-grained roles/permissions model, and integrates with LDAP
- Searching -- Nexus has a search feature based on Lucene. You can search for a particular artifact by group ID and artifact ID, or you can search for a particular class and find the jar(s) that contains that class.
- Purging old SNAPSHOTs -- Nexus allows you to schedule jobs to perform periodic tasks like purging old SNAPSHOTs
- Scalability -- Nexus has a proxy feature that allows you to run multiple instances that proxy to each other for redundancy or just to distribute load.
- Maintenance -- You can create logical repositories, called groups, which are the aggregate of many physical repositories. The effect is similar to DNS -- you give a logical name to something that never changes which allows you to change the underlying physical structure without adversely effecting users. This means you don't have to change the repositories listed in settings.xml for your users as often.
- Programmable API -- Nexus provides a REST API to perform most functions, and even allows you to extend the REST API via plugins which is very useful.
Hudson -- http://hudson-ci.org
Hudson is a continuous integration or CI server. If you aren't familiar with CI, the goal of CI is to shorten the feedback loop from the time a developer makes a change until the time he/she sees the result. In practice this means a CI server periodically polls a version control system at short intervals, e.g. 15 minutes, and if it detects any code changes, it downloads the new code and tries to build it. If the build fails, then emails are sent to everyone on the development team pointing out the offending code and person who did it. The principle is "Better code through shame" and it works well.
There are other open source CI servers in existence. CruiseControl is a popular one, and was one of the first. The advantage Hudson has over any other that I've used is ease of use. It literally takes me 2 minutes or less to setup a new Hudson job via the user interface -- all you need is the Subversion URL of the project that you want Hudson to watch and continuously build. Hudson also has a decent security model although it isn't as flexible as Nexus'. The Hudson REST API is very useful for managing large numbers of Hudson jobs programmatically. And Hudson has a large number of useful, free plugins.
Sonar -- http://www.sonarsource.org
Sonar is a code metrics server. It analyzes your code using a variety of metrics (cyclomatic complexity, Bob Martin's OO metrics, dependency cycles, duplicate code, lines of code, etc) and runs various rules checkers to detect bad code such as PMD, Checkstyle, and FindBugs. Then it tracks those metrics and rules violations over time so you can see whether your code is getting better or worse.
Similarly to Hudson, the best part about Sonar is that it is incredibly easy to use. To get it setup, you first run a Sonar server instance. Then you use the Sonar maven plugin to analyze your Maven project by running "mvn sonar:sonar" and *magically* your code gets analyzed and the results appear in a beautiful dashboard on the Sonar server. That's it. And to make this even easier, there is a nice Sonar Hudson plugin that allows you run Sonar on any Hudson job by checking a checkbox. Gathering metrics and trending them over time across many projects is generally a huge hassle so it never gets done. With Sonar, it is completely built into your CI process so it couldn't be easier.
Conclusion
I've been using Nexus, Hudson, and Sonar for about 2 years now, and I wouldn't consider using Maven without them. They are easy to use and provide so much value -- especially considering they are free open source -- that they really are worth an evaluation if you've never used them.
Thursday, May 13, 2010
Chariot Summer Training Schedule - Maven, Rails and Spring Courses
We are excited to announce the following courses on our schedule between now and August. Registration can be performed online by following the links below. In addition to these course offerings, we can provide private, on-or-offsite training for your developers.
- Introduction to Maven (SonaType's Maven 101 course) - a great introduction to Maven, this course details how to build single-project and multi-project maven-based applications. We discuss how to diagnose and fix dependency problems, configuring plugins, and many other topics.
- Maven Development Infrastructure Design (SonaType's Maven 201 course) - The Maven Development Infrastructure Design course picks up where the 101 course leaves off, including site generation and reporting, dealing with web development, repository management, release management and continuous integration.
- From Zero to Rails 3 by Engine Yard - This course, being taught the first time by Engine Yard at Chariot Solutions, shows developers how to write applications in Rails 3.0. Topics include an introduction to Ruby, the Rails core, Active Record, REST, TDD, hosting and deployment, Gems and PlugIns.
- Core Spring Framework, 3.0 - This is SpringSource's official courseware for Spring 3.0. Topics include the core container, XML, annotation-driven and Java configuration, AOP, JDBC, Spring Web MVC, remoting, ORM, JMX, and more.
All of our courses are being hosted at Chariot Solutions, in our new training center. The new training facility sports powerful 22" iMac computers, which can be configured to run Windows or Mac OS X software, and we will provide you with plenty of food and access to wireless internet during your stay.
We are conveniently located just off the Pennsylvania Turnpike in Fort Washington, just north of Philadelphia. For information about our training facilities, or to book private training either at Chariot Solutions or onsite at your location, contact us for further information.
Saturday, May 1, 2010
Oleg Zhurakousky - SOA and Spring Technologies
Coming to the end of our video recaps from our conference. I have had a bit of trouble with uploading from iMovie to YouTube, two of my interviews may be lost.
This one is with Oleg Zhirakousky, from Springsource. He discusses Spring and SOA.
This one is with Oleg Zhirakousky, from Springsource. He discusses Spring and SOA.
Thursday, April 29, 2010
Gordon Dickens - Spring Roo Recap from Philly ETE
Coming to the end of the talks that need to be posted. I am hoping to make my self-imposed deadline of finishing up by the end of the weekend.
This latest one is by Chariot's own, Gordon Dickens. Gordon gave a talk on Spring Roo, a newer tool in the Spring Framework set.
This latest one is by Chariot's own, Gordon Dickens. Gordon gave a talk on Spring Roo, a newer tool in the Spring Framework set.
Saturday, April 24, 2010
Mark Fisher -What's New in Spring Integration 2.0?
Mark Fisher, a perennial speaker at Philly ETE, gives his recap on his talk.
More recaps are on their way once I solve my problem uploading to YouTube from iMovie!
More recaps are on their way once I solve my problem uploading to YouTube from iMovie!
Subscribe to:
Posts (Atom)