Skip to main content

Meet the Experts: Josephine Cheng on DB2 Everyplace and WebSphere Everyplace Access

Josephine Cheng (chengjm@us.ibm.com), IBM Fellow, IBM Database Technology Institute
Photo: Josephine Cheng
Josephine Cheng is an IBM Fellow and manager of the IBM Database Technology Institute in the Silicon Valley Lab, San Jose, California, and has been at the forefront of relational database technology for more than 20 years.

Summary:  This question and answer article features Josephine Cheng, IBM Fellow, who answers top questions from WSDD users about integrating DB2 Everyplace and WebSphere Everyplace Access.

Date:  20 Nov 2003
Level:  Introductory
Activity:  366 views

DB2® Everyplace (DB2e) is a small-footprint and self-managing database product that extends enterprise applications and data to mobile devices. WebSphere® Everyplace Access provides mobile application features, such as synchronization, intelligent notification, transcoding, and mobile messaging. For more information on DB2, see DB2 Developer Domain. For more information on WebSphere Everyplace, see Wireless with WebSphere Zone.

Question: I come from a J2ME background and am working on my first WebSphere Everyplace Access project. I would like to know how J2ME is catered for J2ME limitations addressed by technologies like DB2e. (submitted by LN)

Answer: For the database: While there is no SQL "database" supported in DB2e MIDP due to 50k application size limitations, the SQL meta information (colname, coltype, isnullable, isprimarykey) is stored per table, and the table data is indexed and packed into the Record Management Store. The TableMetaData class provides access to this information by the application.

For the Record Management Store: The Record Store is extremely slow on writes after 3 records (2-5 seconds each). FastRecordStore packs 10 rows into each RMS record, dramatically reducing write times. The index class wraps FastRecordStore for fast access by primary keys to rows for delete and update operations to avoid scanning the complete RMS tables. FastRecordStore persists if the store is "dirty" for faster synchronization times (changes to the server).

For slow wireless network speed: This uses less chatty protocol for MIDP, which makes 1/5 less connections (each connection can take up to 10 seconds). One request is made and 2400 bytes (for Nextel network, configurable) messages are received. If more than one message is required, then another short request is made for the next packet until all packets are received.

Question: Is there any plans by IBM to support offline mode and synchronization for regular Web browser applications with WebSphere Everyplace. Just like it was implemented in Oracle® Lite 9i. (submitted by Dmitriy Kirillin)

Answer: You can develop JSP applications accessing DB2e database for Windows® and PocketPC since the last release in DB2e V8.1. It is included in the DB2e SDK available on the DB2 Everyplace Web site. In the SDK, an article called Generating DB2 Everyplace JSP applications using WebSphere Studio provides step-by-step instructions on how to develop and run a JSP application.

Question: Is it possible to store data in DB2e on a PDA while working with "offline" portlets? If so, is the data then automatically synchronized when the connection is restored?

Answer: Yes, you can work offline with DB2e on a PDA. We support the synchronization API so that an application can check on the connection and perform the synchronization.

Question: Does DB2e support synchronization using a wireless network connection?

Answer: For wireless support, DB2e uses WBXML (Wireless Application Protocol Binary XML), a compact binary representation of XML, to encode transmitted XML data, which reduces the number of total bytes transmitted across the network. In addition, the synchronization can start, stop at any point, and resume from that point, in case the device's connectivity strength to the network is low, the device's connectivity becomes out of range of the network, or the network is busy.

Question: DB2e makes enterprise information accessible to mobile devices from any location. This creates opportunities, but also poses new security threats. How does DB2e address these security concerns?

Answer: To protect data sent between mobile devices and the DB2e SyncServer, administrators can choose to encrypt the data during the transmission. When running as part of WebSphere Everyplace, you configure the server to use HTTPS.

Because mobile devices are often not kept in a secure location, and hence more prone to being stolen or lost, you must protect any sensitive corporate data residing on these devices. The administrator can specify, as part of the subscription policy, that data from sensitive tables be automatically encrypted before saving onto mobile devices. The encryption policy applies to all users synchronizing the subscription. Furthermore, the administrator can limit the allowed operations (delete, update, or insert) and specify, for example, that a table is for download read-only, or that users are not allowed to delete records.

