Tip #3: Never Write ‘new Thread()’ Again

As you probably know JRebirth has a powerful thread engine that kick away all coding complexity that could lead to User Interface corruptions, lags or the worst one a totally frozen interface.

It’s really difficult to create dynamically a lot of threads without adding some bugs to the application. JRebirth provides a powerful way to simplify your developments.

With the advent of Java 8 (with Method References) and JRebirth 8,  it’s now possible to chain and combine Tasks running into specific Thread in a very convenient way.

Continue reading

JRebirth Application Framework 7.7.5 is released

I’m pleased to inform you that we have released JRebirth 7.7.5 which fix an ugly regression of the 7.7.3 found the day after the release and not completely fixed by 7.7.4.

This will probably be the final release of the 7.x branch (except if a fatal error is found).

The upcoming 8.0.0 version will be released soon and will require Java8, newer amazing features are on the go, stay tuned !!

You can find the full release notes here : sites.jrebirth.org/org.jrebirth-7.7.5/releaseNotes.html
and the installation procedure here: sites.jrebirth.org/org.jrebirth-7.7.5/doc/Installation.html

Continue reading

Tip #2: How to runAndWait with JRebirth Thread Engine

Last week I saw an interesting blog entry from Kynosarges that deal with the missing feature Platform.runAndWait(…) that was available into Swing.

While I was reading it, I figure that JRebirth Thread Engine already does the job !!!

As a remember JRebirth Application framework provides 4 kinds of threads:

  • JAT ==> JavaFX Application Thread to perform all graphical updates
  • JIT ==> JRebirth Internal Thread (perform JRebirth wave registration and other custom internal stuff)
  • JTP ==> First Thread Pool (perform long task)
  • HPTP ==> Second Thread Pool to perform higher priority task

Let’s see how to do run a UI task and wait before doing something else, we will play with some JRebirth Commands, the threading engine is totally hidden from developer sight.

Continue reading

JRebirth Workbench First Step

Today I share a short video about JRebirth Workbench work progression. I have uploaded it on YouTube some days ago but I didn’t blog about it.

I’ve just seen the Tom’s blog entry that demonstrated a really nice tweaked TabPane build with Jonathan and perhaps available soon in OpenJDK (see the blog entry here for more information).

My widget is not as nice as their but the major part of my work is related to integration into JRebirth Component project.

In 2 words you can consider that JRebirth [Core+Component] will do the same job than e4 by using a different approach ( A Model from JRebirth is equivalent to an e4 part).

PS: Some people can ask themselves why (TF***) I’m reinventing the wheel instead of using e4 whereas I’m also an Eclipse developer. The answer is given by the framework’s name itself ! I’m really confident that we can do complex things in a simple way and mainly thread-oriented.

I’m upset to see my Eclipse (IDE and RCP) lagging all the day… (and even crashing, Java8+Luna+m2e+W8 doesn’t work anymore on my laptop… :( )

Builders Revisited

You are probably informed that JavaFX builders are deprecated within Java 8 and will be removed from jfxrt.jar into Java 9.

The first time I saw ‘Builders’, I thought => “Oh, yet another dot-parenthesis bullshit !”. At this time I was reviewing JavaFX 2 beta API to replace our Flex stack, because we really needed multi-threading capabilities for managing complex and big data. (flex was still supported by Adobe…, and yes I’m a RIA fan :). It’s so easy to write cryptic and  obfuscated code in ActionScript 3 + MXML.

But I gave them a try and thanks to amazing Eclipse formatter, I have found them nice and really convenient (less verbose and allowing imbrication).

When I read Michael‘s blog post about them [link here], I thought: “Yeah!!!  these builders really rock !!”.

Only stupid developers never change their minds , no ?? :p

Continue reading

Participate to JRebirth Roadmap

As you probably noticed, a new poll is accessible on the right bar of the website related on JRebirth future road map.
Thank you to those who have already given their opinions (it’s so valuable for us).

I will now describe each feature with a little more details than few words written into the poll. All of them are ambitious but without challenge there isn’t any fun !
Obviously all minor changes will be still integrated, so don’t hesitate sending us some feedbacks, we are hearing you and want to build the framework you have ever craved.

Continue reading