Showing posts with label Java. Show all posts
Showing posts with label Java. Show all posts

4/27/2009

JavaOne 2009

TS-4421 "Simplifying Development and Testing of GUIs with the Swing Application Framework (JSR 296) and FEST"; June 05 2:50 PM - 3:50 PM, together with Alex Ruiz, Oracle

BOF-5394 "Improving the Java User Groups (JUGs)" June 04 7:30 PM - 8:20 PM, together with Dan Sline and John Yeary

3/30/2009

Technical session at Jazoon

I will give a technical long talk about "Simplifying Development and Testing of GUIs with the Swing Application Framework (JSR-296) and FEST" at Jazoon, June 22-25, 2009 in Zurich.

2/27/2009

JavaOne 2009 proposal accepted: SAF and FEST

The technical submission Alex Ruiz and me submitted for JavaOne 2009 was accepted. So please stop by and enjoy the session "Simplifying Development and Testing of GUIs with the Swing Application Framework (JSR 296) and FEST". I will post further details on the exact location and time as soon as the program is finalized.

2/15/2009

JUGC, GeeCON, SQS Conference, Javamagazin, Agile 2009 ...

My last post was some days ago .. so here I catch up with a couple of news. The last Java User Group Cologne event on February, 9th was a big success. We had an advanced talk about AOP. Additionally I managed to get Corneliu Vasile Creanga from Adobe to Cologne to talk about Flex, Air and the integration to Java. Stay tuned for the next events and prepare yourself for some surprises. ;-)

GeeCON invited me to give a talk in Cracow in May. I will talk about "From Zero to Hero: Simplifying Development and Testing of GUIs with the Swing Application Framework (JSR-296) and FEST". Thank you, looking forwarding visiting you fantastic guys and that lovely city.

Also in May I will give a workshop about "Agile Testing of Java Rich Clients" during the SQS Software & Systems Quality Conference 2009. Beside agile concepts, functional/acceptance/component testing and general GUI testing strategies the workshop will cover a full-fledged infrastructure to test and inspect the design/code of your application. Tools discussed are Findbugs, Checkstyle, EMMA, TestNG, FEST, EasyMock, PMD, Fit, Ant, Maven, a continuous integration server and a couple of others. Beside other frameworks and solutions I will also discuss JavaFX. Looking forward giving that interactive power workshop.

The current isse 3.2009 of Javamagazin published my article about IntelliJ IDEA 8.0 and RubyMine. Check it out if you like to be informed about what is going on at the bleeding edge of IDE development.

March, 3rd the Agile 2009 will close its call for papers. I'm responsible for the Tools for Agility track. Many good submissions already went in .. expect a great program.

I'm in the program committee of JavaOne 2009. A bunch of talks were already accepted, many are still in review. It is hard to filter the best and most interesting talks out of those billions submissions. You can already register for the worlds best and biggest Java conference -- sorry, Stephan ;-) -- taking place in San Francisco beginning of June.

1/05/2009

Session proposal "Refactoring from Visio to Powerpoint, and Prefactoring to Code"

Recently the following proposal for Agile 2009 come to my mind:

“Refactoring from Visio to Powerpoint, and Prefactoring to Code” — A practical guide for an agile architect. The presented patterns and Web 2.0 tools show how architects can cope with recent challenges in designing complex n-tier, scalable systems and generating code seemlessly. The automated process transforms design artifacts from PowerPoint to Visio (extended pattern catalogue for roundtrip-engineering in progress) and prefactors the artifacts to working Assembler code. This process is fully SOA enabled.

Process/Mechanics
We will finish with a real world cloud computing demo.

Learning outcomes
* learn how to refactor from Visio to Powerpoint
* learn how to prefactor to working code

Level: Expert

If you also have a paper you want to propose, perhaps a more realistic one, go to the agile tooling track and submit your paper .. looking forward seeing your submissions! :-)

1/04/2009

JavaFX article, letter to the editor

Recently I sent a letter to the editor to the Javamagazin concerning the German JavaFX article "JavaFX 1.0 - Ein erster Eindruck" published in edition 2.09.

