Agile IT! Experience

NFJS / Java World Podcast

User Group Events

May. 14 - Dallas, TX
10 Ways to Improve Your Code
by Neal Ford
JavaMUG - more »
May. 15 - Salt Lake City, UT
Thorough Introduction to Groovy
by Jeff Brown
Utah Java Users Group - more »
May. 20 - St. Paul, Minnesota
The Busy Developer's Guide to Scala by Ted Neward
by Ted Neward
Object Technology User Group - more »
Jun. 11 - Calgary, AB
Core Groovy
by Andrew Glover
Calgary Java Users Group - more »
Jun. 11 - Dallas, Texas
Grails - Agile Web 2.0 The Easy Way
by Jeff Brown
JavaMUG - more »

Private Events

Blogs

View all Blogs >>
  • Michael Nygard

    Agile technology leader and dynamicist

    Apparently, there's a virus attack. Not a computer virus. A real virus. Hot zone instead of a hot spot.From my inbox this morning: more»

  • Alex Miller

    Sr. Engineer with Terracotta Inc.

    The Sun Hotspot guys have been working on a new garbage collector to replace CMS called G1. This presentation went over the differences... more»

  • Ted Neward

    Enterprise, Virtual Machine and Language Wonk

    A couple of folks have taken me to task over some of the things I said... or didn't say... in my last blog piece. So, in no particular... more»

  • Vladimir Vivien

    Software Engineer / Consultant

    Integrating Spring and JBoss SAR Components Last time I wrote a more»

  • Jared Richardson

    Agile coach and co-author of Ship It

    It's good to read a story like this every now and again just to remind yourself how bad it is in some places. more»

  • Mike Levin

    Software Developer specializing in Web2.0 websites

    more»

  • Howard Lewis Ship

    Creator of Tapestry and HiveMind

    I spent some time yesterday revamping the Tapestry 5 Tutorial; you can see the updates at the more»

  • Pramod Sadalage

    Co-author of "Refactoring Databases:Evolutionary Database Development"

    We had a weird requirement on our project recently.. Find all the Rows in All the tables that do not comply with the Constraints more»

  • Matt Raible

    Creator of AppFuse and author of Spring Live

    In an effort to keep one of the top spots for "javaone parties", here's the updated list more»

  • Kirk Knoernschild

    Software Developer & Mentor

    It’s time to move on and show the simple elegance Spring brings to OSGi development using the HelloWorldSpec sample from the more»

  • Guillaume LaForge

    Groovy Spec Lead & Project Manager

    This is with great pleasure that G2One and the Groovy development team announce the first beta more»

  • Venkat Subramaniam

    Founder of Agile Developer, Inc.

    Earlier today I blogged about the more»

  • Graeme Rocher

    Project Lead of the Grails Project & CTO of G2One

    For those of you interested, Grails applications deploy and execute on SpringSource's new Application more»

  • Jeff Brown

    G2One Director Of North American Operations - Groovy and Grails Developer

    We have been busy preparing for JavaOne and it is finally almost here. Yay!We hope to see y more»

  • Craig Walls

    Author of Spring in Action

    I read thi s last night, but I have seen this coming for over a year. more»

  • Neal Ford

    Application Architect at ThoughtWorks, Inc.

    In the movie 200 more»

  • Andrew Glover

    Co-author of "Continuous Integration"

    On more than one occasion, I’ve been asked by various hip developers if there was a conversion script for transforming existing Ant... more»

  • Jason Rudolph

    Author of Getting Started with Grails

    Muness blogged a photographic introductio more»

  • David Bock

    Principal Consultant, CodeSherpas Inc.

    Installing CentOS 5, ImageMagick, and RMagick I don‘t normally blog about obscure, specific technical topics, mainly because 99% of more»

  • Scott Leberknight

    Chief Architect at Near Infinity

    Have you ever wondered, what is the best way to implement SOA in your organization? How can it help you? What benefits await and what are the... more»

  • Brian Pontarelli

    Brian Pontarelli - founder of Inversoft

    Found this funny. Looks like Lenovo has some issues in their pricing application today. I was planning on purchasing an X300 at some point,... more»

  • Jason Harwig

    Software Engineer

    pre { font-size:80%; } Of the trinity of web technologies, CSS is by far the worst at this stage. It's a language more»

  • Erik Doernenburg

    Principal Consultant @ Thoughtworks

    It has been in the making for some time but now the ThoughtWorks Anthology is available from the Pragmatic Programmers. The Anthology is a... more»

  • Pratik Patel

    Software Architect

    Shake off that St. Patrick's day hang-over by coming over to the AJUG meeting this Tuesday, March 1 more»

  • Pete Behrens

    Organizational Agility Coach

    Marti nig & Associates Methods & Tools group recentl more»

  • Nathaniel Schutta

    Author, speaker, software engineer focused on user interface design.

    Like pretty much any office with more than 3 people, we struggle with the ephemeral concept of more»

  • Joseph Nusairat

    Author of Beginning JBoss Seam & Co-Author of Beginning Groovy & Grails

    Today is the first day of JBoss World, I survived the first three presentations and waiting for the keynote to be  complete to d more»

  • Richard Monson-Haefel

    VP of Developer Relations, Curl Inc.

    more»

  • Brian Sam-Bodden

    Java author, Ruby geek and Open Source Advocate

    In this installment we are going to build the Dashboard page of the Tempo application. T more»

  • Mark Fisher

    Spring Integration Lead

    more»

  • Ron Bodkin

    Chief Software Architect, Quantcast

    I'm looking forward to speaking at The Rich Web Experience conference in San Jose next month. The event runs from September 7th through 9th.... more»

  • Mark Goodwin

    Web Application Security Specialist

    We've already looked at one of the two big problems posed by anti DNS pinning on Java applets; because there's rebinding on the applet and... more»

  • Scott Davis

    Author of "Groovy Recipes" & TDD Expert

    Every time I see a live show at the Denver Botanic more»

  • Brian Goetz

    Author of Java Concurrency in Practice

    Recently, Neal Gafter mused about whether we should consider removing more»

  • Romain Guy

    Java User Interface expert.

    more»

  • Ramnivas Laddad

    Author of AspectJ in Action, Principal at Interface21

    InfoQ.com has published my AOP myths and realities talk recorded at a No Fluff Just Stuff conference. InfoQ.com founded by Floyd Marine more»

  • David Geary

    Author of Graphic Java Swing and Co-author of Core JSF

    The 2006 NFJS tour kicked off t more»

  • Jason Hunter

    Author of Java Servlet Programming

    I just posted the JDOM 1.1 release for download. This release includes about 20 improvements and bug fixes. more»

  • Stuart Halloway

    CEO of Relevance

    <p>We are happy to announce that <a href='http://www.mckinneystation.co m/'>Geof Dagley</a> has joined the Relev more»


