As we have the ability on eclipse and netbeans to import an existing JAR file, to have the possibility to access the classes/objects of the jar file.
So, during the compilation, it will include the command import ( example java.util.Random; ) and on the b4j/b4a IDE, to have the ability to access any member of the imported jar file ( example
im object as
Random)
With the above way, we will not need to create any wrappers of the existing java functionality.