Johan Haleby is a Swedish developer, speaker, and writer with a profound interest in software engineering and testability in particular. He has founded and contributed to numerous open source projects such as PowerMock, REST Assured and Awaitility and has spoken at several international conferences and user groups.
1h - Slides+Speech
In a time where more and more systems are built using RESTful endpoints it becomes evermore important to ensure that these endpoints delivers the expected data and behaves correctly. Testing and validating these services can be cumbersome in Java. REST Assured is an open source Java API that allows you to avoid boiler-plate code and just get the job done! It's super-easy to build requests and validate even complex responses. Come and see how easily you can validate for example XML and JSON protocols by making use of Groovy data structures and closures from Java using a simple BDD syntax. It also comes with support for popular authentication schemes, integrates flawlessly with JUnit and TestNG and much more. Testing and validating REST services in Java cannot be much simpler!
Java 8 is released and you might have played around with the new lambda features. Regrettably, when you return to your day job you find yourself stuck with an older version of Java. You know from experience that it will take a while before you can enjoy your new powers in a production environment. Fortunately, it is actually possible to leverage some of the functional-style techniques even in older Java versions. This means that you can program in a functional style, even if your organization has not updated to Java 8.
In this session, you'll learn about real-world experiences with functional frameworks such as LamdaJ, Functional Java and Guava. What should you consider before adopting them? How do they compare against one another? If you are stuck with a legacy Java version and want to be prepared for the functional future of Java 8, make sure to attend this session.