J-Spring: JEE 6 and JavaFX

Paul Bakker kicks of. He’ll talk about coupling JavaFX to JEE 6. He’ll do this by using Jax-RS.

He mentions the strong points of JavaFX. He also mentions the drawbacks of JavaFX too, there are no UI components yet.

JavaFX is a completely new language targeted at the RIA platforms. Silverlight, Flex and Flash.

He goes on to describe the relevant parts of the new JEE6 spec. Especially the web profile will be an interesting part of the spec. New versions of various API’s will be released. Jax-RS is interesting in the context of this talk.

Download Glassfish v3 to start with Jee 6. Everything will be deployed as war files.

He describes the architecture of the demo application. He also implemented a desktop JavaFX application as well.

He will show a demo now…. ah too bad his vm Vista image is stalled. Hope he has more luck later.

JSF 2.0 highlights:

  • Facelets
  • Annotation support
  • Ajax support
  • Resource loading
  • Project stages

Javafx runs in an applet in a browser or as a desktop application. The applet can communicate through javascript. Hope this works better then the time I tried to integrate an applet through javascript.

JavaFX will be used as a rich control on the web page.

Put a link here to the appletstageextension api. Also look for api to interop between javascript and java (aka. LiveConnect). Paul shows how in a NetBeans window and a live example.

Next up a little info on how to integrate an Applet within your web application. Do not hardcore the urls, let the applet ask for the server address tom the current context. Look for something called codebase. Be sure to expand the method called “getProperty(java.lang.String key)”.

Demo time in the Vista VM again. Failed due to windows defender this time. Poor Paul, I can tell he’s bummed about it.

Some info on how to work with JSF @ManagedProperty and @PostConstruct. Usageof the javafx javascript method is shown, it loads an applet into your web page with a single javascript call.

JFXtras is a project that fills some of the gaps in the current javafx implementation. Code of the MigLayout in JavaFX is shown.

Now Jax-RS is discussed. REST is discussed. Looks simple to implement with Jax-RS.

Now his laptop seems to have died completely. Ah it works again. But now his remote is acting up a bit. Lot of bad luck for Paul today, but he remains well composed and continuos his talk.

How to use light ejbs, how to use jndi. Something new, global jndi, javafx web service api (Pull parser, XML and json supported, no soap support)


J-Spring: Bert and Oscar

These two goons were making a dangerous appearance at the NL-Jug J-Spring event. Don’t they look tough to you?

Be sure to pay proper respect to these two friendly guys. They’re my colleagues, or I’m their colleague. Whatever rocks your boat. Anyway, say “Hi!” to them for me when you meet them.

Thanks for posing for this picture guys. 🙂

J-Spring keynote: Agile@Atlassian

Sherali Karimov has the keynote slot. He’s giving a talk on Agile. He shows a short movie about agile development. Standard blurb on agile, it’s not a methodology you idiot!! It’s about the values embedded in them. 🙂

Next the metrics that agile will bring a company on the long run:
Collaboration: email pile is bad, wiki is good, task management is good too. Code reviews are good too, they’re a learning tool.

Culture of improvement: People are to be allowed to make changes and empower the employees. Engine room? Small teams, and short iterations. The disturbed? Log hassle and shorten these hassle sources. Dump QA button clickers, enter Blitz Test. (What’s Blitz Test? Exploratory testing.)

Transparency: Eat your own dog-food. Issue tracker is public facing, users can see current issues. Documentation is also maintained publicly. Support for open source, projects are allowed to use products if they’re open source.

Metrics and analysis: Know what to solve, is the change an improvement? Dashboards should make looking at metric data pleasant and fast.

Agile is about the individual within the company.

He sure is a believer. 🙂 Now he says how wonderful and easy (??) it is to implement in big bad company. Anyway, start small and targeted. Perhaps it’s easier then you think. Again Agile isn’t a methodology, it’s a set of beliefs.

Javaone 2009 Refer a friend

Last week I my manager told me I can go to the JavaOne 2009. Very nice… 🙂 Will be the first time ever.

If you still need to register and are looking at a glaring empty refer a friend box… Enter this code: W1320901

If we meet on JavaOne I’ll be sure to pass you a few beers if you used my code.

My car and me…

This is starting to drive me nuts.

My current car is a Mini Cooper D. It’s a very nice though overpriced ride even when considering the total lack of luggage space.

But the one I got, it has to be damned in some way. I got the car on August 23rd 2007. Right now it’s February 25th 2009, so that makes 18 months. In those 18 months I drove 80.000 kilometres, about 4444 a month.

In those few 18 months I had the following problems with my car.

  • 3 times I got a star in my front windshield, the first one during the first drive with the brand new car, the last one earlier this evening while driving home from work on an empty street. (??)
  • Hail storm damage on my roof, bonnet and sides.
  • One small collision entirely my own fault denting the left side.
  • 3 flat tires, two due a small screw/nail on the road, third was last week on vacation in France when some French idiot decided to stick a knife in my front tire on a parking lot. Why someone would do that is beyond me.
  • Last summer when loading my MTB on my car for a trip to Switzerland a screw in the Mini branded roof carrier decided to fail by breaking in two completely on the morning of departure… So that turning into an afternoon departure.
  • I got an engine warning a few times indicating some problem with the diesel injection system. Caused me three trips to the garage because it was such a bizarre problem, my local garage and BMW Netherlands were clueless about what could cause such a problem. (So they decided to replace some sensor since that might be faulty. Talk about driving home from the garage with a feeling like: “Yeah they sure fixed that problem for good.”)

Anyway, that’s 10 problems with a car of which only one was my fault in only 80.000 kilometres/18 months. That’s about once every 8888 kilometres/2 months. My local garage are staying friendly through all this, they do their best every time. But man, I dread calling the car lease company tomorrow to call in the star in my windshield I got about half an hour ago. Even when considering the fact that 9 out of 10 problems is not my fault.

Glimmer Blocker

I usually don’t plug software I use.

But this one is just too good not to tell. About a month ago I installed a new new preference pane on my Mac OSX install called Glimmer Blocker. It’s a great add blocker. Most people know something like Adblock Plus for FireFox.

On Mac OSX there haven’t been to many good add block solutions. There are the brwoser specific blockers here an there. And especially the ones for Safari are nasty ones, input manager hacked ugliness.

With Glimmer Blocker, no more! It’s a system wide http proxy with no detectable latency overhead. It work for all your systems browsers. And you can subscribe to a blocker definition feed. It has more nice features too.

Only downside, you need to run Mac OSX 10.5.

J-Spring again…

Oh boy, the call for papers is in already for the J-Spring 2009. What to do??

I was planning doing a presentation there. But at the moment, I haven’t got a clue what to talk about. I could do a follow-up of my ANTLR presentation of last year. People really liked that talk and I would like to address the few complaints I did get. (Mainly about getting a more real life example) But I doubt that’ll make it past the selection committee. Maven is something I’m not that fond of nowadays. I could do a session about neural networks in Java. But it would be nice if I actually had done some work on those in the last few months.

Perhaps my colleagues at work have some nice ideas. We’re getting together again next Wednesday evening to discuss the directions for 2009 of our Rich Client group at InfoSupport.

Oh well… I still got a month. The call for papers is due februari 28th, send your proposals to papers@nljug.org. J-Spring 2009 will be at April 15th.