logo
Feb
13

Selenide in Five Minutes: A lightning talk

Selenide in Five Minutes: A lightning talk I’ve recently been doing a fair bit of Selenide for web functional testing at work, and have found it a lot more accessible than raw Selenium. I’d been looking for an opportunity to share my experiences when along came a “Lightning Talk” night at our local Canberra Java User Group. Peter McNeil put together a fantastic night of talks, and the sponsorship team of Redhat, Nerderg...
Jan
9

Firing CDI Events from a JPA EntityListener

Firing CDI Events from a JPA EntityListener I really love JPA’s EntityListeners feature – a really lightweight way of doing AOP, but without all the bytecode shenanigans at compiletime.  But under EE6 there are a few gotchas – and one of the big ones is that these EntityListeners are not subject to CDI injection. Eeek! So what do you when you want to get a handle to a CDI Bean? Or what about if you want to raise a CDI Event? The...
Nov
11

Testing Downloading Files in IE9 via Selenium

Testing Downloading Files in IE9 via Selenium After some recent Certified ScrumMaster training with AxisAgile, I’ve been really challenged to beef up my integration testing Kungfu. I’ve always found Selenium a little cumbersome from an API viewpoint, but I’ve recently discovered Selenide and have become a huge fan of (IMHO) the cleaner and more concise Selenide API. But one recent snag I’ve hit was around downloading files in...
Oct
4

What’s in the pipe for Grails in Action 2?

What’s in the pipe for Grails in Action 2? It’s been a while coming, but this book is now really starting to hot up! I’ve written over 75 pages in the last week putting together Chapter 13 (on single page webapps with AngularJS), and Chapter 17 (on Leveraging NoSQL from Grails where we cover off Redis, MongoDB and Neo4j). You won’t believe how much fun I’ve been having! So what’s in the two new chapters? Chapter 13:...
Sep
25

Calling PrimeFaces remoteCommand with JavaScript arguments

Calling PrimeFaces remoteCommand with JavaScript arguments I’ve been doing a ton of PrimeFaces JSF development over the last little while and that library is one stunning piece of engineering execution. That said, I’m still a JSF noob, and one thing I keep having to look up is how to invoke backend JSF beans from JavaScript using p:remoteCommand. It’s covered in the Primefaces manual, but not in the standard google-able samples AFAIK. It even...
Aug
9

Glassfish JMS backed by MS SQL Server tables

Glassfish JMS backed by MS SQL Server tables I know why you’re here. You’re the *other* person on the planet that is attempting configure Glassfish 3.x to store all your JMS messages in a Microsoft SQL Server database. The good news is that this is totally doable and should be quite quick (for you :-)! If you were doing all this on PostgreSQL, you’d have this fantastic quickstart to get you going. Sadly for us, Postgresql is one of...
Aug
6

Bracket Well Formedness Quick Quiz

Bracket Well Formedness Quick Quiz I’ve started a monthly-ish coding quiz on my little Canberra Java Devs Fresh Bytecode Newsletter. But other people might be interested in the odd puzzle they can do in a lunchtime, so I’ll post them here under the Quiz category. We’ll start with something simple, perhaps a quick and dirty bracket matcher? Give a series lines containing both well formed brackets (where each opening...

« Previous Entries

logo
Powered by WordPress | Designed by Elegant Themes