Building, Running, and Integrating AndroMDA sample custom cartridge (deployment-cartridge) into your andromda application


­In this post I will try to make life with AndroMDA custom cartridge easier by guiding you step by step to Build, Run, and Integrate the sample custom cartridge (deployment-cartridge) into your andromda application.

most of the problems that any newbie may face when he decide to develop his own custom cartridge are:


Ideas to be implemented if there is some spare time:

launching andromda wizard to generate the starter application

this is how you can launch the  andromda wizard to generate the starter application

mvn org.andromda.maven.plugins:andromdapp-maven-plugin:3.3:generate

Spring Service Layer caching

sometimes you may want to cache some information to enhance the performance by minimizing repeated hits to the database.

there are two ways you can take any one of them or take them both:

Sura #112 Al-Ikhlas

In the name of Allah, Most Gracious, Most Merciful

Say: He is Allah, the One and Only Allah, the Eternal, Absolute

He begetteth not,  nor is He begotten

And there is non like unto him 

News falsification and fabrication

many times I read fabricated news at this web site ( Masrawy).

Masrawy became (or it may be built to be) source of News falsification and fabrication.

 many times, many times, many times they post news just to get the maximum traffic and maximum participation (comments) from net surfer.

Masrawy is the electronic side of yellow newspapers.

JSF Datatable datascroller Search result navigation to first page

­the problem in brief is that if you navigate using the datascroller to any page for example page number 5

and you enter a search  criteria and pressed on the search button the result is returned and the datatable is updated but the datascroller keeeps standing at page 5 which may not contain any data because­ your search result may not have enough data to be splitted on 5 pages so you want behaviour like after pressing search your datascroller will be set to page number 1 and this can be done as follows:



Brazil watching their own game played gainst them!

yesterday match was between Egypt and Brazil the result 3 - 4, but regardless the result I see that Egypt played un expected game against the masters of the football.

I can't hide that I'm one of the big Samba team fans, I even play with it in Play Station ;)

but yesterday Egypt prove that there are many talents and skills in it not less than in Brazil, and I guess that from yesterday Egypt performance; It was like Brazil watching their own game played against them; As we was moving the Ball with one touch

Hibernate Query Problem

I was facing a wired problem that is I'm constructing Hibernate criteria and I have added some constraints to it and then called the criteria.uniqueResult(); it sometimes return results and sometimes return null, however if you take the generated query and execute it against the database it will return result to you.

I have Engaged

I have engaged a cute girl during my annual vacation in Egypt, first I was refusing the idea of engagement at that time but when I see her I have changed my mind and it takes less than 12 hours to accept the idea of engagement.

you can say that this is Love at first glance then everything happened in a fast way as a sweet short dream,

Powered by Drupal - Design by artinet