Showing posts with label cdk. Show all posts
Showing posts with label cdk. Show all posts

Thursday, March 29, 2012

Incredibly Fast JSF Component Development

Why is a JSF components development so painful?

It would be really great if I could develop full-blown JSF components wrapping some JavaScript UI widget as fast as I'm developing plain HTML, wouldn't it?

Just two words: fast turnaround!

Every tool and every framework which tries to simplify a process should have a strategy to allow a fast turnaround. It is lowering a learning curve and saves developers many invaluable hours. And mainly it makes working with the a tool a pleasure!



RichFaces CDK


The CDK project is sample of such a powerful tool - it allows you to write just two pieces -
  • a Java component interface,
  • a HTML renderer (with Facelets-like syntax),
and then it takes these definitions and
  • generates all the boilerplate code automatically including
    • all the Java code,
    • configurations (faces-config.xml and *.taglib.xml),
    • and a VDL documentation.
Brian Leathem has written series of articles introducing how easy can JSF component development be when using RichFaces CDK.

But besides it is the powerful tool, you can also achieve a really fast development turnaround using CDK- just by using proper tools!


Quick Turnaround with RichFaces CDK


There is guide which covers how to setup your tooling to start with a development.

It covers setting up the component and demo project in JBoss Tools (on top of Eclipse IDE) and how to automatically trigger build when you change CDK resources.

And to make the deployment phase as quick as possible?

We are using JRebel to hot-deploy built resources into JBoss AS 7, which is itself f&@#ng fast.

That's it!

You can just save & refresh the page!

The pictures used in the blog are only illustrative, taken by various authors and published under Creative Commons license. The references: the toolkit by Ryan Hyde and the trains by Joel Down

Tuesday, March 13, 2012

Great times at JDC 2012, Egypt


I’m finally back from Cairo, where I was invited as speaker on Java Developer Conference 2012.

If I should think of just one word explaining the conference, I would need to say: a passion.

You could seen the passion from everywhere: discussions, an audience, follow-up questions, organizers.

As I have written in last post, I had three sessions there - you can read more about them or view the slides at Lanyard:





The only what would I change is timing of sessions, because then me and Koen’s session had not conflict and Arquillian would take even more attention.


I have spent lot of time in the JBoss booth and the venue, discussing precious projects!



After the conference closing, the good beer and the nice mood over the discussion about various, mainly JBoss-related and philosophical questions with Koen made my Sunday's waking up really hectic - I arranged the trip over the pyramids for 9:00. Although the clock in the room was showing 6:25, it was nearly 9:30.

But the morning’s difficulties were quickly shaded with all the great views on pyramids - there were so nice and as Koen expressed it exactly: mind-blowing. I really need to give another thanks to the our tour guide - Mahmud for taking us all - me, Jonaas and Richard - to the pyramids.


At overall, I would be really happy to speak at JDC again next year as well as discover other beauties of Egypt!


Monday, March 5, 2012

Speaking at JDC'12 in Cairo, Egypt


I'm speaking at JAVA Developer Conference 2012 held at March 9-10th in Cairo, Egypt.

I will give there 3 talks on my favorite topics: a web development with JBoss technologies and a testing.

The Gear You Need To Go Mobile With Java Enterprise
In the first talk, I'm going to cover what could the Java enterprise offer you in days of a rising mobile platform.

A Rapid JSF Component Development with RichFaces CDK
The second talk introduces RichFaces Component Development Kit as the tool to cover the space where JSF2 falls short - custom component development.

Arquillian: Effective Tests from the Client to the Server
The last talk is about the latest movements in the space of a testing revolution started when Arquillian decided to save the earth. I will focus specifically on testing an integration of the client and the server.


My JBoss fellow, Koen Aers, will be also presenting there and he covers lot of interesting stuff: JBoss Tools, Forge and Arquillian (yeah, Ike invades Egypt!). Let's checkout his and other sessions.

The event haven't started yet, but it's already looking like great event, I'm looking forward to see you there!