Mobile Device Detection for Java - 4 Step Setup - 3 minutes
Add mobile device detection to Java the easy way with 51Degrees.com. No cloud services, no external plug-ins, all Mozilla Public Licence sourcecode. It's a great alternative to WURFL or DeviceAtlas.
Also available on Maven.
1) Download the zip and extract.
2) Add the core JAR located in the "dist" directory to your javaproject.
3) Import the following packages:
import fiftyone.mobile.detection.Match;
import fiftyone.mobile.detection.Provider;
import fiftyone.mobile.detection.factories.StreamFactory;
4) Use the following code to start detecting devices:
//The Lite data file is provided with every archive.
...
Framework for Java code generation of web applications is for the above framework mentawai, done to expedite the process of creating a project in Java technologies with the JPA, Hibernate, Mentawai, AJAX with DWR among others.