The Java interface
The Java interface allows you to import Java classes and instantiate Java objects in your programs.
The Java interface gives access to the huge standard Java libraries, as well as commercial libraries for specific purposes.
The methods of Java objects can be called with other Java objects referenced in program, as well
as with native language data types such as INTEGER
,
DECIMAL
, CHAR
.
The Java interface of Genero has the following limitations:
- It is not possible to use Java generic types such as java.util.Vector<E>, with
a type parameter (for example,
Vector<MyClass> v = new Vector<MyClass>()
). However, it is possible to instantiate these classes without a type parameter (for example,Vector v = new Vector()
). - Database connections cannot be shared between Java and Genero programs.
- Java graphical objects cannot be used in Genero forms.