Category Archives: Languages

Scala Quick Start – Making Dropwizard configuration more Scala friendly

Travel very far with Dropwizard and Scala and you’ll eventually encounter a few obstacles. Here’s a solution to one of them, generating Scala collections when processing the configuration file Continue reading

Scala Quick Start – Developing a microservice with Dropwizard

You can make your Dropwizard microservices even more micro if you switch to Scala Continue reading

Java for the Architecturally Challenged – Creating a valid SOAP request as a String

How to create a valid SOAP request when you’re not actually submitting it to a web-service. Continue reading

Java Quick Start – JAX-RS RESTful services with CXF and TomCat

JAX-RS makes it pretty straightforward to build RESTful services in Java. In this quick start we create a simple-as-possible example with a little help from CXF and TomCat Continue reading

Java – Looking up DNS entries with JNDI

If your Java code needs to look up DNS records the JDK’s JNDI classes give you everything you need Continue reading

Java Quick Start – Deploying a portlet to Apache Pluto with Maven

In this quick start we use Maven and a few plugins to streamline deploying a very simple Java portlet to Apache Pluto 2. Continue reading

Java for the anal retentive – Manually deploying a portlet to Apache Pluto

If you’re just starting to find your feet with Java portlets and want to understand how they hang together with the Apache Pluto reference implementation, here we deploy about the simplest portlet possible in about the simplest possible way. Continue reading

Java – Parsing an XML document with SAX

Java offers both DOM and SAX mechanisms for parsing XML documents. For lightweight, single pass requirements on large documents SAX will usually win. Here we work through a simple example of how to do it. Continue reading

Java Quick Start – Marshalling a class to XML with JAXB

Want to use JAXB to convert a plain Java class to and from XML without an associated XSD? In this quick start we work through how to do it. Continue reading

Java Quick Start – JAX-WS code-first web services with CXF and Spring

In this quick start we work through creating and deploying a minimal JAX-WS code-first web service to a Java webapp container using Apache CXF and Spring. Continue reading