Archiv der Kategorie: Software-Development

“real time” still hasn’t made it into corporate IT

today, when I requested a password reset for my account (I forgot the password) oh you want this to work immediately ???…:) sorry [name removed] you have to wait 45 min for the account to propogate through the network….not my … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , | Hinterlasse einen Kommentar

Eclipse PDE Build: Unable to find plugin XYZ

Today I had the problem that suddenly my headless Eclipse PDE Build process wasn’t working anymore as soon as I added a new Bundle project to my feature.xml. [java] /Applications/eclipse_3.5RC3/plugins/org.eclipse.pde.build_3.5.0.v20090527-1800/scripts/genericTargets.xml:106: Unable to find plug-in: bundlexyz I first thought there is … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , , | 1 Kommentar

Rails-like configuration of different environments in JAVA – YAML instead of properties file

This article shows a simple code example how you can replace a standard JAVA properties file (.ini) with a more flexible .yml (YAML) file using the JYAML library. I used this to store configuration parameters for an application for different … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , , , | Hinterlasse einen Kommentar

Initializing Hibernate without XML

This article just shows a code snippet I have used for initializing Hibernate in pure JAVA code without the hibernate.xml which you would normally use. public void start(BundleContext context) throws Exception { initHibernate(context); }   private void initHibernate(BundleContext context) { … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , , | Hinterlasse einen Kommentar

Cassandra Distributed Database – a link list for beginners

I am currently playing around with Apache Cassandra (distributed database) and this article is to store all the links I have used before I close my browser with trillions of open tabs http://wiki.apache.org/cassandra/GettingStarted http://wiki.apache.org/cassandra/ClientOptions http://prettyprint.me/2010/02/23/hector-a-java-cassandra-client/ http://wiki.apache.org/cassandra/DataModel Installing and using Apache Cassandra With … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , , , , | 3 Kommentare

SVN ignores file extension .so by default – which corrupted my build

I was just working on my current OSGI project which is build with Eclipse PDE headless for multiple platforms. The Eclipse Deltapack contains a launcher bundle (directory) called org.eclipse.equinox.Lauscher.gtk.linux.x86_1.0.200.v20090520 which contains a file called eclipse_1206.so. This launcher bundle I also … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , , | 3 Kommentare

Hibernate Transaction Handling in DWR

I am currently building a web-application using OSGI (HTTP Service) and Hibernate. I also use DWR for all the AJAX stuff in the application. DWR uses a special DWRServlet which handles the interaction of the browser with the server side. … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , , | 1 Kommentar

Java Code Snippet: Redirect System.out into a string

For a simple test application / prototype I just wanted to just dump everything from System.out into a String, which I can output somewhere e.g. in a JSP file so that I see what’s going on. And yes, I didn’t … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , , | 1 Kommentar

A software system is only as good as easy it is to setup its development environment

… you get the idea. After having spent almost an entire day to help our new developer to get setup his development environment containing the source code, eclipse, svn, appserver, database, user accounts I made a new resolution for every … Weiterlesen

Veröffentlicht unter Software-Development | Verschlagwortet mit , | Hinterlasse einen Kommentar

Stromverbrauch Macbook Arbeitsplatz

Letzte Woche hatte ich mir rein aus Interesse mal ein Strommessgeraet von den Stadtwerken geholt, um mal meinen Arbeitsplatz im Arbeitszimmer durchzumessen. Komponenten: Macbook 13″ 2.16 GHz Intel Core 2 Duo (gekauft Oktober 2007),2 GB RAM 24″ TFT Samsung SyncMaster … Weiterlesen

Veröffentlicht unter Software-Development | 1 Kommentar