When working with legacy systems, we often Service Oriented Architecture on top of a mainframe of some sort. Basically all our new web applications therefore communicates with web services and generate some type of response based on that data. The web services are not very fast; typically they have a response time between 100ms and 1500ms. When creating [...]
NoSQL is on the offensive these days and, among other tings, promises schema-less databases with structured data. Sounds great!… It’s just that most of us will be stuck with the good old relational databases and their schema’s for several years to come. So, how can we do agile SQL schema management a bit more painless? [...]
Man finner ofte eksempler på repeterende kode som gjør tilnærmet det samme, men med en liten variasjon. Det kan være enkelt å se mønsteret, men vanskelig å trekk det ut for gjenbruk. Det finnes mange måter å løse dette på i Java, men ofte ville det vært enklere med higher order functions. Vi skal se på hvordan slike problemer kan løses i Scala.
vmware lanserte Cloudfoundry beta i april 2011. Cloudfoundry er en open source PaaS (platform as a service) som gjør det enkelt å utnytte skyen for både interne og eksterne applikasjoner. I denne bloggposten vil jeg gå gjennom hva Cloudfoundry er og til slutt vil vi deploye en Sinatra-applikasjon til skyen. Konkurrenter Google App Engine var [...]
After getting some interesting feedback from an anonymous reader, I decided to transform the example in the previous post from JAXB first to XSD first. The updated code can be found in the xsdfirst branch of the memberservice project at github. What had to be done? 1. The JAXB message classes had to be deleted [...]
Update Updated example application to use annotations for WS endpoint resolution Spring Webservices encourages a contract first, message oriented approach to creating Webservices. The underlying details are completely under developer control starting from the contract to the marshalling/unmarshalling details to the endpoint handling the request. The same holds for the REST support that was just [...]
Jeg liker ren og pen kode akkurat like mye som hvilken som helst annen programmerer. Det kommer litt ekstra hjertebank av å se kode smellt sammen med minimal bruk av kodelinjer og like lettleselig som siste nummer av Donald Duck. Kodesnutter du bare kan trykke Ctrl+Print og levere rett til domeneeksperten og si “var det [...]
Case: You’ve finally made that all-so-snazzy Flex application with DataGrids, Charts, transitions from here to the end of eternety, nice looking validators and all else you can think of. Also, you made it in no-time. The users are thrilled and so is the client. In other words, all is peachy in Rich Client Web Application [...]