At Avisi we maintain an application platform where the platform (VM’s, databases, LDAP, etc.) is maintained by a third party. Modernizing our deployment processes, we obtained ownership of the platform’s configuration. This brought up a practical issue: we don’t know the passwords used by the applications to connect to the services provided by the platform (database, LDAP). In fact, we aren’t allowed to know these passwords since that would break the SLA with the platform provider.
Category Archives: Java
JBoss AS7.1 and RESTEasy: upgrading Jackson
We’re currently in the process of upgrading our application platform from JBoss 5.1.0 to JBoss AS7.1.1. Since it’s quite a big change (especially the transition from AS6 to AS7) things tend to break where you don’t expect them to. When writing blog posts, I like to present solutions for problems I encounter in my everyday engineering tasks… So here we go!
Testing your GigaSpaces XAP application
Very often when I deliver a GigaSpaces training I get asked “I like the technology, but how would you recommend we test our XAP application?”. This happened most recently during the GigaSpaces XAP Advanced training I held in Kiev.
So I thought it would be a good idea to answer that question through this article so that everyone can benefit from it.
Continue reading
Multiline Regular Expression
This week I had to help a colleague out with a regular expression (or regex). We came up with an interesting regex but ran into an unexpected Java problem, so I thought I’d share the results with you.
Continue reading
Mats Stijlaart on plugin frameworks
This is the next post in our series about the interns that currently work at Avisi. This time we introduce Mats Stijlaart. The Atlassian plugin framework is used on several projects to enable seamless extensions. Mats’s assignment is all about finding an alternative for, or confirm the choice of, the Atlassian plugin framework.
CXF on JBoss AS7: NoClassDefFoundError: com/ctc/wstx/io/DefaultInputResolver
Today we encountered a classloading problem in JBoss AS 7.1.1 while using JAX-WS. JBoss uses CXF as its JAX-WS implementation and CXF in turn depends on Woodstox as its default StAX implementation. The problem was that JBoss failed to load Woodstox now and then when parsing SOAP requests. Continue reading
Serial communication with an Arduino Uno on Linux with Java
I have an Arduino Uno that I want to use to drive a LED banner sign which posts messages from IRC. Accessing the serial port from Java on a Dockstar with Debian proved to be somewhat of a challenge.
Jackson and parsing streams: a short story about a big pile-O-JSON
Every now and then you come across an interesting engineering challenge. What defines an ‘interesting challenge’ differs for each of us. For me, the kind of problems that spark my interest involve parsing data streams, especially larger amounts of data (probably because it’s low-level in nature and there’s a hardcore feeling that comes with it). That’s exactly what this post is about.
Continue reading
Testing with Selenium & Saucelabs
A very important part of our software development cycle is functional testing. Luckily, functional testing techniques have evolved tremendously since the dark days of old school testing. Back then, testing was done with countless Excel sheets each having multiple tabs that reflected all the individual scenarios. Each tab looked a bit like this:
- Goto web-page: http://myincredibletestproject.com
- Click on the login link
- Enter username: test
- Enter password: secret
- Click login button
- Verify response: “Failed to login. Invalid credentials.”
Part III – Back-end development: Spring Roo and WebSockets
Remember the previous posts? (Building an information radiator: Part II – Front end development (HTML5 & CSS3)) We started off by explaining Walle’s architecture and the front-end development, but Walle has a lot of more cool technology under the hood: Spring Roo and WebSockets.