Declare com.51degrees:device-detection in your pom.xml and open each Pipeline in a try-with-resources block. DeviceDetectionPipelineBuilder takes useOnPremise with a Hash data file or useCloud with a Resource Key, and data.get(DeviceData.class) gives typed results after data.process().
Servlet apps add PipelineFilter, Spring MVC apps FiftyOneInterceptor. Given Enterprise data files, console examples time Device Detection against BrowsCap and use IP Intelligence to rate how likely an...