QFTest Scripting, VMWare and Hudson

We had already a running Hudson build server. The jobs running on it where mainly build, deploy and test scrips “written” in ant. The compiled binaries and some installation scripts where moved (using SCP) to a server VMWare image (the script installed a new database, created a new db schema etc.). Each build ends with [...]

, ,

Keine Kommentare

Negative Manpower (nMP)

One of my friends is working on projects in a huge company with a huge amount of people since years now. He told me that he sometimes wondered why developments remained slow, even though the project put more developers into the project. Thats what he said to me: “There must be something like negative manpower. [...]

Keine Kommentare

Surrounding SCRUM Part 2

This is a follow up to Surrounding SCRUM. We build some kind of a software development kit. So is was important to provide helpful documentation and usage notes to other teams. Unfortunately we learned that this needs significant effort and some kind of special knowledge how to present things. So some kind of an editorial [...]

Keine Kommentare

Wrapping JPA Queries

I love the “pattern” used in this post (which I got from here). Working with JPA queries I tried to follow the same pattern. In a REST resource I needed to query for one entity and change the location attribute. [UPDATE] This is mostly realized here [UPDATE] The code that visually separates the query from [...]

,

Keine Kommentare

REST Client calls with Scala and Jersey (JAX-RS)

[UPDATE] this post is really old. I’ve written a new one: klick [/UPDATE] Usually client calls to Jersey (see API) are looking like this: ?View Code SCALA1 2 3 4 5 6 … WebResource resource = client.resource(baseURI); Units units = resource.path("units/" + id).accept(MediaType.APPLICATION_XML). get(Units.class); … Using many different HTTP method calls with changing paths is [...]

, ,

Keine Kommentare

Reflection Read-Access to Scala Vars

Scala does not provide a special reflection API so we have to use the usual java reflection. Scala provides the @BeanProperty annotation to automatically create setter and getter (although these are not usable by Scala code). In this case Scala and Java makes no difference. If I want to access simple property fields directly I [...]

,

Keine Kommentare

withService(myService) {…}

If we are using e.g. Service objects (and a method called “create” on it), it is a common case that we have to create the object and do some open and close operations on it like this: { val s:Service = new Service() s.open s.create(“test”) s.close } In Scala we can use closures as a [...]

Keine Kommentare

VMWare Scripting

We are using Oracle Enterprise Linux 64bit installations in VMWare Fusion (32GB MacPros). In principal there are two possibilities to access running processes vmrun and normal IP-based protocols. Here are two bash functions to support scripting: Script to select one of the running VMWare boxes ?View Code BASH1 2 3 4 5 6 7 8 [...]

Keine Kommentare

Surrounding SCRUM

In the last years we had some quite big research and development investments running in our company. The goal was to design and develop a product for the military market. Trade shows should be the platforms for demonstration and discussions. In parallel to the normal product improvement we implemented a lot of special functionality (for [...]

Keine Kommentare

Software Architecture and Erosion

Successful projects do not happen, you have to make them. In long lasting projects we see a erosion of architecture and code structure. Changes are more and more difficult to implement, fixing bugs take more and more time, sometimes projects do fail. But we can do something: (takes some time to load)

Keine Kommentare