Getting familiar with IBM MobileFirst Platform Foundation Java Adapters [Part 1]

IBM MobileFirst Platform Foundation 7.0 introduced a new concept of Java Adapters. Java Adapters are implemented according to JAX-RS specification and allow a wide array of possibilities that were not available before in JavaScript adapters.

The prerequisite for this video is a decent knowledge of MobileFirst adapters framework. You can learn more about it using this link

In this video I'm walking through the most common patters on using MobileFirst Java Adapters such as
1. Creating Java Adapter
2. Understanding Java Adapter structure
3. Implementing simple sayHello procedure for HTTP GET method
4. Implementing several procedures for different HTTP methods
5. Working with various types of request parameters
6. Using Java code to access MobileFirst server functionality and Java servlet functionality
7. Debugging Java Adapters
8. Communicating with a simple backend using using Apache HTTP Client
9. Leveraging WSDL files and communicating with a SOAP based webservice
10. Using WLResourceRequest in client applications to communicate with Java Adapters
11. Using Postman REST client for communicating with Java Adapters

As usual - watch it in HD for max resolution.

Important thing to note is that Java adapters are based on the JAX-RS specification and expose a full REST API to the client. In other words Java adapter is a JAX-RS service that can be deployed to MobileFirst Server and that by default, has access to MobileFirst Server APIs. Being a RESTful endpoint they cannot be accessed using WL.Client.invokeProcedure() API which uses an RPC model. Starting with v7.0 the IBM MobileFirst Platform provides a WLResourceRequest class which should be used to access Java adapters. To summarize
1. Java adapters can be only accessed using WLResourceRequest
2. JavaScript adapters can be accessed using WL.Client.invokeProcedure() API
3. JavaScript adapters can be accessed using WLResourceRequest (read here)

Part 2 of this introduction available here

Below links might provide additional insights regarding Java Adapters usage:

Last modified on May 01, 2016