In the Spotlight - Andres Almiray

Swing/Groovy Integration Expert

Andres Almiray is a Sun Certified Programmer, Sun Certified Web Component Developer with more than 8 years of experience in software design and development, currently working for Oracle as a Principal Software Engineer. He has been involved in web and desktop application development since the early days of Java. He has also been teacher of computer science courses in the most prestigious education institute in Mexico. His current interests include software architecture, developer testing, Groovy, Spring and swing hacks. He is a true believer in open source and has participated in popular projects like Groovy, JMatter and DbUnit, as well as starting his own projects (Json-lib and EZMorph among others). Andres maintains a blog at http://jroller.com/aalmiray




















Andres Almiray's Weblog
Java, Spring, Groovy, testing and what not


Andres Almiray's complete blog can be found at: http://jroller.com/aalmiray

Wednesday, May 7, 2008

I haven't found time to properly blog but thanks to Twitter I can send mini-updates (http://twitter.com/aalmiray). You can track all JavaOne news with #javaone, Groovy news with #groovy. I also posted some photos from Tuesday and 2GX (better late than never ;)) There have been some impressive demos, I'm sure the links have been already posted elsewhere, as expected you can find JavaFX related stuff everywhere.

Monday, May 5, 2008

The dbUnit development team has just sent the announcement, version 2.2.2 is out! :-) I mentioned a couple of days ago that the snapshot version was ready. Hopefully this release will make it into Maven's central repo pretty soon so that the easyb guys may update their plugin to this release (they are still using 2.1), the Grails dbUnit plugin will surely benefit from this release too.

Here is the list of fixed bugs
  • End of table name cut off when bracketed in FlatDtdProducer Issue: 1953115. Thanks to Mike Norrish.
  • IncompatibleClassChangeError with 2.2.1 Issue: 1926302.
  • junit jar-file should be JDK 1.4 compatible Issue: 1955929.
  • Version 2.2-dev, Java 1.4 compatibility issue Issue: 1475565.
  • Changed logger.error into logger.debug when the exception can be disregarded. Issue: 1925603.
  • Fixed issue with CLOB datatype in Derby. Issue: 1806363. Thanks to Brian Atkinson.
