This content has been marked as final. Show 6 replies
Maybe there is a confusion here. HtmlButton is probably some Swing Java Bean that cannot be imported at server side with the Java Importer Forms Builder feature.
The java Importer is able to import Java code that will be executed at server side, so without any "screen" representation.
Maybe you could clarify your need.
htmlbutton.jar was name just only.Actually it has iconic button having some additional processing.Let assume that it has a class which includes a method returning some value like any processed string.
There are two possible integrations of java into forms:
-server-side integration. This is functionality executed in the "backgound" without any GUI (e.g. a webservice-call). This is done using the java-importer.
-client-side-integration. This functionality "extends" the GUI of a forms-application (e.g having a special button). This integration s not done by the java-importers, but with a couple of things:
+the java-class has to be based on a specific Forms-Java-class (.eg. VBean, VButton, VTextField, depending on your itemtype)
+the name of the java-class has to be put in the property "implementation class" of your forms-item which should "inherit" the new behaviour.
+the jar with the javacode has to be in the property "archive" in the appropiate section of your default.env
Have a look here http://forms.pjc.bean.over-blog.com/ especially the article "How to build my first javabean"
thank You for replying,actually I want to know server side java integration.How to import java class using form builder 11g
Edited by: 976798 on Jan 16, 2013 8:39 AM
Add the jar-file containing the logic you want to import to the setting "FORMSBUILDER_CLASSPATH" in the registry. Then the classes should be accesible in the Java-Importer.
But... didn't you say that you have some button in your jar? That sounds more like a client-side-integration.
There,I had tried to inclute the jar into classpath but still there is no any java package or class please tell me what to do,actually I want a tutorial to import and use java into form bulder 11g.