IBM Worklight 8.0 Adapter to invoke Java code

65 Views Asked by At

We are using MobileFirst 8.0 adapters for mobile application development. Earlier we were using Mobile first 7.1 where we use to invoke java files as below.

var salt =com.Base64EncoderDecoder.decode(salt);

The above file Base64EncoderDecoder.class was part of worklight .war file. Can same approach be achieved using Mobile first 8.0 ? Please suggest how this can be achieved in 8.0.

1

There are 1 best solutions below

0
Vivin K On

You can still achieve the same functionality with IBM MFP 8.0. The difference is that , with MFP 8.0, the Java class will be packaged within your adapter project itself.

For more details and a working sample, refer to this link.