Liebe Redaktion,

der Artikel „JavaFX 1.0“ aus der Ausgabe 2.2009 wie auch schon sein Vorgänger aus 12.2008 haben mein Interesse geweckt. Gleich vorweg: Grundsätzlich teile ich die Begeisterung des Autors bzgl. JavaFX (JFX). Ich freue mich über das an JavaFX, was bis dato bereitgestellt wurde und freue mich auf die weitere Evolution. Dennoch sollte man das eine oder andere etwas kritischer betrachten. Der Artikel ist aber praktisch so wohlwollend geschrieben, er könnte auch von der Marketing-Abteilung von Sun Microsystems geschrieben worden sein. ;-)

JavaFX hat im Hause Sun Microsystems eine strategisch bedeutende Rolle eingenommen. Diese Feststellung des Autors ist vollkommen richtig. Ich vermisse allerdings ein Hinweise auf die doch weitreichenden Implikationen und Reibungspunkte, die damit verbunden sind. Der enorme Abzug von Ressourcen aus anderen Bereichen macht sich beim Fortschritt der jeweils anderen Aktivitäten bemerkbar. Was ist aus der Ankündigung geworden in kurzen Abständen Java-Hauptreleases bereitzustellen. Nach langer Unruhe und suboptimaler Kommunikation wurde nun erst kürzlich ein Mission Statement bzgl. Java 7 an die Öffentlichkeit getragen. Das allerdings erst schön sichtbar und publikumswirksam auf der Devoxx-Konferenz. Trotz der Stärkung des Clients sind in eben der vom Autor titulierten 500-Tage Phase Sun's Rich Client Urgesteine und führende Köpfe Hans Muller (auch Vater vom Swing Application Framework, JSR 296) und Chet Haase zu Adobe gewechselt. Wie passt das zusammen?

Ob Sun sich mit dem Release 1.0 einen großen Gefallen getan hat, so die These des Autors, sehe ich ambivalent. Sicherlich ein guter Marketing-Schachzug nun (endlich) mit etwas Greifbarem herauszukommen. Aber hat hier nicht auch das Marketing die Taktfrequenz bestimmt, genauso wie vor 18 Monaten bei der doch sehr überstürzten Ankündigung von JavaFX auf der JavaOne 2007? War es nicht jetzt das Marketing, dass auf eben dieser Devoxx 2008 die jedes Jahr praktizierten Sun-Keynotes publikumswirksam füllen wollte und ggf. deswegen JFX 1.0 kurz vorher bereitgestellt wurde? Rein technologisch hat sich Sun mit 1.0 für meine Begriffe keinen Gefallen getan. Zu viele Bugs, Ungereimtheiten und fehlende Features sind latent vorhanden, dazu im Laufe dieses Beitrags noch mehr. Andererseits: Insgesamt sehe ich doch Parallelen zwischen der Historie von Java selbst und nun JavaFX. Erst ab Versionen Java 1.1 und Java 1.2 wurde es tatsächlich produktiv nutzbar. Zwischen einem Preview- und einem finalen 1.0 Release unzählige Änderungen umsetzen ist eine Sache, die direkte Ankündigung, dass noch weitere schwergewichtige Änderungen folgen werden eine andere.

Laut Autor sei die Vermischung von Swing- und Java-2D mit JFX 1.0 deutlich besser gelungen.Das ist aber nur eine Seite. Sowohl Swing als auch Java-2D sind nicht neu, ganz im Gegenteil. Für mich ist vielmehr die entscheidende Frage, wie es mit der Vermischung JFX 1.0 mit der bereits existenten und genutzten Bestandstechnologie aussieht. OK, man kann Swing-Komponenten wrappen. Es bleibt aber weiterhin mehr als undurchsichtig, was JFX technologisch genau bezwecken will? Der Ankündigung JFX als Swing-Abstraktion anzubieten, sind kaum Taten gefolgt bzw.: sie sind inkonsistent. Vielmehr baut sich immer mehr eine gänzlich neue Client-Technologie auf. Schaut man mal genauer auf die von JFX generierten Objektgeflechte, wird es einem schwindelig. Swing-Komponenten und proprietäre FX-Komponenten, FXNodes, SGNodes und SGParents laufen einem da beispielsweise über den Weg – nur mit viel Wohlwollen kann ich hier ein schulbuchmäßiges Design ausmachen. Obwohl das Wrappen und der knotenbasierte Ansatz (doch nun wirklich nicht innovativ) in der Theorie gut klingen, wirkt in der Praxis das eine oder andere unter Zeitdruck “zusammengezimmert”. Die ganze Holprigkeit manifestiert sich beispielsweise in der Interoperabilität zwischen Bestandstechnologie und JavaFX. Der derzeit sauberste Weg eines Aufrufs einer FX-Anwendung über Java gelingt beispielsweise derzeit über Java's Scripting Engine. Das kann aber wohl doch nicht das Ende der Fahnenstange perfekter Interoperabilität sein?!

