Home > Store

Modern Web Development with IBM WebSphere: Developing, Deploying, and Managing Mobile and Multi-Platform Apps

Register your product to gain access to bonus material or receive a coupon.

Modern Web Development with IBM WebSphere: Developing, Deploying, and Managing Mobile and Multi-Platform Apps

Book

  • Sorry, this book is no longer in print.
Not for Sale

eBook (Watermarked)

  • Your Price: $22.39
  • List Price: $27.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

Audio & Video

Video

Description

  • Copyright 2014
  • Dimensions: 7" x 9-1/8"
  • Edition: 1st
  • Book
  • ISBN-10: 0-13-306703-3
  • ISBN-13: 978-0-13-306703-3

Build Tomorrow’s Best Mobile/Web Applications with IBM WebSphere Application Server 8.5 and IBM Worklight

This guide presents a coherent strategy for building modern mobile/web applications that are fast, responsive, interactive, reusable, maintainable, extensible, and a pleasure to use. Four IBM experts offer practical, hands-on coverage of front-end development with IBM WebSphere Application Server 8.5, IBM Worklight, and today’s most popular open source frameworks.

Using well-crafted examples, the authors introduce best practices for MobileFirst development, helping you create apps that work superbly on mobile devices and add features on conventional browsers. Throughout, you’ll learn better ways to deliver Web 2.0 apps with HTML /JavaScript front ends, RESTful Web Services, and persistent data. Proven by IBM and its customers, the approach covered in this book leads to more successful mobile/web applications—and more effective development teams.

Coverage Includes
• Developing for MobileFirst: moving from “graceful degradation” to “progressive enhancement”
• Quickly delivering lightweight JEE apps with WebSphere Application Server’s new Liberty Profile
• Implementing an agile, user-centered, page-oriented approach to design
• Constructing REST services with WebSphere Liberty, Eclipse, and JEE annotations
• Building better front-end application architectures with frameworks and JavaScript
• Designing and building complex, transactional RESTful services that interface with databases and other data sources
• Building IBM Worklight hybrid apps with open source frameworks: jQuery Mobile, Backbone, Require.js, and Handlebars
• Debugging cross-platform, multi-language modern web apps
• Promoting scalability, security, and connectivity into the wider enterprise

The IBM Press developerWorks Series pairs books with complementary resources on the developerWorks website at https://www.ibm.com/developerworks/dwbooks/

Sample Content

Online Sample Chapter

REST Web Services in WebSphere Liberty

Sample Pages

Download the sample pages (includes Chapter 4 and Index)

Table of Contents

Preface     xviii
Chapter 1  The Modern Web     1
How the Web Has Changed     1
The Mobile Effect     7
   Mobile Application Development Styles     7
   Building for the Mobile Experience     11
   Choosing a Mobile Development Approach     13
The Convergence of Desktop Web and Mobile:
Multichannel Development     15
REST and Web APIs     17
IBM WebSphere and IBM Worklight     18
The Process of Building Modern Web Applications     19
   Introducing the Team     19
   Following a User-Centered Design and Development Process     20
Introducing User-Centered Design     22
   Applying the Design Process: Descriptions from Our Example     22
   Introducing Development into the Process     5
   Division of Labor: Defining the User Model and REST Interfaces     25
Summary     27
Endnotes     27
Chapter 2  WAS and the Liberty Profile     29
How We Got Here     29
   A Brief History of WAS     29
   What Changed in the Programming Model?     31
What Is Liberty?     33
   Some Coding Considerations and a Servlet and JDBC Example     36
Deploying the Example Using the Liberty Profile     41
   Server Creation and Structure     42
   Deploying an Application on a Server     43
   Testing the Sample Application     44
   Running the Example Within Eclipse     45
Summary     48
Endnotes     48
Chapter 3  Design     49
Agile UI Design Process     49
More on User Centric Design     51
   Design for Multichannel     52
   Page-Oriented User Interfaces     53
   Patterns for User Interface Design Web     55
   View Interaction Patterns     55
   Targeted Mobile Apps vs. Multichannel Applications     57
UI Design Example     58
Summary     63
Chapter 4  REST Web Services in WebSphere Liberty     65
What Is REST?     65
The Pieces of a RESTFul Web Service     66
Introducing JAX-RS     67
   Basic Concepts: Resources and Applications     68
   A JAX-RS “Hello World” in WebSphere Liberty     68
   Creating the WebSphere Liberty Server     74
   Starting the Server and Testing the Application     78
More JAX-RS Annotations     80
   Testing the New Example     82
JAXB and More Interesting XML-Based Web Services     82
   The JAXB Annotations     83
   A Trivial DAO (and Its Use)     86
