Friday, May 23, 2008

Heading back from where I used to live, it was time for dinner. My aunt had made a list of all the food she knew to be good, and wanted me to choose which ones I liked. Mmmm. In hindsight, I shouldn't have eaten that much. I did gain a few kilos in the short period I was there :-DOh well....

Food like "Fesenghon", "Ghormesabsi", "Mirza Ghasemi", "Joje kabab", "Cholo kabab" and more are all coming back to me...

Party party party

My cousin Bashir, on the left here, through a party for me and invited some of his friends. Now I don't want to say too much, but it was a pretty cool party, much like the ones we have here in Norway if you know what I mean.But one thing that can never prepare you was the smoking. The house was filled with smoke. I had to go out and take fresh air every 10 minutes.Not much more happened that evening. We ended the party quite early and went home singing in the car.Here is a short video clip from that car...

The days that followed was spent on sightseeing in Tehran. I went to a big museum, which is a park and some castles of the old palace from the Shah time, plus some other cool stuff.Here is some pictures from inside and outside of the museum.

These pictures are taken from outside of the museum. You can see the old cars which was used back during the Shah times.

These pictures are from inside of the castle. The rugs are hand made the one on the left was huge!

We also went to another castle where one could see The Marble Throne terrace. It was a place where the former King used to receive gifts among other things when visitors came. There was also other gifts from Kings, Queens and other royalty as well as countries in one of the museums.

The king used to sit up on the throne and people would come from both sides and give gifts.

Wednesday, May 7, 2008

I tried running seam-gen on an existing MySQL database, where the engine is MyISAM.Jboss-seam-2.0.1.GA is the version of seam I was running.

The strangest thing happened. When I reversed engineered the database to create entity beans, the foreign keys where not Objects like it is normally, but rather String.For instance, in our Address entity bean, I have a foreign key that is mapped to the Country entity bean.Normally the Address.java should look something like this:

Monday, May 5, 2008

I recently went to Iran for the first time in 21 years. Back to the "motherland". It was a great experience, one which I had been looking for, for many years.

I took the flight from Oslo to Amsterdam, and from Amsterdam to Tehran (Emam Khomeni Aiport). Typical my luck, KLM managed to forget my bags, so I was without a suitcase for a couple of days. I forgot to complaint to get some kind of compensation. Oh well....

I was greeted in the airport from my cousins with their better half's. It was a bit strange to meet them for the first time in 21 years, but that feeling was quickly vanished when I said my hellos and the hugs where given. My farsi, from what I believe isn't that good, but they were very astonished that I spoke so well. They imagined that they would have to use sign language or try to translate half of the words in english :-)

In the car driving to my aunts apartment, they put on a cd which they had found for me. The guy was singing "My name is Shervin", and it was pretty fun. They never did managed to find that CD again, because I was imagining myself driving around in Oslo with my new ride pumping the volume with "Esme man Shervin'e", which is translated my name is Shervin. Oh well.... :-)

Before my trip to Iran I had of course heard stories of the infamous traffic. Luck have it seems, I went to Iran during the holidays, so the traffic was non-existent.Here is a little video from the traffic and other stuff. (Mind the poor quality, it was taking with my camera)

The first day my two cousins Hanieh and Hedieh, took me to the place where I grew up in Tehran. This is the place where I spent my first 5 years of my life. And this is how it looked like: