Legacy Package Deprecation for WURFL OnSite API for Java

Legacy Package Deprecation for WURFL OnSite API for Java

Our team has been working hard on the upcoming release of the WURFL OnSite API for Java (v1.9.4.0), which will be the last release to contain support for the legacy package name (net.sourceforge.wurfl) and the legacy release package. There’s a lot of information below about the package name and why we’re doing it, but the most important thing to know is that current customers need to update to the new package name (com.scientiamobile) to avoid any disruptions to their project(s).

How was the package name picked to begin with?

WURFL began as an open-source project in 2002. The WURFL APIs in Java, .NET and PHP were soon released to allow easier integration of data from WURFL into users’ projects. The Java convention for package naming (yes, that is a thing) dictates that reversed Internet domain names be used. Since WURFL was then hosted at wurfl.sourceforge.net, the WURFL API for Java used a namespace of net.sourceforge.wurfl.

That makes sense, but why did it need to be changed?

In 2016, ScientiaMobile moved to license the WURFL OnSite APIs (of which the Java API is a variant) in commercial and evaluation versions. We also moved away from the wurfl.sourceforge.net domain to scientiamobile.com to better facilitate product licensing, distribution and support.

As a result we announced that starting with WURFL OnSite API 1.8.0.0, the WURFL OnSite API for Java would be offered with two package names – com.scientiamobile (new package name) and net.sourceforge.wurfl (legacy package name), to ensure a smooth transition for developers.

I hear you loud and clear, but why this blog?

It has been been two years since we communicated the transition to the new package name and now it is time for us to transition away from supporting the old package name. Accordingly, the next release of the WURFL OnSite API for Java (v1.9.4.0) will be the last release to contain support for the legacy package name (net.sourceforge.wurfl). All WURFL OnSite API releases created after that version will only support the new package name (com.scientiamobile).

Gotcha! What do I need to do to make sure my projects aren’t interrupted?

If you have not already done so, we highly recommend you update to the new package name to avoid any disruptions to your project. If you have questions about this change, or require more information, please send us an email at support@scientiamobile.com and our support team will be happy to assist you.