Enterprise J2ME Developing Mobile Java Applications

by
Edition: 1st
Format: Paperback
Pub. Date: 2003-10-23
Publisher(s): Prentice Hall
List Price: $70.22

Rent Book

Select for Price
There was a problem. Please try again later.

New Book

We're Sorry
Sold Out

Used Book

We're Sorry
Sold Out

eBook

We're Sorry
Not Available

How Marketplace Works:

  • This item is offered by an independent seller and not shipped from our warehouse
  • Item details like edition and cover design may differ from our description; see seller's comments before ordering.
  • Sellers much confirm and ship within two business days; otherwise, the order will be cancelled and refunded.
  • Marketplace purchases cannot be returned to eCampus.com. Contact the seller directly for inquiries; if no response within two days, contact customer service.
  • Additional shipping costs apply to Marketplace purchases. Review shipping costs at checkout.

Summary

bull; Covers basic J2ME profiles and popular mobile Java APIs fresh from the Java Community Process bull; Explains wireless Java technologies that enable mobile commerce and Web services bull; Provides complete sample code for each technology covered bull; Written by award-winning author, Michael Yuan -- JavaWorld columnist for the "Wireless Java " column

Author Biography

Michael Juntao Yuan is a researcher, developer, author, and advocate for Java and open source technologies. He is a research associate at the Center for Research in Electronic Commerce at the University of Texas at Austin and the Wireless Java columnist for Java World

Table of Contents

