651.288.7000 info@intertech.com
JAXB Tutorial: How to Marshal and Unmarshal XML

JAXB Tutorial: How to Marshal and Unmarshal XML

This JAXB tutorial describes how to use JAXB to marshal and unmarshal XML strings using either Spring or the standard javax.xml.bind interfaces. The samples below are using XML strings instead of files, but could easily be adapted to files if needed. Spring’s...
Spring Security Active Directory LDAP Example

Spring Security Active Directory LDAP Example

At a recent client, I was tasked with securing their web applications using Spring Security and their internal Active Directory (AD) LDAP server. I scoured the web and went through a lot of trial and error until I finally found the configuration that worked in their...
Android Adapters (and AdapterViews)

Android Adapters (and AdapterViews)

Android’s Adapter is described in the API documentation, as “a bridge between an AdapterView and the underlying data for that view” (see here).  An AdapterView is a group of widgets (aka view) components in Android that include the ListView, Spinner,...
Android Non-UI to UI Thread Communications (Part 5 of 5)

Android Non-UI to UI Thread Communications (Part 5 of 5)

This is the last post in my series regarding Android thread communications.  Parts 1 through 4 are linked in below. Part 1 Part 2 Part 3 Part 4 In this series, I have so far outlined four different approaches for how Android non-user interface threads can communicate...

Pin It on Pinterest