Enjoy!

Sunday, May 4, 2008

Just received word from the Agile 2008 organizing committee that the session Ixchel and I proposed, Boosting your testing productivity with Groovy, has been accepted, here is the abstract
Developer testing, unit testing and/or test driven development should be in the vocabulary of every developer by now. Everyone knows that testing takes time but you shouldn?t skip testing because of a hard-to-meet deadline, what can you do to make sure you?ll have the following weekend free without worrying that a sudden call spoils the fun? the answer is letting your testing code be groovier. Groovy is a dynamic language for the JVM with close integration to the Java language, making it ideal for testing purposes. With Groovy you can write less code and be more expressive, you can leverage your knowledge on junit extensions (like dbUnit or XMLUnit) to speed up development, you can use GroovyMocks to intercept calls on concrete classes (easier to setup than EasyMock/JMock) and its also TestNG friendly because Groovy also supports JSR 175 annotations. Basic knowledge of the Groovy language, junit and testng is desired for attendees.

Agile 2008 will take place Aug 4-8 at Toronto, see you there!

Saturday, May 3, 2008

FEST stands for Fixtures for Easy Software Testing, it targets UI testing (Java Swing for the time being). Easyb makes Behavior Driven Development a snap. Use them together and you have a recipe for success. Let's revisit a previous example of FEST+Groovy, a very basic app that retrieves the definition of a word the user may type (very basic as it currently responds to a single word: pugnacious, but whose counting words ;-)) Testing the happy path is pretty straight forward

Quick and to the point and quite understandable if you ask me, but the thing is that only developers like to read code. UI testing is not exactly a task developers like to do and is usually delegated to people that handle specs and lengthy docs. This is where easyb comes in, I'll let the code speak for itself

As you can see the actual code is exactly the same, but there is a nice separation of preconditions, effects and assertions, and if you enable reporting you get the following output
1 scenario (including 0 pending) executed successfully

  Story: easyb fest

    scenario User writes a word available in the dictionary
      given WordFinder's UI is shown
      when user types the word 'pugnacious'
      when user clicks on the find button
      then the correct answer is displayed (Combative in nature; belligerent.)
      then the UI shutdowns itself

Now that is more like it don't you think? The very nature of easyb makes writing scenarios and stories quite simple, as a matter of fact anybody can do it. Once they are written a developer takes the executable spec and writes the code that makes the tests turn green, and everybody is content. I'm so loving easyb... :-D

Keep on Groovying!

Friday, May 2, 2008

Last year I wrote a piece when JavaOne 2007 ended, looking back some things did change, others stayed the same.
  • OpenJDK, I can see the tumbleweeds rolling in the wind...
  • JavaFX continued to make the news, but the tools are nowhere to be found (sorry Sun NetBeans alone is not going to cut it). I agree with Rick Hightower on this one, unless there is Eclipse support (and I mean good support) then it is not going to be picked by a critical mass of developers. Content authors on the other hand *may* be able to use Macromedia's tools and then export to JFX (I'm hoping Sun finally showcases such a exporter next week).
  • Guillaume reported that Groovy sessions at Jaxx 08 were full, leaving some people outside of the room. Though I don't wish for people to miss out the opportunity to hear and learn about Groovy I do hope Groovy sessions to be packed :-D (Dave Klein has posted the full list here)
  • Sun giving public support to JRuby rather than Groovy continues to be the talk among some (remember the last big flame war @ JavaLobby?), but even if they do not directly endorse/support Groovy with money it is still somewhere on their roadmap, Glassfish v3 has great support for Grails and NetBeans' Groovy support has received a facelift.
  • The organizers are expecting 15k attendees, I remember we were close to 17k on 2006...
  • Will AJAX be a strong presence again? surely the recent ExtJs controversy will be present in the halls
  • Swing and Desktop Java, they are not dead!
On my personal roadmap I did look at Ben's Clarity framework, which seemed very similar to a homegrown framework we used on a previous job (hey Neal was right, we always create our own Craptastic framework to tackle task xyz, right?) but as I continued moving towards SwingBuilder realized I needn't it that much (of course I also started playing with JMatter a couple of weeks before J1 2007). Grails' plugin mechanism continues to elude me, I have 2 or 3 ideas in store to get me going. Vladimir decided to release a Groovy-based JMX-related framework which follows on his J1 talk. What about the last item on the list? well of course it has become a reality: GraphicsBuilder :-D (expect some surprises in the following months)

All in all I look forward to a great event, remember to keep in touch via Twitter ;-)