Friday, May 3, 2019

Run built JAVA program on linux with dependent jar files

/myapp/WL12c/app/oracle/jdk1.8.0_211/bin/java -cp /home/app/ERApp/lib/commons-cli-1.4/commons-cli-1.4.jar:/home/myapp/ERApp/lib/ojdbc14.jar: com.bloomburger.datalic.dlws.PerSecurity -s GetAllExRates -p scheduled &>>output.txt &


Explanation:

java installed location -> /app/WL12c/app/oracle/jdk1.8.0_211/bin/java

classpath or dependent jar locations-> -cp /home/app/ExchangeRatesApp/lib/commons-cli-1.4/commons-cli-1.4.jar:/home/app/ERApp/lib/ojdbc14.jar

in the generated classes folder-> com.bloomburger.datalic.dlws.PerSecurity (make sure you get to the folder where com(com.bloomberg.datalic.dlws.PerSecurity) exists and run above command in blue color)

Pass Arguments to the java class file : -s GetAllExRates -p scheduled

Save the logs to file exit with background running enable -> &>>output.txt &






Wednesday, August 22, 2018

Call external REST APIs from NodeJS AWS Lambda

This blog post explains you how to call REST APIs from AWS Lambda.

Tuesday, August 21, 2018

Postman App ; Call UiPath robots on Orchestrator using APIs

Amazed to find Postman app generating code for the parameters and headers passed

In this blog I would like to note down how this tool will be helpful in dealing with APIs

Fantastic explanation of the concepts by Nikhil Ashodariya

https://youtu.be/a2YlQMylshU

Also, here is the link for Ui Path documentation-

https://www.uipath.com/hubfs/Documentation/OrchestratorAPIGuide_2016.2/UiPathOrchestratorAPIGuide_2016.2.html


List of all APIs for UiPath Orchestrator-




Wednesday, June 27, 2018

Convert Number to String with Locale (Comma separated String)



import java.io.*;
import java.text.NumberFormat;
import java.util.Locale;

class MyCode {
  public static void main (String[] args) {
    int number = 1234567;
      NumberFormat numberFormat = NumberFormat.getNumberInstance(Locale.US);
      String numberAsString = numberFormat.format(number);
      System.out.println(numberAsString);
  }
}

Monday, June 11, 2018

Popup Panel Window width ADF

This is how you can increase Popup width - use Content Width property of Panel Window.



Wednesday, May 23, 2018

PLSQL based entity objects adf

https://technology.amis.nl/2012/06/13/adf-11g-business-components-create-plsql-based-entities/


http://www.avromroyfaderman.com/2008/07/the-power-of-properties/

ADF Architecture TV: 36-39 https://www.youtube.com/watch?v=8h6vC9M-xLc

Advance View object techniques: https://docs.oracle.com/cd/E29049_01/web.1112/e16182/bcadvvo.htm




Tuesday, May 22, 2018

Sync af:table row on a form in popup

https://www.youtube.com/watch?v=rv3NV4rz6Lo


https://community.oracle.com/thread/3674690?start=15&tstart=0