Softwaretechnik, Politisches, Interessantes und mehr

myndian.de

Sonntag, 9. November 2008

Runnig Grails

Today I started my fourth attempt to build and run a simple Hello World Application in Groovy. I failed using Grails 0.4 and 0.5.something because it just did not work and I did not get any help. :-( Because these were premature version I tried using grails 1.0.rc4, but on my new machine. It failed too. But as I know now, because of configuration and windows permission issues.

Now I was successful! But it is very hard if you try to develop grails, while being no local admin. The problem is not Grails itself, but my lack of windows knowledge. I ended up, with nearly all windows runing as admin, except the browser. :-)

I also stumpled upon different problems. I could solve them together with our friend Google, but I think I needed two hours to get my very simple CRUD application working.

My conclusion up to now: Grails has to be easier to start with.
Geschrieben von Jörg in Softwaretechnik um 13:26 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: grails, groovy, windows

Sonntag, 16. März 2008

Simpler implementation of ApplicationContextAware

public class MyApplicationContextAwareClass
{

  @Autowired(required = true)
  private ApplicationContext applicationContext;

  // ...
}
Probably not very usable if you like to test your class (or you have to made the property package visible). But if your class is a test it is very nice and quite usefull.
Geschrieben von Jörg in Softwaretechnik um 13:59 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: configuration, spring framework

Samstag, 15. März 2008

Premature optimization and object orientation

Just a litte note aside: I know many people saying that object oriented software does not perform well. Mostly that is their pretext to do ancient procedural programming or - worse - to mix up both. But every informed developer knows that this is not true. The (performance, architectural, ...) problem of many oo-software is the mashup of procedural/relational on one side and object oriented on the other. A well-known advice is to build the simplest object oriented programm you could and to leave out optimization as far as you could. Optimize only if it is really, really necessary and only if you know very, very well where your performance lack resides.

This week I stumbled over such a situation. Last week - friday afternoon, of course :-) - a customer called us that the result of the actual iteration does not work properly. A component which generates a network plan from a template and does some computations on that structure really killed the test system. A test on our development machine with their test data showed us that this process takes over three minutes of full workload of the hardware. And the plan had only 64 nodes.

So I took Nils over to a pair debugging session and we did some profiling. The bug was found quickly in the gap between some domain objects that evolved from a relational structure. To fix this we added a little cache to one class. The process took about one minute. Another cache and it performed in under one second! Without changing any other part of the system, because of the oo design. :-)

We took this as a proof of the advices above.
Geschrieben von Jörg in Softwaretechnik um 11:51 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: java, object orientation, optimization, performance

Sonntag, 2. März 2008

POJOs, POGOs und POCOs

Every up-to-date Java developer knows what a ‘plain old java object’ is and its shorthand: POJO. It is a reasonable term from the view of a Java developer and especially of a JEE developer. But there is so much hype around POJOs that other communities are using this term too. So I found articles about ‘plain old CLR/C# objects’ - shortly called POCOs as you may imagin - and a few minutes ago I stumbled upon ‘plain old groovy objects’ or POGOs.

What the hack is old within a ‘POCO’ or a ‘POGO’? Did I miss ‘.Net 2 enterprise edition’ and ‘enterprise groovy beans’? When will there be POROs and POBOs and POPOs and ...?

Perhaps the term ‘simple objects’ does really describe what is meant.
Geschrieben von Jörg in Softwaretechnik um 16:05 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: c#, groocy, java, language

Donnerstag, 24. Januar 2008

Polarkreis 18 unplugged in Dortmund

In 2 Monaten ist es soweit. Der 29. März rückt immer näher und mit ihm das Unplugged-Konzert von Polarkreis 18 im Konzerthaus Dortmund!

Für knapp 20 gibt es auch noch Karten. Wir haben unsere natürlich schon lange :-)

Als kleiner Vorgeschmack gibts hier schonmal einen Ausschnitt aus einem “normalen” Konzert aus dem Paradiso in Amsterdam:
Geschrieben von Nils in Musik um 11:43 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: live musik, video
« vorherige Seite   (Seite 3 von 17, insgesamt 81 Einträge) » nächste Seite

Suche

Inhalt

Startseite
Galerien
Impressum

Kategorien

  • XML Alltag
  • XML Internet
  • XML Musik
  • XML Politik
  • XML Softwaretechnik
  • XML Sonstiges
  • XML Visuelles

Alle Kategorien

Archive

Juli 2010
Juni 2010
Mai 2010
Das Neueste ...
Älteres ...

Blog abonnieren

XML RSS 2.0 feed
ATOM/XML ATOM 1.0 feed
XML RSS 2.0 Kommentare

Login

Verwaltung des Blogs

Login

Aktuelle Einträge

Netzwerkkultur verändert die Gesellschaft
Dienstag, 17. November

Absolute and relative date and time
Sonntag, 18. Oktober

Oren Lavie - Her Morning Elegance
Dienstag, 6. Oktober

Twitter & Blogroll
Samstag, 8. August

Read It Later: Round-Trip-Integration mit Firefox und Google-Reader
Montag, 3. August

Blogroll

* Jörg bei Twitter
* Jens bei Twitter
* Nils bei Twitter

* Beetlebum
* a life less ordinary?
* Martin Fowler's Bliki
* Springify
* BILDblog
* Plazeboalarm
* LawBlog
* ADOM Blog
* Being busy
* Dr. Gero Presser

Links

* Heise
* The Scala Programming Language
Nils' Fotos bei fotocommunity.de
Jogi auf Qype
Get Firefox!
Use OpenOffice.org

Heise News

* Alcatel-Lucent bleibt in den roten Zahlen

* IBM kauft Kompressionsspezialisten

* Speicherhersteller erwarten Preissteigerung

* Britischer Datenschützer findet in Googles WLAN-Datensammlung keine persönliche Daten

* Österreich wegen verpasster Einführung der Vorratsdatenspeicherung verurteilt

kostenloser Counter