Bei der Erstellung der FX-Anwendung lassen sich insbesondere auch durch Wiederverwendung von existenten Komponenten in der Tat recht schnell brauchbare Ergebnisse liefern. Stimmt. Dies trifft aber grundsätzlich auf jedes Java-Projekt zu, in der hier diskutierten Zieldomäne beispielsweise auch auf das “Swing Application Framework”. Dem Binding-Feature von JavaFX ist dabei zurecht ein mindestens gleichgroßer Stellenwert einzuräumen. Schade, dass es JSR 295 nicht nach Java 7 schaffen wird. Ein Binding-Mechanismus für JavaFX ist auch dringend nötig: Eine munterer Sprachblumenstrauß innerhalb eines Artefakts wird einem “Designer”schwerlich zumutbar sein.

Die Feststellung die Sprache JavaFX sei nicht Java ist nicht überraschend, die Ableitung JavaFX sei eine domänenspezifische Sprache halte ich aber für irreführend und recht wohlwollend. Irgendwie ist dann doch plötzlich alles eine DSL. Nüchtern betrachtet: Nicht wenige sehen die Einführung einer gänzlich neuen Sprache sehr ambivalent. Warum muß alles neu sein? Hätte es nicht auch eine bereits bekannte, stabile, reife Sprache sein können?

Es stimmt schon, dass der Einstieg für kleinere Testanwendungen verhältnismäßig leicht ist. Wie weit das alles schon produktionsreif ist, bleibt fragwürdig. Sehr schnell stößt man auch auf interessante Erkenntnisse. Dies gilt beispielsweise für das funktionale, über das GUI angestoßene Testen solcher JFX-Anwendungen, was für mich als Commiter des FEST-Frameworks von besonderer Bedeutung ist. So sind die darunterliegenden Swing-Komponenten tatsächlich “versteckt und vergraben” und Oberflächen nur mit raffinierten Mechanismen funktional testbar. Auch hier wangt das Ziel der Interoperabilität ganz offensichtlich. Eine weitere Grenze ist das Tooling. Das eine Sprache, die noch „under construction“ ist, nicht sonderlich viele Unternehmen zwecks Bereitstellung von Werkzeugunterstützung anzieht, scheint offensichtlich. Der wesentliche Punkt dabei ist allerdings ein anderer: JFX ist bis dato eine proprietäre Angelegenheit von Sun Microsystems. Es fehlt ein JSR. Es wäre natürlich noch sauberer gewesen zunächst mal mit einer Spezifikation anzufangen oder nebenläufig eine zu schreiben (hervorragende Kommunikationsgrundlage!), insbesondere auch, um darin zu definieren, wohin die Reise eigentlich hingehen soll. Derzeit ist der JFX-Leistungsumfang kaum zu beurteilen, fehlt doch jedliche konkrete Definition der Zielsetzung. Von der (fehlenden) Anforderung zur “weich umrissenden” Zielgruppe: Traurigerweise sind konventionelle Java/Swing-Entwickler sicher nicht Bestandteil der Zielgruppe von Version 1.0, was man beispielsweise an den größeren Defiziten bei der Interoperabilität erkennt. Das ganze Drama spiegelt sich beispielsweise auch bei der aktuell einzigen, halbwegs soliden JFX-IDE wider: NetBeans 6.5. Hier wird fleißig unterschieden zwischen Java und JavaFX. Warum? Die ersten Fragen stellt sich ein Entwickler, wenn er vor der Entscheidung steht ein Java-Projekt zu erstellen, um dort FX-Artefakte zu hinterlegen. Oder soll er lieber den anderen Weg gehen: Ein JavaFX-Projekt aufmachen, und dann dort Java-Artefakte erstellen? Die Entscheidung, wie immer sie ausfällt, hat operative, nur halbwegs nachvollziehbare Konsequenzen, beispielsweise wie ein Artefakt ausgeführt werden kann. Für mich ein Schritt rückwärts auf der Reise der polyglotten Gemeinde.

