Friday, October 22, 2010

What if we had EMF persistence on Datanucleus

One thing that keeps me away from EMF is that I'm so used to hibernate persistence and good old java beans. You may rant on that. But I have a look at Teneo and CDO from time to time, things keep getting better.

But think of if we had something like CDO running on Datanucleus ? It will give us the power we need for EMF in the cloud. Theres support for googles app engine and the new VMForce PAAS will be running Datanucleus to. I would defintively be thinking about using VMForce if I had a EMF persistence solution like CDO running inside.

If I only had more time... Maybe theres something like this out there and I just haven't heard of it ?

Friday, October 15, 2010

Technology implications on architecture and design

I have been in love with eclipse for a while because I love the architecture and I got used to the productiveness working on the platform.

I remember coaching an architect on RCP technology a while ago. He had several ideas what he wanted to do, came up with UI wireframe sketches and asked me how to do this and that. From his sketches I guessed that he had no idea about the technology he was going to use. He wanted to have widgets that don't exists in SWT/JFace and many other things I refuse to remember exactly.

Thats what I so often hated : Having no clue about technology, paying big money for a consultant to solve their problems.

Technology has always implications on architecture and design of an application. But so many times those who decide on technology don't have a clue about what they're deciding on.

If you don't have someone with a "masters degree" in mastering your technology keep away from it.

I see so many projects suffering from code and architecture smells simply because a lack of mastership.

As Ed Merks told me: Never stop striving for leadership and quality.

Sunday, October 10, 2010

First hops on Eclipse Virgo

My server has alwas been a monolith with an embedded jetty, mostly configured with spring and a whole bunch of libraries, hibernate, jackrabbit, embedded derby, jasperreports and so on. tons of jars to handle.

For a long time I wished I had chosen OSGi from the beginning, but now came the new hibernate search release that depends on a late lucene version that will be supported by jackrabbit sometime but not now. So no time to wait, OSGi I'm coming. Sick of the jar hell I thought about setting up my own OSGi runtime with equinox and jetty, but why build your own when there is virgo (aka Spring dm Server) available.

So as always after weeks of thinking, making migration plans for the existing server installations in my head, I downloaded virgo on friday night for the first time. I tried the sample to get at least a grip and started to build some library bundles (tried to keep it simple, so mostly large bundles) and copied my sources into some new folders that would be easy to kick if I won't succeed.

First I had to step back on Galilieo, as the Spring Tools Suite builds for Helios gave me the hell of errors and error dialogs popping all the way up. Back on Galilieo I found that I have to get a milestone build of the tools suit to get support for virgo. Getting used to the tooling... The Spring tools hold the Bundle Manifest in the src folder, which is a pain as i have to share one bundle with my RCP client the as used from PDE tooling has META-INF in the project root. Some folks already complained about that. Its really a pain.

Now I could get used to develop the server on Galileo, what means I have to do client development in a different eclipse instance as I depend on 3.6 for the p2 hell of changes that have been going on.

After about 20 aching hours of fixing import and export bundle headers and a truly sleepless night I saw Virgo at least trying to launch my server.

Now I am still fighting to run hibernate. I had to make some hacks on virgos manifests to install jpa2 and I had to install spring 3.0.4 as 3.0.0 that comes with virgo has some bugs regarding JPA2 and hibernate. I opened some forum threads today and I hope that I can get some useful input on classloading issues.

I see some light today.

Monday, October 4, 2010

EMF and GWT in the Cloud

Thanks to  Ed Merks who pointed me to today.
I just had to try this and lets say I am overwhelmed. This is what you need for GWT development, I will forget about JPA and DTO's.

Just had to re-post as its simply the thing I always missed.

Jupyter Kernel for Java9