Forewordp. xix
About this Bookp. xxi
Acknowledgmentsp. xxvii
Introductionp. 1
Mobile Commerce: Visions, Realities, and Opportunitiesp. 3
Mobile Commerce Value Propositionsp. 4
Mobile Technology Adoptionp. 7
The Search for Killer Mobile Applicationsp. 9
Mobile Commerce Landscapep. 11
Summaryp. 13
Resourcesp. 13
J2ME: Is Mobile Java Ready for Enterprise?p. 15
Why Java?p. 16
The Java Community Processp. 17
Java Everywherep. 18
Java 2 Micro Edition Explainedp. 20
Competing Technologiesp. 25
Summaryp. 25
Resourcesp. 25
End-to-End Enterprise Applicationsp. 29
The Smart Client Paradigm: iFeedBackp. 31
Benefits of Smart Clientsp. 32
Introducing iFeedBackp. 33
iFeedBack Usage Scenariosp. 35
Implementation Walk Throughp. 38
Summaryp. 48
Resourcesp. 48
Managed Smart Clientsp. 51
Container-Managed Applicationsp. 52
OSGi Containersp. 55
A Simple Echo Service Examplep. 59
Smart Client with HTTP Front Endp. 70
Mobile Gatewaysp. 77
Summaryp. 79
Resourcesp. 79
Mobile Design Patterns: The Smart Ticket Blueprintp. 81
Getting Startedp. 82
Smart Ticket in Actionp. 84
Important Architectural Patternsp. 88
Implementation Techniquesp. 98
Summaryp. 109
Resourcesp. 109
Advanced HTTP Techniquesp. 111
The Decorator Approachp. 112
The Process-Chain Approachp. 114
Session Tracking via HTTP Cookiesp. 117
HTTP Basic Authenticationp. 119
HTTP Digest Authenticationp. 121
Secure HTTPp. 123
Summaryp. 125
Resourcesp. 125
End-to-End Best Practicesp. 127
Limited Device Hardwarep. 128
Slow, Unreliable Networksp. 132
Pervasive Devicesp. 136
Ubiquitous Integrationp. 138
The Impatient Userp. 141
Summaryp. 143
Resourcesp. 144
Mobile Messaging Applicationsp. 145
Email and PIMp. 147
Basics of Emailp. 148
Introducing Mail4MEp. 149
The JavaPhone APIp. 155
The PDA Optional Packagep. 155
Commercial Email and PIM Suitesp. 156
Corporate Portal Serversp. 158
Summaryp. 161
Resourcesp. 161
Converged Mobile P2P Messagingp. 163
Introducing the Wireless Messaging APIp. 164
WMA in Actionp. 167
WMA Reference Implementationp. 172
SMS from the Back Endp. 174
Beyond SMS: The IM Convergencep. 179
SIP-Based IM Applicationsp. 184
Summaryp. 185
Resourcesp. 185
Enterprise Messagingp. 187
Mobile Enterprise Messagingp. 188
Introducing the JMSp. 190
Mobile JMS from iBus//Mobilep. 195
The IBM WebSphere MQ Everyplacep. 199
Summaryp. 210
Resourcesp. 210
Mobile Databases and Synchronization Enginesp. 213
Mobile Database for CDC Devicesp. 215
Database on the Gop. 216
Introducing JDBCp. 217
Portable and Efficient Code Using PreparedStatementp. 219
Access Stored Procedures Using CallableStatementp. 221
The JDBC Optional Package for the CDCp. 223
HSQL Database Enginep. 224
iAnywhere Solutions SQL Anywhere Studiop. 224
IBM DB2 Everyplacep. 228
Oracle9i Litep. 228
PointBase Micro Editionp. 229
Example Application: Contact Managerp. 230
Summaryp. 236
Resourcesp. 237
Mobile Databases for MIDP Devicesp. 239
PointBase Micro Editionp. 240
The Oracle J2ME SODA SDKp. 241
The IBM DB2e FastRecordStorep. 243
Summaryp. 246
Resourcesp. 247
Database Synchronizationp. 249
Synchronization and Mobilityp. 250
PointBase UniSyncp. 253
IBM DB2 Everyplacep. 257
iAnywhere Solutions MobiLinkp. 260
Oracle9i Mobile Serverp. 262
The Synchronized Contact Managerp. 263
Summaryp. 268
Resourcesp. 268
Access Backend Databasesp. 271
Direct Access to Remote Databasesp. 272
The Oracle J2ME SQL SDKp. 273
Legacy Applicationsp. 274
Using Simplicity for Legacy Databasesp. 276
Summaryp. 281
Resourcesp. 281
XML and Mobile Web Servicesp. 283
XML for Small Devicesp. 285
What Is XML?p. 286
Challenges for Small Devicesp. 287
XML Parsing Modelsp. 288
Introducing Amazon XML Servicesp. 291
Amazon Services via XmlPullp. 294
Amazon Services via kDOMp. 297
A Mobile RSS Clientp. 300
Summaryp. 303
Resourcesp. 303
SOAP Web Services on Smart Clientsp. 305
What Is SOAP Web Services?p. 306
Introducing kSOAPp. 309
kSOAP Explainedp. 317
Advanced kSOAPp. 323
More kSOAP Examplesp. 325
What's in kSOAP v2.0?p. 328
Summaryp. 332
Resourcesp. 332
The J2ME Web Services Optional Packagep. 333
A Little Historyp. 334
The XML Processing APIp. 335
The JAX-RPC APIp. 336
The SPI for Implementersp. 341
Compare with kXML and kSOAPp. 342
Summaryp. 343
Resourcesp. 344
Case Study: Mobile Clients for Location-Based Servicesp. 345
Location-Based Servicesp. 346
Microsoft MapPoint Web Servicesp. 347
MapPoint J2ME Clientsp. 353
Enhancing the Driving Directions Applicationp. 357
Summaryp. 361
Resourcesp. 362
Advanced Mobile Securityp. 363
Mobile Security for Enterprisep. 365
What Is Advanced Mobile Security?p. 366
Lightweight Mobile Cryptography Toolkitsp. 368
Bouncy Castle Lightweight APIp. 371
The IAIK ME JCEp. 373
Phaos Technology Micro Foundation Toolkitp. 373
NTRU jNeo for Java Toolkitp. 375
B3 Securityp. 376
Device-Specific APIsp. 378
Standardization of J2ME Security APIsp. 378
Summaryp. 379
Resourcesp. 379
The J2ME Crypto Recipesp. 381
Overview of Recipesp. 382
Symmetric Encryptionp. 384
Password-Based Encryptionp. 392
Public Key Encryptionp. 398
Digital Signaturep. 409
Summaryp. 418
Resourcesp. 418
Basics of J2ME Application Developmentp. 419
Life Cycle Methodsp. 419
UI Modelp. 420
Remote and Local Datap. 420
Code Walk Throughp. 421
Packaging and Buildingp. 425
Deploymentp. 429
Summaryp. 430
Tools and J2ME Runtimes for PDAsp. 431
Overview of the WebSphere Studio Device Developerp. 432
Installing MIDP on PocketPC Devicesp. 433
Installing Personal Profile on PocketPC Devicesp. 434
Run Java Applications on the PocketPC Devicep. 435
Summaryp. 436
Indexp. 437
Table of Contents provided by Ingram. All Rights Reserved.