Ob man den aktuellen Meilenstein 1.0 nennen muß oder nicht: Es ist noch viel Arbeit notwendig. Es mußte in den vom Autor angeführten 500 Tage sehr viel Grundlagenarbeit durchgeführt werden (hausgemacht. Nochmal die Frage: warum eine neue Sprache?), und der aktuelle Stand macht einen guten Eindruck. Natürlich füllt JavaFX eine Lücke bei reichhaltigen, auf Java basierenden Client-Anwendungen. Multimediale, mit Animationen versehene, deklarativ zu beschreibende Applikationen für Browser, Desktop und später auch für mobile Endgeräte, und allem voran das schöne Herausziehen der FX-Anwendungen aus dem Browser auf den Desktop, all das macht Lust auf mehr. Ob aber noch weitere 500 Tage reichen werden, um den enormen Vorsprung von Marktbegleitern wie Adobe aufzuholen, bleibt abzuwarten. Denn auch jetzt schon und auch ohne JavaFX lassen sich Frontend- und Backend-Technologien von Enterprise-Anwendungen sauber entkoppeln. Ich hoffe, die weitere Evolution von JavaFX gelingt und es wird keine Weiterentwicklung von anderen Technologien und Standards darunter leiden müssen.

Mit freundlichem Gruß
Michael Hüttermann

12/30/2008

JavaFX - some first deeper impressions

I'm still very thrilled about JavaFX -- don't get me wrong, but I'm and more and more disappointed too.

This begins with that I feel like an early adopter of an alpha-stage technology working with JavaFX 1.0. The more I look into that technology the more I'm wondering: is JavaFX supposed to encapsule Swing or not? I thought it will be an abstraction? Under the hood you use well-known components like JButton, but pretty nicely hidden and wrapped through FXNodes, SGNodes, SGParents and many other components. Other controls are native JavaFX components like TextBox/text. Some kind of missing consistency ...

The whole interoperability JavaFX/Swing is really, really bad. Working with the ScriptEngine isn't the optimum right? Being dependent on getResourceAsStream is so error-prone. Actually I'm wondering who was the target audience for JavaFX 1.0. I guess not the Java / Swing developers ... ?!?

The next is the tooling .. ok, a lack of tooling is not a big surprise as long as no stable spec is available. I tried JavaFX with NB 6.5 and it is pretty ok, but I hack my scripts inside the NB editor just to valid that they are correct and then copying them into my IntelliJ IDEA or Eclipse workspace. Why? I'm not sure ... but it starts with that NB distinguishs between Java and JavaFX artifacts and projects everywhere. What a pain.

The whole JavaFX stuff gets better .. starting from zero at JavaOne 2007. But I have the impression for JavaFX the whole product is still driven by (suboptimal) marketing, not by software engineering. And all that with a lack of communication ..

12/13/2008

Back from Devoxx ...

Back from Devoxx! Meanwhile I returned from my journey to Devoxx, the biggest and best independent Java conference in the world hosted in Antwerp, Belgium. After four days (traditionally I skip the Friday half-day chill-out) of university sessions, tools in action talks, BOFs, conference talks and 293827 chats (estimation) I'm pretty blown up with Java - even more than I'm already normally.