Question: With changes being made at the server and at mobile devices, conflicts can occur. Does the DB2e Sync Server allow application specific actions to be taken when that happens?

Answer: We are looking for beta customers to try our new function, where the operation of the server is augmented with business logic supplied by customers during synchronization. For example, customers can implement a column based merge when conflicts occur. If you are interested to be a beta customer, please contact nakamura@us.ibm.com.

Question: What is DB2e Express Edition?

Answer: IBM is introducing DB2 Everyplace Express Edition to help mid-sized companies deploy mobile technology faster and more easily. DB2e Express offers mid-sized customers the same features of DB2e with a flexible price point of $379 per server (up to two processors) and $79 per user. DB2e Express is a new offering introduced with DB2e V8.1.4.

Question: Does DB2e support i-Series?

Answer: Yes, DB2e V8.1.4 has expanded the platform support to include i-Linux. Now customers and business partners can synchronize data and applications on the i-Series platform, allowing them to expand their current applications to mobile devices.

Question: Does DB2e support .NET environment?

Answer: Yes. In V8.1.4, DB2e features new .NET Framework and .Net Compact Framework interfaces to simplify mobile application development on Windows and PocketPC. We support ADO.NET Data Provider, Sync API, and Visual Studio .NET Plug-in for DB2 Everyplace.

Question: My company has DB2 and Oracle databases. Does DB2e support synchronization of Oracle database to devices?

Answer: Yes, DB2e supports synchronization for the DB2 Family, Oracle, MS SQL Server, Sybase®, and the Lotus Domino database.

Question: What are DB2e's competitive advantages?

Answer: DB2e is used by all our major ISVs, business partners, and customers. Customer reasons for choosing DB2e: fast data access, small footprint, ubiquitous (runs on everywhere), secure, incremental 2-way synchronization, and much more. For more details, see our customer testimonials page.

Related information

About Meet the Experts

Meet the Experts is a monthly feature on WSDD. We give you access to the best minds in IBM WebSphere, product experts and executives who are waiting to answer your questions. You submit the questions, and we post the answers to the most popular questions.


About the author

Photo: Josephine Cheng

Josephine Cheng is an IBM Fellow and manager of the IBM Database Technology Institute in the Silicon Valley Lab, San Jose, California, and has been at the forefront of relational database technology for more than 20 years.

Comments (Undergoing maintenance)



Trademarks  |  My developerWorks terms and conditions

Help: Update or add to My dW interests

What's this?

This little timesaver lets you update your My developerWorks profile with just one click! The general subject of this content (AIX and UNIX, Information Management, Lotus, Rational, Tivoli, WebSphere, Java, Linux, Open source, SOA and Web services, Web development, or XML) will be added to the interests section of your profile, if it's not there already. You only need to be logged in to My developerWorks.

And what's the point of adding your interests to your profile? That's how you find other users with the same interests as yours, and see what they're reading and contributing to the community. Your interests also help us recommend relevant developerWorks content to you.

View your My developerWorks profile

Return from help

Help: Remove from My dW interests

What's this?

Removing this interest does not alter your profile, but rather removes this piece of content from a list of all content for which you've indicated interest. In a future enhancement to My developerWorks, you'll be able to see a record of that content.

View your My developerWorks profile

Return from help

static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=WebSphere
ArticleID=14048
ArticleTitle=Meet the Experts: Josephine Cheng on DB2 Everyplace and WebSphere Everyplace Access
publish-date=11202003
author1-email=chengjm@us.ibm.com
author1-email-cc=

My developerWorks community

Tags

Help
Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere).

My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Use the search field to find all types of content in My developerWorks with that tag. Popular tags shows the top tags for this particular content zone (for example, Java technology, Linux, WebSphere). My tags shows your tags for this particular content zone (for example, Java technology, Linux, WebSphere).

Rate a product. Write a review.

Special offers