Archive for July, 2009

Ubuntu 9.0.4 Performance finally up to par

After using Ubuntu 9.04 for a couple of weeks, i still found it  a bit sluggish. I blamed my intel mobile graphics chip because it is not a really fast performer. But when looking into the CPU stats, i found that I was working at 800 Mhz all the time instead of 2.27Ghz!!!  But even at 800 Mhz, I was not really dissapointed with the performance.

But after some looking around on the Ubuntu forums, I  found out that it has to do something with the CPU scaling. After a few more searches accross the Intertubes, I came accross the following command:

sudo dpkg-reconfigure gnome-applets

After executing this command I added the the CPU Frequency monitor to the top panel and after selecting 2.27GHz as the preferred speed, Ubuntu was flying as fast as I expected to be! Even flash videos work pretty good right now, but still Adobe  need to do some decent programming so it doesn’t use up all my CPU at full screen!!

1 Comment

Exit MOd4J

Seems Mod4J is not yet ready to be used as an production tool because of the many bugs and incomplete features. I can’t even make references between different domain models using the domain model DSL. Because I am used to split up stuff according to thier role and don’t want to end up with a very monolithic model, this is not acceptable at the moment.

also the many open bugs does not give me enough confidence to put more time on this one….

Who knows of any tools which generate most of the plumbing from a domain model?

2 Comments

A weekend with Mod4J

In my spare time, which I have a lot more of because now I work close to home, i am developing an application in which I i will use the Open Social API, OpenID API and other frameworks. Now that my selection of tools and frameworks is pretty much finished, I end up with a rather elaborate domain model which evolves throughout the application development.

So, how to get my design into code quickly… Grails with Gorm would be a good option for that because this would take away much of the plumbing needed.

I tried IntelliJ with the grails framework, but IntelliJ is just a pain in the ass and does not work well with Ubuntu (right mouse context menu’s don’t work for instance) and the whole project setup is way different then I am used to (eclipse junkie). So I reverted back to eclipse and began setting up the framework I am going to use. Read some stuff about using grails with Eclipse but I was scared off by the comments found on the grails eclipse integration.

I read an article in the dutch Java magazine about Mod4J and it seems to fit in my requirements. I wanted a domain model fast with all the persistence thingies and service layer. Mod4J uses some smart easy to learn DSLs (NO DOCUMENTATION!! PLEASE FIX THAT) for modelling the domain in text (i really don’t like those visual tools because they slow you down and typing is much faster).

After some tries on the domain model, I managed to generete a complete application framework from scratch within minutes. All my hibernate mappings, domain objects, dto’s are generated and extensible without intefering with the generation part. I was surprised about the quality of the generated code and for now, i continue to use Mod4J for the development of my application model. So after one weekend Mod4J seems good for me. If it continues to suit me well, i will write some articles on how to setup your environment  and write some examples on the DSL which go further than the examples on their website.

Leave a Comment

Follow

Get every new post delivered to your Inbox.