Topics were well spread cross the whole stack more or less, the quality was again very good, I met a lot of old friends and got in touch with new interesting guys. Arriving on Sunday I finished preparation of my own talk I gave on Monday. I talked about the combination of TestNG, Fit and FEST for functional testing of Rich Clients and it was inspiring. Interesting a guy asking me afterwards if I see many projects testing their applications. :-) Actually, not many enough. With another guy I talked about running functional tests on a build server with the help of Xvfb.

The University session "Scrum in Practice" by Chery Sylvain and Yves Hanoulle was pretty good. Later I had some drinks with Aaron Houston, Antonio Goncalves and many others mainly French guys.

My highlight on Tuesday was Filthy Rich Clients: beyond Java by Romain Guy and Chet Haase. Later on I chatted with Mike Keith asking him if Oracle will by Sun. :-) Nice also was having a beer with Jason van Zyl, founder of Maven. He told me Sonatype will more focus on products than on services in the future. I asked Reggie from Sun for a special speaker for the JUG Cologne - secret who it is. ;-)

I also had long conversations with John Smart, author of the book "Java Power Tools". I managed to recruit him before to be assistant stage producer for the Agile 2009's Tooling track .. and he is such a nice guy!

Wednesday I had a nice "nice to see you again coffee" with Mike Wiesner after his session "Security Patterns revealed" and joined the session "Introduction to the SpringSource dm Server" by Sam Brannen. Actually the server is better than I thought the time they went live with it. A running gag was meeting Toni Epple and Sven Reimers from NetBeans DreamTeam doing some kind of IDE bashing. I really like NetBeans and tried NB 6.5 with the JavaFx bundle. To drag some basic visual types into my stage .. is this already the final version of functionality richness? Actually I told the two dream teams guys about the JetBrains MPS program which is in beta now. But Toni, I do not agree about the sizes of the companies and their team velocity. ;-) BTW, the JetBrains booth was one of the biggest this year (and I met a lot of JB and JB Academy guys), Eclipse had a small one niched. JUG Cologne speaker Frank Nimphius gave a talk about JDeveloper and JSF. In the night I was downtown with Rainer and Rene from the Struts PMC. Nice meeting you guys !!

Wednesday was also the JUG leaders BOF. About 20 up to 30 JUG leaders and some VIPs attended. We had some interesting topics especially a European JUG roadshow. But, honestly, here in Germany too many JUGs are too much isolated and only look on themselves. But there already is some kind of Roadshow approach here: If I manage to get world-class speakers to our JUG in Cologne, some other JUGs nearby ask those speakers to give a talk there too. That's of course unofficial and is not want the BOF wanted to achieve: a JUG Roadshow under a common branding where it is a giving and taking for all not only for some.

On Thursday I liked the "JavaFX: Building & Deploying JavaFX Applications" talk by Richard Bair and Joshua Marinacci very much. It was a nice contra talk to all those Flex and Android sessions. Afterwards the JavaPosse was some kind of disappointing. Is it only me or does the quality decreased over the months and years? Later on I drove back to Cologne .. did I mention that it is only two hours by car from Cologne to Antwerp? Very convenient!! Driving to Antwerp David, a guy from the JUG Cologne joined the journey ... we had some really nice discussions about what is going on in the Java ecosystem. Looking forward seeing you at the next JUGC regulars table.

A comprehensive report with details and valuations will be available soon in the JavaSPEKTRUM.

12/12/2008

Being part of the FEST team ..

Since a couple of days I'm team member of the project FEST - Fixtures for Easy Software Testing. That's really awesome .. FEST is very cool especially for efficient and agile testing of Swing clients. I used it myself for some time now and became a contributor and power user. Looking forward to the next tasks .. at the moment finalizing and going public with version 1.0 of the Swing testing framework (and the companion frameworks) is the most recent job on the roadmap. Thanks!

11/21/2008

Tooling infrastructure for agile projects

The current issue 6.2008 of JavaSPEKTRUM contains my article "Eine technologische Infrastruktur für agile Projekte" describing a tooling infrastructure for agile projects. Balanced at the building blocks SCM, testing, VCS, Continuous Integration and Standards/Audits I discuss the right use of right tools like Maven, TestNG, FEST, Fit, EMMA, TeamCity, Subversion, Trac. Actually you can apply the concepts, tools and patterns in agile and also in more traditional process models. The article is a compact overview, for more details and a more big picture you should read my book. :-)