Excerpts

About this Book Target Audience This book targets all mobile software developers and business decision makers. It focuses on end-to-end architectural patterns, best practices, key innovations, and real-world design approaches. For different readers, this book offers different benefits: Managers and entrepreneurs: This book is a comprehensive guide to mobile enterprise applications and the Java 2 Micro Edition (J2ME). It covers the capabilities, limitations, common best practices, and commercial solutions of the state-of-the-art mobile Java technologies. It helps you decide which mobile Java profile and products are the best for your business. Experienced mobile developers: This book skips the basic MIDP API tutorial materials and goes straight to the more advanced and more useful topics. It uses several complete sample applications to illustrate common architectural patterns and coding best practices in mobile enterprise applications. For developers who are looking for specific solutions (e.g., messaging, database, XML, and security), the technical discussions on leading third-party J2ME tools and libraries will prove useful. Those real-world innovations also serve as prime examples of how you should design and implement your own solutions for similar tasks. Experienced Java developers: For experienced Java enterprise developers (J2EE developers), the move to mobility is about leveraging existing skills. This book walks through familiar design patterns and best practices and shows developers how to apply them in mobile applications. Lightweight mobile versions of enterprise Java APIs (such as JDBC, Java servlet, JMS, and Java Cryptography Extension) are discussed. Those are excellent examples of how to scale down enterprise solutions for mobility while still preserving core functionalities. With a few notes on mobile-specific issues, it is the fastest path to add mobility to existing enterprise infrastructure. Prerequisites To fully understand the technical content in this book, the readers should be familiar with the basic Java 2 Micro Edition, Mobile Information Device Profile (J2ME/MIDP) APIs and development tools. A quick MIDP programming guide is provided in Appendix A. To run the end-to-end sample applications, you will need to deploy the serverside components to your own Java application server and run the clientside components on the desktop emulator or real devices. Please refer to the product manuals of your tools for step-by-step instructions. Although serverside Java is not the focus of this book, familiarity with basic Java 2 Enterprise Edition (J2EE) concepts such as servlets, Java DataBase Connectivity (JDBC), Java Messaging Service (JMS), Java XML processing, and Enterprise JavaBean (EJB), will help you understand various topics in this book. Contents This book is divided into six parts: Part I is the introductory material for mobile commerce, mobile enterprise applications, and J2ME. It covers the overall architecture, current status, and future roadmaps of J2ME. Part II is the heart of this book. It presents several example applications to illustrate the smart client mobile application paradigm, common architectural patterns, and best practices. It covers how to run container-managed applications (e.g., servlets) on PDA devices. It also presents a useful advanced HTTP client library for J2ME clients. Part III is about mobile messaging. In the mobile world, messaging clients are easy to use and fit into the mobile lifestyle. In the enterprise world, messaging is the best way to build loosely coupled applications that have guaranteed quality-of-service (QoS). This part of this book seeks to combine the best of the two worlds. It covers email and SMS-based end-to-end applications as well enterprise mobile messaging servers. Part IV dis

An electronic version of this book is available through VitalSource.

This book is viewable on PC, Mac, iPhone, iPad, iPod Touch, and most smartphones.

By purchasing, you will be able to view this book online, as well as download it, for the chosen number of days.

Digital License

You are licensing a digital product for a set duration. Durations are set forth in the product description, with "Lifetime" typically meaning five (5) years of online access and permanent download to a supported device. All licenses are non-transferable.

More details can be found here.

A downloadable version of this book is available through the eCampus Reader or compatible Adobe readers.

Applications are available on iOS, Android, PC, Mac, and Windows Mobile platforms.

Please view the compatibility matrix prior to purchase.