Can I base a Forms block on an EJB or BC4J component?
The Java importer facility gives you the ability to use an Enterprise Java Bean (EJB) or Business Components for Java (BC4J) component as the basis of a Forms Block. However, we recommend that you do not do this for the following reasons: • Calling out to Java from Forms has a small but significant performance implication. The Java Native Interface (JNI) that is used to call out from the Forms C code to Java does impose a bottleneck on the operation as values and method calls are transferred. Although this overhead is not noticeable in a simple function call, it will become evident if a Form Block is based on Java in this way. The normal functionality of the block requires many calls back and forth to the datasource and in this case the delay imposed by the JNI bridge, on each call, will result in noticeably slower performance than that for a block based directly on a table, view or PL/SQL stored procedure. • Whenever a Forms process calls out to Java, it must have a Java Virtual Machi