10/19/2008

Agile Tooling talk at Devoxx

December 8th I will give a talk at the Devoxx (formerly known as Javapolis) conference in Antwerp, Belgium, about Agile Testing of Java Rich Clients. In this session we show how to test Java Rich Client applications in a comprehensive and sophisticated way. Firstly we write component tests with TestNG. Then we write functional acceptance in HTML with Fit. We bind our Fit-tests to TestNG in order to bridge the technical barrier between unit and functional tests. Visual components are driven and tested by FEST in a sophisticated fluent interface notation. These facets are part of a full-fledged infrastructure based on Maven. Practical tips and and best-practices do complete this highly interactive session.

You will also meet me at the JUG leaders event December, 10th and I think there will be a Java Champions gathering too. If you are interested in having a coffee together at European's best Java conference drop me a line! My schedule is full with official and semi-official meetings and events, but we will definitely find a minute! :-)

9/26/2008

Functional Testing of RIAs

The recent JavaSpektrum issue 5.2008 contains my article about "Functional Testing of Rich Internet Applications". After discussing concepts und best-practices in the context of testing web applications I introduce the two leading and free testing tools WebTest and Selenium. After a deep comparison I include both frameworks (respectively example projects) into a continuous integration process based on TeamCity. If you are interested in reading the German article you may take a look here.

8/26/2008

XPDays program online

The program of this year's XPDays. the German confernce on agile topics, is online. The happening will take place end of November and consists of three different days: November 27th, there will be a one track program with different general talks. Day two on 28th is the main conference with three parallel tracks, day three a community day with open space formats. I was part of the program organisation this year and I'm happy with the program itself and the split to three different days including the Community Day.

8/21/2008

JUG Cologne@Javamagazin

The recent Javamagazin issue 9.2008 contains my article about the Java User Group Cologne. Have fun reading about one of the most active JUGs in Germany.

8/14/2008

JUG Cologne - coming up ... !

Last Monday the Java User Group Cologne hosted an event consisting of two talks: GWT, the Google Web Toolkit, with Patrick Chanezon from Google and "Scrum with JSR 264: Order Management API" with Andreas Ebbert-Karroum.

After that great success the next happening is already coming. On August, 25th WebTest will be presented by its main contributor Marc Guillemot. Afterwards beginning of September we will have a double-feature again .. yes, two conferences during one week .. "Spring Security Patterns", with Mike Wiesner from SpringSource and "Scala" from Ingo Maier, Ecole Polytechnique Federale de Lausanne EPFL.

The autumn is a Spring automn: October, 13th we'll have a Spring double-feature: "Dependency injection for business objects" with Nils Wloka and "Spring Source Advanced Pack for Oracle" with Stefan Glase und Stefan Scheidt. All three guys are well-known Java experts from Opitz-Consulting. Then the next highlight is on November, 3rd. There Stefan Tilkov will speak about JSR 311 / REST and Dalibor Topic about "OpenJDK".

And do not forget the regulars' table of JUGC every last Friday in the month! A lot is happening in Cologne in the Java community ecosystem.

7/26/2008

JavaSpektrum: JavaOne 2008 report available

My JavaOne 2008 report was published in the recent JavaSpektrum edition JS 04/2008. It contains the main news and developments, comments and trends of the Java world and its community. The PDF is available here.

7/19/2008

Java Conference Munich: September, 12th

For a pretty long time I planned to travel to Munich in summer or autumn to visit some old friends for a tasty wheat bear in some nice locations. Now we commited to September and I scheduled September, 11th to September, 13th for my journey. Actually in that week there is the Jahrestagung of the GI event including a Java Conference on September 12th. So very practical to give a talk during the day before jumping into Munich's night life. If you will be there in that time slot and want to chat a bit please let me know and we may get in touch .. ah ok, I forgot to mention that in my talk I will speak about sophisticated testing of rich clients.

6/22/2008

