• About Us
  • Blog
  • Basket
  • Account
  • Sign In


Java API 3.2 released to Beta

Published on Thursday, August 27, 2015

Java API 3.2 released to Beta

Slimmer, faster and more memory efficient.

Over the past months we have been working on improving the speed and efficiency of our Java API. We are happy to announce that as of today the API has officially been released in beta and is available for download. Below is a summary of the key updates in this version.

Support for data files of version 3.2

With the Internet of things and wearable gadgets gaining traction, we are likely to see a sharp increase in the number of devices that are capable of accessing the Web. The internal structure of the 51Degrees data file has been altered in version 3.2, reducing the size by about 20% whilst retaining the same amount of information

Our Java API version 3.2 supports both V3.1 and V3.2 data files to make the transition to the new version as easy and painless as possible.

Multiple HTTP Headers

Some browsers like Opera Mini send additional HTTP headers that can be used to identify the device more accurately. We've added an extra option to supply the entire set of HTTP headers to the match procedure that will automatically find the relevant headers and use them to identify the device. This was previously an option for the Servlet implementation, but not for the core API.

The HTTP headers are now stored within the data files instead of being hard-coded so you needn't worry about updating the API when new headers get added.


In the real world you rarely find a website/web project where every requesting device is different. Usually you would see the more popular devices being used more frequently simply because there are more of them. The improved caching algorithm exploits this fact to speed up detection. Cache size can now be controlled and no longer relies on a timer to be cleared.

Re-designed implementation

The JAR files no longer contain embedded Lite data files. This means lighter JARs with less memory required, which will be of particular benefit in environments with multiple instances of the API sharing a data file.

Automatic update

This feature has been improved to make it more memory efficient. During the update the new data file is no longer fully loaded into memory. Instead, a temporary file is used. This change significantly reduces the memory footprint of the automatic update.

Unit Tests

As part of each distribution we now provide a set of tests. We run these tests prior to each release to check as many aspects of the API as possible and to ensure that any changes do not break any existing features.

Try our improved Java API:

Comments (0)

Author: Mike

Categories: Development

Tags: Device Detection , Java



Other posts by Mike
Contact author



.NET 2013 2014 4G 51Degrees 5G A.C.Roma A7 ABI Acer Adtech Affiliate Marketing Afilias Alcatel Amazon AMP Analysis Analytics Android Android 5.0 Lollipop Android Kitkat Android Lollipop Android Media Stick Apache API Apple Apple TV Archos Asha Asian Market ASP.NET Asus Australia Big Data Black Friday Blackberry Blink Browser C C# Case Study CeBIT CES Chrome Cloud CMS combinations Comparison Competition CoolPad COTW Cron CSS3 Data Data Blog Data File Data Model Daydream Denver Design Desire Eye Desktop Detection Developers Device Device Data Device Detection Device Intelligence Device Popularity Device property Device Types Device Use DeviceAtlas Display dmexco DoCoMo Doogee DotNetNuke Download Drupal Email EReader E-Reader Ericsson Evaluation Event Examples EXPLAY Rio Facebook feature Firefox Firefox OS Fly Foundation Framework France Galaxy S3 Galaxy S5 Galaxy Tab A Galaxy Tab A 8.0 Galaxy Tab A 9.7 Germany git repositories Global Google Google Daydream GSMA HAProxy Hardware Hisense HTC HTC ONE MAX HTC OS HTML5 HTTP HTTP Headers Huawei HUAWEI. UPDATE HUDL Huwaei IBC Icemobile Prime 4.0 IE IFA IIS Image Optimiser Image Optimizer India Infographic Ingeniux Internet usage iOS iOS 7 iOS 8 ipad iPhone iPhone 6 IsEmailBrowser IsWebApp Italy Japan Java Javascript Jolla Kentico Keynote Kindle Kindle Fire Kindle Fire HD Leagoo Lenovo LG Location Log File Analysis LTE Lumia m.dot macOS Map Memory Meta Data Mi 4S Micromax Microsoft Miia Style Mobile Mobile Analysis Mobile Analytics Mobile Devices Mobile Marketing Mixer Module Motorola MVC4 MWC MWC 2017 MWC16 MyPhone Native Native Apps NET New Release News News Letter Nexus Nexus 6 Nexus 9 NFC NGINX Nokia Nokia 3310 Non-Mobile NVIDIA Omate On7 OnePlus 5 Opera Opera Mini Operating System Optimisation OS OSX 10.10 OTA Panasonic Patent PC Pebble Performance phablet phone PHP Poland Presentation Press Release Price Band PRIV programmatic PS4 Publishers Python QMobile QR Codes Redirection Research Reseller Responsive Images Responsive web design RESS Review reviews RIM Ringmark RTB RWD Safari Samsung Scala ScientiaMobile Screen Screen resolution Screen Size SEO Server Server-side optimisation Set Box Set Top Box Sharepoint Shark 1 SHIFT phones Sitecore Sitecore version 9 SLUSH Smart TV Smartphone Smartphones Smartwatches Snapdragon Sony Sony Xperia Spain Swedish Beers Symbian Tablet Tablets Tesco Testing Tips Top 5 TOTW Tutorial TV UDS UK Umbraco Update updates US User Agent UserAgent User-Agent Vendors Version 3 Video VoLTE VR Wearable Web Web Apps Web content management WebKit WebMatrix White Paper Widgets Widnows WiFi Wiko Wileyfox Windows Windows Phone WURFL Xbox XBox One Xiaomi Xperia Xperia z Yosemite Z10 ZenFon 2 ZOPO ZTE