JSON Serialization     88
   A Simple Transaction Example with JAX-RS     88
   Handling Entity Parameters with POST and the Consumes Annotation     90
   The Use of Singletons in Application Classes     91
   Testing POST and Other Actions with RESTClient     94
More on Content Negotiation     95
   Introducing the JAX-RS Response     97
   Hints on Debugging: Tips and Techniques     98
   Simple Testing with JUnit     98
RESTful SOA     101
Summary     102
Endnotes     102
Chapter 5  Application Architecture on the Glass     103
Why Well-Designed Applications Matter     103
Defining a Client-Side Architecture     104
Responsive Design     109
Client-Side Architecture     114
   Application Controller     115
   Model-View-Controller     116
   Error Logging and Management     120
   Data Storage and Caching     121
   Configuration     121
Introduction to the Dojo Toolkit     123
   Dojo     124
   Dijit     124
   DojoX     124
   Util     125
Why Use Dojo     125
Asynchronous Module Definition     126
Future of Dojo     129
Using Dojo in Your Application     130
   Section: HTML Declaration     132
   Section: Styling     132
   Section: Configure Dojo     132
   Section: Load Dojo     134
   Section: Initialize Application     134
   Section: Body Content     135
Creating Your Own Widgets     136
Building the Application     140
Summary     166
Chapter 6  Designing and Building RESTful Applications with Modern Java EE     167
Modern Java EE     167
   EJB 3.1 and CDI     168
   JPA     171
Application Architecture for Modern RESTful Systems     172
   Division of Labor: Defining the User Model and REST Interfaces     174
   Application Layers     179
Building the Application     185
   Loading the Example and Setting Up Liberty     185
   Test-Driven Development     190
   Building REST Services     195
   Domain Model     201
   Building DAO and Business Logic     205
   Running the Application     209
A Discussion on Choices     210
Summary     211
Chapter 7  Introduction to IBM Worklight     213
What Is IBM Worklight?     213
Elements of IBM Worklight     213
The IBM Worklight Product Family     214
Developing with IBM Worklight     215
IBM Worklight Deployment Architecture     216
IBM Worklight Server Architecture     221
The Structure of a Worklight Application     223
What This Means for You     224
Summary     226
Chapter 8  Building a Worklight Hybrid App with Open Source Frameworks     227
Design for the Hybrid Application     227
Overview of Frameworks     228
   jQuery     229
   jQuery Mobile     229
   Require.js     229
   Backbone and Underscore     230
   Handlebars     230
Building a Hybrid App with Worklight     230
   Setting Up the Project     230
   Worklight Adapter Code     233
   Worklight Hybrid App Folder Structure     240
   Examining the Application     242
   Running the Example     255
Summary     260
Chapter 9  Testing and Debugging     261
HTML     261
JavaScript     262
   Global Variables     263
   Asynchronous Module Definition (AMD)     263
   Context     264
   CSS     267
   Data     269
Unit Testing     269
The Browser as a Test Platform     272
   Exploring Chrome’s DevTools     273
   Essential Browser Plug-ins     279
IBM Worklight Specific Concerns     281
   Disabling AppCache for Mobile Web Apps     281
   Disabling Security for Cross-Domain Ajax in Mobile Apps     283
Remote Debugging     284
   Safari Remote Debugging     284
   Chrome Remote Debugging     285
   Online Code Snippit Runners     285
Summary     286
Chapter 10  Advanced Topics     287
Understanding Where Your Application Fits     287
Achieving Reliability Through Clustering     292
Versioning     292
   Versioning in the URI     293
   Versioning in the Header     294
Mechanisms for Improving Performance     294
   Pagination     295
   Caching Overview     296
   Response Caching     297
   Server-Side Caching with WXS     298
Security Issues for Modern Web Applications     302
Summary     304
Endnotes     305
Chapter 11  Key Takeaways of Modern Web Development     307
The Engaging Enterprise     307
   Mobile-First Development     308
   Web APIs     309
   Polyglot Programming     310
   Cloud Computing     310
Summary     313
Endnote     313
Appendix A  Installation Instructions     315
Development Machine Installation     315
   Installing Java Runtime Environment, v1.7     316
   Installing Eclipse Juno IDE, v4.3     317
   Installing IBM WebSphere Liberty Profile Developer Tools, v8.5.5     318
   Installing the Source Code for the Book Examples     319
Optional Development Tooling for Mobile Web Apps     321
   IBM Worklight Studio v6.0     321
   Android Development Tools and Eclipse Plug-in     324
   OSX XCode IDE     327
Server Installation     328
   IBM WebSphere Liberty Profile, v8.5.5     329
   Apache Derby, v10     330
Downloading and Installing Example Source Code     333
Summary     333
Index     335

Updates

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020