Kategorien-Archiv: Software-Development

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

I was just working on my currently OSGI project which is build with Eclipse PDE headless for multiple platforms. The Eclipse Deltapack contains a launcher bundle (directory) called org.eclipse.equinox.launcher.gtk.linux.x86_1.0.200.v20090520 which contains a file called eclipse_1206.so. This launcher bundle I also committed to my SVN repository for my headless build from the build machine. I was wondering [...]
Veröffentlicht in Software-Development | Getagged , , , | Kommentieren

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. The other part of my application uses a global dispatcher servlet for all other [...]
Veröffentlicht in Software-Development | Getagged , , , | Kommentieren

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 want to setup a Logging framework for this…I want a String. Here it is: [...]
Veröffentlicht in Software-Development | Getagged , , | Kommentieren

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 system I will build in the future: The system about to be built: has to have a development [...]
Veröffentlicht in Software-Development | Getagged , | Kommentieren

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 245B Schreibtischlampe DENON Verstaerker als Stereoanlage Geraet Verbrauch minimal Verbrauch maximal Macbook 13″ (gekauft Oktober 2007) 35 Watt 39 Watt 24″ TFT Samsung SyncMaster 245B 23 Watt 73 Watt Schreibtischlampe [...]
Veröffentlicht in Software-Development | 1 Kommentar

Resolving Hibernate exceptions with MySQL on Linux because of case-sensitive table names

Today I tried to deploy my application from my OSX dev machine to a server on Amazon EC2. I was running into exceptions like this: Caused by: org.hibernate.exception.SQLGrammarException: could not load an entity: [app.model.entities.Jobs#8] at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:90) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66) at org.hibernate.loader.Loader.loadEntity(Loader.java:1895) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:71) at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:65) at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3072) at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:434) at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:415) at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:165) at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:207) at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:126) at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:905) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:822) at org.hibernate.impl.SessionImpl.load(SessionImpl.java:815) at org.springframework.orm.hibernate3.HibernateTemplate$3.doInHibernate(HibernateTemplate.java:569) at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:419) … 30 more Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: Table ‘database.Files’ doesn’t [...]
Veröffentlicht in Software-Development | Getagged , , , | Kommentieren

Resolving trouble with Ruby On Rails with MySql on XAMPP on OSX Snow Leopard

I was trying to work through the Get Started guide of Ruby On Rails but I had issues when I was trying to run the command “rake db:migrate” the first time. It was complaining that the mysql gem was not up to date or something and I had to do a “gem install mysql”. But that [...]
Veröffentlicht in Software-Development | Getagged , , , , | 3 Kommentare

Eclipse PDT and XDebug finally working

Yesterday I wanted to give myself a little update what’s going on in the PHP world as I was deeply involved in Java/J2EE in the last 4 years and haven’t done any PHP work besides maintaining some of my websites. So I decided to give the Zend Framework a try and started going through the Quickstart [...]
Veröffentlicht in Software-Development | Getagged , , , | 1 Kommentar

7 tips how to write better emails that people will understand

We all know it: We have a complex problem which we need to solve but we need to explain the problem first to a group of people to look for a solution or give sign-off. That means we first need to get the attention of those people, make them understand the problem. If [...]
Veröffentlicht in Allgemein | 4 Kommentare

My 10 favorite links on Software architecture, scalability and design

1. The Internal Design of Force.com’s Multi-Tenant Architecture (Video) 2. Dan Pritchett on Architecture at eBay (Video) 3. Orbitz.com Architecture with Brian Zimmer (Video) 4. Scalability Principles 5. An Unorthodox Approach to Database Design : The Coming of the Shard 6. Domain Driven Design and Development In Practice 7. The Challenges of Latency 8. LinkedIn – A Professional Network built with Java [...]
Veröffentlicht in Allgemein | Kommentieren