All UltraLite APIs expose core database functionality. Some of the following APIs integrate with the development environment to simplify programming tasks:
UltraLite APIs offer different data access models, including a simple table-based data access interface and dynamic SQL for more complex queries. By combining these benefits, UltraLite gives application developers a flexible architecture that allows for the creation of applications for varied deployment environments.
Pocket Builder is not supported in this version of UltraLite. Sybase PocketBuilder is not included with SQL Anywhere. Contact Sybase for details ( http://www.sybase.com/products/developmentintegration/pocketbuilder).
To choose your programming interface
Choose your target platform(s). UltraLite supports Palm OS, Windows Mobile, Windows XP/embedded Windows XP, and Java OS.
For each platform you need to support, determine if the API supports that platform. Different APIs support different platforms. If you are doing cross-platform development, choose an API that supports all of your intended targets.
Use this support matrix to help you quickly identify your development options.
|Deployment targets||UltraLite for C/C++ and embedded SQL||UltraLite.NET1||UltraLite for M-Business Anywhere2|
|Palm OS||version 4 +||N/A||version 5.0 +|
|Windows Mobile||CE 5.0 +||CE 5.0 with .NET compact framework 2.0||version 3.0 +|
|Embedded Windows XP||Supported||.NET framework 2.0||version 5.0 +|
Java SE (1.5 and later)
RIM BlackBerry OS (4.1 and later)
1 Development as an extension to Microsoft Visual Studio.NET. The driver supports ADO.NET versions 2.0.
Consider the effects of the following requirements, and then finalize your selection accordingly:
SQL Anywhere compatibility If database compatibility with SQL Anywhere is a concern, consider the following:
Maintaining a common interface may be particularly useful on platforms such as Windows Mobile, where both databases are available. If you need to move from UltraLite to a SQL Anywhere database, you should use embedded SQL or ADO.NET to make application migration easier.
Even though a common interface exists, good development practice dictates that you create an abstract data-access layer when writing your application.
Simplified deployments If simplifying your UltraLite deployment is an issue, consider programming with the M-Business Anywhere API. Your end-users can download both the UltraLite application and the database concurrently.
Application size If creating the smallest application footprint is a priority, you should program your application with the C/C++ API. These applications typically yield the best performance and still maintain a small application file size.
Application performance Each API has yields a different result in terms performance. For example UltraLite.NET might not perform as well as UltraLite C++, and UltraLite embedded SQL might even perform better than UltraLite C++.
|Send feedback about this page via email or DocCommentXchange||Copyright © 2008, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.0|