Jazoon: 2008-06-25 "Agile Testing of Rich UI Swing Applications"

During Jazoon I will give the Lab "Agile Testing of Rich UI Swing Applications"

Timeline
Wednesday, 2008-06-25, 11:00 - 12:50, Arena 7
11.00 start part 1
11.50 break
12.00 start part 2
12.50 end

This is a Lab. It will not be an ex-cathedra teaching. So you are engaged to play with your sources and ask questions. I will go around for discussions and answering questions about the topic and -if you like- about the football match in the afternoon. ;-)
You may want to:
- check the infrastructure provided
- run the application
- run the tests via TestNG Eclipse plugin
- run the tests via Ant
- check the TestNG results
- check the Fit result
- modify the TestNG test
- write own TestNG component tests
- modify the Fit test
- write own Fit tests
- write own Jemmy interactions
- integrate the sources into a Continous Integration process (TeamCity)
- configure TeamCity projects and build configurations
- start builds from your TeamCity server site
- start builds from Eclipse
- check build result, examin reports and artifacts

Abstract
We will build up and use a comprehensive technical infrastructure for testing Java Rich Client applications. Based on an example Swing application we explore unit-testing components with TestNG. We discover that TestNG usage benefits especially if you want to group your tests, introduce dependencies or test concurrency.

We explore functional tests by using Jemmy for driving interactions on our UIs and Fit for writing state of the art acceptance tests in HTML syntax. We integrate Jemmy, Fit and TestNG to specify and drive our functional features. We integrate component and functional tests to overcome the technical barrier which is in place normally.

Finally we integrate all our free available tools with Ant and TeamCity. Our unit tests and functional tests run in a row continuously. Our full-fledged continuous integration and test-driven development environment gives feedback about the application quality and sync the application specification with the current application behaviour. We can trigger, monitor and react on (hopefully not broken) builds while using the TeamCity Web 2.0 UI or work seamlessly and do the same, additionally start remote runs and delayed commits from inside our IDE like Eclipse or IntelliJ IDEA.

Preconditions:
Eclipse 3.3.2
JDK Java 6
TeamCity 3.1.1 "Professinal Edition"

Step 1: Install Subversion support "Eclipse Software update"
Subclipse 1.2.4 (only plugin itself)
Update site: "http://subclipse.tigris.org/update_1.2.x"
(although the Subversive plugin is also ok for checking out the sources you will not gain maximum benefit in the context of the TeamCity integration)

Step 2: Checkout project "RichClientTesting"
http://87.230.78.21:4711/svn/projects/trunk
(Fit, Jemmy, TestNG artifacts already included in the project)

Step 3: Customize build.xml: Path to your home folder where your workspace is located

Step 4: Install TestNG support "Eclipse Software update"
Update site: "http://beust.com/eclipse"

Step 5: Install TeamCity Server and TeamCity build agent (running both as a service is best)
http://www.jetbrains.com/teamcity/download/index.html
(default configuration with bundled Tomcat and HSQLDB is enough)

Step 6: Install Eclipse TeamCity plugin
Local TeamCity site: "My settings & Tools" (http://localhost:8080)

6/21/2008

JavaOne 2008 - revisited


There are some new pictures available from my JavaOne 2008 visit. The first picture shows four guys participating in the CommunityOne panel discussion including me the second one from right.

The second picture shows me standing beside Aaron Houston from the Technology Outreach Program of Sun Microsystems. What a great guy .. always an ear for the Java community. The picture was shot in the java.net Community Corner - once again the communication hub of JavaOne and the Java community.

5/25/2008

Javamagazin: Polyglot Programming

The current issue 6.2008 of the Javamagazin contains my article about "Polyglot Programming". It deals with the evolution of the Java platform and its trisection in the language itself, the JVM and the APIs/libraries. I talk about standards and approaches unifying the efforts for providing more languages on the VM also dealing with tooling, Closures, Sun Microsystems and the JCP .. as concrete examples I discuss Groovy, JRuby and Scala with IntelliJ IDEA, NetBeans and Eclipse. My article is the leading article of that issue. Additionally I'm also "Author of the month" .. thank you.