Java ADF Swing

When can I get information about the Java Swing Application with ADF:
http://docs.Oracle.com/CD/E24382_01/Web.1112/e16181/TOC.htm

Published by: Edward D.G. on 23 January 2013 15:35

Hello.

ADF Swing was not good documentation for years. And now, it has been officially deprecated when ADF 11.1.2.0.0 was released. See:

http://www.Oracle.com/technetwork/developer-tools/jdev/shermanrelnotes-405777.html#swing

ADF Swing will disappear completely in 12 c, apparently.

Of course, nothing prevents you to generate a Swing application that will access the logic ADF BC remotely through web services, for example. However, you will not have the advantage of the swing to the EJB binding layer which provided ADF Swing.

Best regards

Frédéric.

Tags: Java

Similar Questions

  • Programatcially [ADF-Swing] force executeQuery() on master VO?

    Hello

    ADF - 11.1.1.5 (ADF-Swing)

    my application has a relationship master detail of two ViewObjects.

    Retail VO has no generated Java:

    VO-def.png

    In my Swing form in this VO detail update, I need to run on the master VO executeQuery() since the backend changes IDs to update details.

    How can I force a refresh of the master VO?

    I would like to avoid changes in the generated code of ADF. Is my possible requirement without code generated by changes in the ADF?

    Good bye

    DPT

    Solved: an instance of the master VO passed to the detail form

    Good bye

    DPT

  • EL and ADF Swing

    Hello

    I created a view of swing for my application of ADF (quite new for me, swing,...) and I would like to know how I can use the location of elements such as frame title, the names of menu items, etc.
    I use JDeveloper 11.1.1.3.0

    Hello

    you use Java resource bundles and are referencing the keys in there. In this regard, the ADF Swing is no different from any Java Swing example that you can find using Google

    Frank

  • problem to deploy a project of ADF swing

    Hello

    Hope someone can help me out in these error messages (Houston-29000, Houston-33003).
    I want to deploy my project of adf swing, but I can't find the solution to this problem.
    In jdev11 everything perfectly executed when I use this app, but when I try to run the jar deployed since the terminal I get the following errors:

    $java - jar-myapp.jar


    oracle.jbo.JboException: Houston-29000: Unexpected exception caught: java.lang.NullPointerException, msg = null
    at oracle.adf.model.binding.DCIteratorBinding.reportException(DCIteratorBinding.java:363)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1656)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1616)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1580)
    at oracle.adf.model.binding.DCIteratorBinding.getNavigatableRowIterator(DCIteratorBinding.java:1873)
    at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:653)
    at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:473)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4311)
    at oracle.adf.model.binding.DCBindingContainer.refreshExecutables(DCBindingContainer.java:3320)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3165)
    at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:2791)
    to the view. Form.setBindingContext (Form.java:404)
    to the view. Form.main (Form.Java:455)
    Caused by: java.lang.NullPointerException
    at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1750)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1640)
    ... 11 more
    # # 0 in detail
    java.lang.NullPointerException
    at oracle.adf.model.binding.DCIteratorBinding.initSourceRSI(DCIteratorBinding.java:1750)
    at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1640)
    at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1616)
    at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1580)
    at oracle.adf.model.binding.DCIteratorBinding.getNavigatableRowIterator(DCIteratorBinding.java:1873)
    at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:653)
    at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:473)
    at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4311)
    at oracle.adf.model.binding.DCBindingContainer.refreshExecutables(DCBindingContainer.java:3320)
    at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3165)
    at oracle.adf.model.binding.DCBindingContainer.refreshControl(DCBindingContainer.java:2791)
    to the view. Form.setBindingContext (Form.java:404)
    to the view. Form.main (Form.Java:455)


    -----------------------------------------------------------------------------------------------------------------------


    oracle.jbo.ConfigException: Houston-33003: lnrrec login name is not defined.
    at oracle.jbo.client.Configuration.initializeFromConnectionName(Configuration.java:1085)
    at oracle.jbo.client.Configuration.getConfiguration(Configuration.java:593)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:328)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:587)
    at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:564)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:391)
    at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:305)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:199)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:123)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:166)
    at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:819)
    at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1070)
    at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:973)
    at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:933)
    at oracle.adf.model.BindingContext.internalFindDataControl(BindingContext.java:939)
    at oracle.adf.model.BindingContext.get(BindingContext.java:896)
    at oracle.adf.model.binding.DCBindingContainer.findDataControl(DCBindingContainer.java:1519)
    at oracle.adf.model.binding.DCIteratorBinding.initDataControl(DCIteratorBinding.java:2403)
    at oracle.adf.model.binding.DCIteratorBinding.getDataControl(DCIteratorBinding.java:2348)
    at oracle.jbo.uicli.jui.JUPanelBinding.useDefaultDataControl(JUPanelBinding.java:903)
    at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:125)
    to the view. Form.setBindingContext (Form.java:399)
    to the view. Form.main (Form.Java:455)


    Houston-33003: Lnrrec login name is not defined. I checked all the properties, but I have not find any problem with the connection.
    Connection type is: Oracle OJBC
    Connection test is "Success!"

    I got the same error message when I try to deploy the following Oracle official sample: [build Rich Client forms using ADF Swing and ADF business components | http://www.oracle.com/technology/obe/obe1013jdev/10131/adf%20swing/master_detail_page_adfswing_bc.htm]

    Any help is appreciated!

    Kind regards

    Roland

    Hi Roland,

    Why don't you try running your application with the settings as seen in JDev on 'Messages' by the sticky to your shell?

    If it goes well in JDeveloper, I think the problem is on some missing libraries.

  • Table empty ADF Swing of sizing.

    Hi all
    I have an empty Panel created from ADF Swing. Can I do a right click on it (panel.java) and run it, which opens a panel empty. The Panel that opens is 6 inches by 5 inches way to small. My question is how can I do this Panel to open full screen when I run?

    Thank you.
    Bobby has.

    Hi Bobby,.

    I suppose that you leave JDeveloper generate ADF Swing Application with the model and view projects. So right click on the draft opinion-> New-> profiles-> JAR file deployment - give a name and folder (e.g. archive1.jar)
    Then right-click on the view again once-> deployment-> archive1-> jar

    in my case, I have my pot in this path: D:\java_11\Swing1\View\deploy\archive1.jar
    Now I can run my main method in the Form class, which in my case is actually brano.swing1.view.FormDeptView2 (brano.swing1.view is the name of the package) any place where java the same version I used to compile in JDeveloper is installed
    But you have to study what other jars (libraries) is also necessary. The easiest way how to test is to copy the command-line of the JDeveloper when you click Run and go to the JRE of JDeveloper studio folder and run your jar it:

    My JDeveloper JRE is in d:\jdev11\jdk160_11\bin\java.exe sort:

    d:\jdev11\jdk160_11\bin\java.exe -client -classpath D:\java_11\Swing1\.adf;D:\java_11\Swing1\View\classes;D:\java_11\Swing1\Model\classes;D:\jdev11\jdeveloper\modules\oracle.idm_11.1.1\identitystore.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\adfm.jar;D:\jdev11\jdeveloper\modules\groovy-all-1.6.0.jar;D:\jdev11\jdeveloper\adfdt\lib\adf-dt-at-rt.jar;D:\jdev11\jdeveloper\adfdt\lib\adf-transactions-dt.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\adfdt_common.jar;D:\jdev11\jdeveloper\modules\oracle.xdk_11.1.0\xmlparserv2.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\db-ca.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\jdev-cm.jar;D:\jdev11\jdeveloper\modules\oracle.ldap_11.1.1\ojmisc.jar;D:\ jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\commons-el.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\jsp-el-api.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\oracle-el.jar;D:\jdev11\modules\javax.activation_1.1.0.0_1-1.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\adf-share-support.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\adflogginghandler.jar;D:\jdev11\jdeveloper\modules\oracle.jmx_11.1.1\jmxframework.jar;D:\jdev11\jdeveloper\modules\oracle.jmx_11.1.1\jmxspi.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\ bc4jwizard.jar;D:\jdev11\jdeveloper\modules\oracle.javatools_11.1.1\resourcebundle.jar;D:\jdev11\jdeveloper\modules\oracle.ldap_11.1.1\ldapjclnt11.jar;D:\jdev11\jdeveloper\modules\oracle.jps_11.1.1\jps-api.jar;D:\jdev11\jdeveloper\modules\oracle.jps_11.1.1\jps-common.jar;D:\jdev11\jdeveloper\modules\oracle.jps_11.1.1\jps-ee.jar;D:\jdev11\jdeveloper\modules\oracle.jps_11.1.1\jps-internal.jar;D:\jdev11\jdeveloper\modules\oracle.jps_11.1.1\jps-unsupported-api.jar;D:\jdev11\jdeveloper\modules\oracle.jps_11.1.1\jacc-spi.jar;D:\jdev11\jdeveloper\modules\oracle.pki_11.1.1\oraclepki.jar;D:\jdev11\jdeveloper\modules\oracle.osdt_11.1.1\osdt_core.jar;D:\jdev11\jdeveloper\modules\oracle.osdt_11.1.1\osdt_cert.jar;D:\jdev11\jdeveloper\modules\oracle.osdt_11.1.1\osdt_xmlsec.jar;D:\jdev11\jdeveloper\ modules\oracle.iau_11.1.1\fmw_audit.jar;D:\jdev11\modules\javax.security.jacc_1.0.0.0_1-1.jar;D:\jdev11\jdeveloper\BC4J\jlib\bc4jtester.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jsyscat.jar;D:\jdev11\jdeveloper\jlib\ohj.jar;D:\jdev11\jdeveloper\jlib\help-share.jar;D:\jdev11\jdeveloper\modules\oracle.bali.share_11.1.1\share.jar;D:\jdev11\jdeveloper\jlib\jewt4.jar;D:\jdev11\jdeveloper\jlib\oracle_ice.jar;D:\jdev11\jdeveloper\ide\lib\idert.jar;D:\jdev11\jdeveloper\ide\lib\javatools.jar;D:\jdev11\wlserver_10.3\server\lib\weblogic.jar;D:\jdev11\jdeveloper\modules\oracle.mds_11.1.1\mdsrt.jar;D:\jdev11\modules\javax.servlet_1.0.0.0_2-5.jar;D:\jdev11\modules\javax.jsp_1.1.0.0_2-1.jar;D:\jdev11\ wlserver_10.3\server\ext\jdbc\oracle\11g\ojdbc6.jar;D:\jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\commons-cli-1.0.jar;D:\jdev11\jdeveloper\modules\oracle.xmlef_11.1.1\xmlef.jar;D:\jdev11\jdeveloper\modules\oracle.dms_11.1.1\dms.jar;D:\jdev11\jdeveloper\modules\oracle.xdk_11.1.0\xml.jar;D:\jdev11\jdeveloper\modules\oracle.javacache_11.1.1\cache.jar;D:\jdev11\jdeveloper\modules\oracle.ucp_11.1.0.jar;D:\jdev11\jdeveloper\modules\oracle.odl_11.1.1\ojdl.jar;D:\jdev11\jdeveloper\modules\oracle.javatools_11.1.1\javatools-nodeps.jar;D:\jdev11\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-collation.jar;D:\jdev11\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-mapping.jar;D:\jdev11\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-servlet.jar;D:\jdev11\jdeveloper\modules\oracle.nlsrtl_11.1.0\ orai18n-translation.jar;D:\jdev11\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n-utility.jar;D:\jdev11\jdeveloper\modules\oracle.nlsrtl_11.1.0\orai18n.jar;D:\java_11\Application3\Model\classes;D:\jdev11\jdeveloper\modules\oracle.adf.share_11.1.1\adfsharembean.jar;D:\jdev11\jdeveloper\modules\oracle.adf.view_11.1.1\dvt-jclient.jar;D:\jdev11\jdeveloper\modules\oracle.adf.view_11.1.1\dvt-utils.jar;D:\jdev11\jdeveloper\jlib\inspect4.jar;D:\jdev11\jdeveloper\jdev\extensions\oracle.jdeveloper.jgoodies\forms-1.0.6.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\bc4jimdomains.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\ordim.jar;D:\jdev11\jdeveloper\modules\oracle.adf.model_11.1.1\ordhttp.jar;D:\jdev11\jdeveloper\ord\jlib\jmf.jar;D:\jdev11\jdeveloper\jdev\lib\jdev-rt.jar;D:\ jdev11\jdeveloper\sqlj\lib\runtime12.jar brano.swing1.view.FormDeptView2

    of course, you can it reduce the way store you only the necessary bribes in some names only folder and the name of jars in the classpath. You can create a script file (on windows .bat and set JAVA_HOME variable run from any folder)

    Kind regards

    Branislav

  • Cannot find the ADF Swing on JDeveloper 12.1.3 option

    Hi all

    Worked with the ADF and JDeveloper for a couple of years now. I have a personal project that I want to use the ADF Swing, I find this feature under the new gallery on JDeveloper 11.1.1.7. But can't find it on 12.1.3. The only way I can use it by importing a project created on a previous version of JDeveloper. ADF Swing half 12 c?

    UPDATE: I can't use a previous version of JDeveloper because integration with SQLite to build the BC only works on 12 c.

    Thanks for the replies guys, but I installed JDeveloper 12.1.2.0 and it still have the ADF Swing function. I guess they took only on 12.1.3.

  • ADF Swing Desktop Application - deployment problem

    Hello

    I created a Swing ADF application to interact with JavaDB. The application works fine when running in JDeveloper.

    I want to deploy this application runs on the desktop, I have therefore deployed the application according to the steps in the next post
    Re: Lack of Setup executable jar ADF

    Now, when I run my application via command line, I get the following message on the command line

    D:\myapp > java-jar ADF_Library.jar
    June 8, 2011 17:06:34 oracle.jbo.uicli.mom.CpxUtils$ logMainApplicationCpx Visitor
    INFO: jar:file:/D:/MyApp/ADF_Library.jar!/myproject/apps/view/DataBindings.cpx

    And a java console opens that shows the following error stack

    oracle.jbo.PersistenceException: Houston-26000: A Generic exception occurred loading customizations.
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:85)
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:648)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
    at myproject.apps.view.FormWishListEOView.main(FormWishListEOView.java:444)
    Caused by: java.lang.NullPointerException
    at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1224)
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
    ... 7 more
    # # 0 in detail
    java.lang.NullPointerException
    at oracle.adf.share.ADFContext.getMDSSessionAsObject(ADFContext.java:1224)
    at oracle.jbo.mom.MOMParserMDS.getMDSSession(MOMParserMDS.java:60)
    at oracle.jbo.mom.MOMParserMDS.parse(MOMParserMDS.java:189)
    at oracle.jbo.mom.MOMParserNonMDS.readAndParse(MOMParserNonMDS.java:71)
    at oracle.jbo.mom.DefinitionContextStandard.readAndParse(DefinitionContextStandard.java:237)
    at oracle.jbo.mom.DefinitionManager.loadProjectDefinition(DefinitionManager.java:1447)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.findCpx(JUMetaObjectManager.java:648)
    at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:692)
    at myproject.apps.view.FormWishListEOView.main(FormWishListEOView.java:444)


    Guidance on what could be causing this error?

    TIA,
    Franck

    Published by: user11977999 on June 8, 2011 04:40

    Published by: user11977999 on June 8, 2011 04:41

    Maybe you are including pots bad for a Swing client, or a pot is missing.
    And: 84 is far too IMHO.

    We include in our Swing client (most of the people is actually the MDS dependencies):

    JMX (4)
    =============
    BC4J - mbeans.jar
    javax. Management.j2ee_1.0.jar
    jmxframework.jar
    jmxspi.jar

    ADF (21)
    =============
    ADF-share - ca.jar
    ADF-share - support.jar
    adflogginghandler.jar
    ADFM.jar
    cache.jar
    Commons-cli - 1.0.jar
    common - el.jar
    DB - ca.jar
    DMS.jar
    Groovy-all - 1.6.3.jar
    javatools - nodeps.jar
    javax.transaction.jar
    jdev - cm.jar
    JPS - api .jar
    JSP - el - api .jar
    mdsrt.jar
    OJDL.jar
    ojmisc.jar
    Oracle - el.jar
    ResourceBundle.jar
    share.jar

    SWING (3)
    =============
    ADF-share - base.jar
    DVT - jclient.jar
    DVT - utils.jar

    JDBC (3)
    =============
    ojdbc6.jar
    orai18n - collation.jar
    orai18n.jar

    XML (3)
    =============
    XML.jar
    xmlef.jar
    xmlparserv2.jar

    In this version, we also turned off MDS. In 11.1.1.5.0, turn off MDS is no longer an option, it seems (SR result is pending), then you should also include javax.jsp.jar and javax.servlet.jar.

    Powering down of MDS:

    System.setProperty ("oracle.adfm.usemds", "false");
    System.setProperty ("oracle.jbo.usemds", "false");

    I don't know how reasonable is the list above. We built a list of pots from the bottom up, meaning: we tried to start the client, waited for the ClassNotFoundException, found the container class and he added and so on. She works for us in 11.1.1.3.0.

    The stack trace that you see in 11.1.1.3.0 is caused by a lack of class. ADFConfig tries to create an instance of the class 'oracle.adf.share.config.ADFContextMDSConfigHelperImpl' but fails, probably because the class is not in the classpath. The method of creation of the program of assistance and then returns the value zero, leading to the NPE in getMDSSessionAsObject().
    The exception is logged in the ADFLogger level FINE, so you should be able to see the cause, if you change the logging level.

    Sascha

  • What are the minimum prerequisites Java ADF 11 g

    Hello

    What are the minimum requirements for Java (version) started to use the Oracle ADF 11 g. Cannot find on the website of oracle.

    -Colinet

    According to the Setup Guide: http://download.oracle.com/docs/cd/E14571_01/install.1111/e13666/ojdig.htm#BDCDAGAH

    According to table 1 in this link, it is the latest version of JDev 11.1.1.3.0 JDK 6.0 update 18.

    CM.

  • Oracle Fusion Middleware Java QAnywhere for Oracle ADF Mobile

    Where can I find "Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile?

    Thank you very much for your time.

    Hi, this is a reference to the JavaDocs of the methods/classes supported by ADF Mobile Java. You can usually right (or ctrl) click on any method of specific Java ADF Mobile and select "JavaDoc". You can open a sample application that contains a Java class - for example the HR sample application, and find any method with the name "adfmf." You should be able to see the doc of Java for the ADF Mobile related methods/classes.

    Thank you

    Joe Huang

  • JasperReport - ADF - JDeveloper Studio 11.1.1.2.0 Swing

    Hello everyone, okay?
    Could someone give me a tutorial how to work with JasperReport ADFSwing and using JDeveloper?

    For jasper, you may consult:

    http://jdevguru.com/?p=30

    http://programming.itags.org/development-tools/66612/

    http://jdevelopertips.blogspot.com/2007/03/integrating-Jasper-reports-with.html

    http://www.theregister.co.UK/2006/10/24/jasperreports_tutorial/

    for adf swing:

    http://wiki.Oracle.com/page/ADF+Swing

    http://Groundside.com/blog/GrantRonald.php?title=adf_swing_resources&more=1&c=1&TB=1&pb=1

    NA
    http://nickaiva.blogspot.com

  • ADF 11 G Swing Application dialogue of connection-how?

    Hello

    Using JDev 11.1.3 I developed a Swing ADF application is deployed as a jar file and run from Office to office. So far, that the password for the database is deployed in the jar of the file and the application works very well in this mode. However, I would now like to present a login dialog box authenticates users. I know that in JDev 10.1.2 there was an option to generate a new connection JClient Panel, but this is no longer supported in version 11G of JDev.

    Is it still possible to enter a username and password via a dialog box opening session in an 11G application and use them to set the context of the application? Also, I would like to be able to connect to a development or an instance of mirror of production data (perhaps through a selection of drop-down list box). Is there code snippets or references that you could share on any of these two topics?

    Thank you and best regards
    I have

    If you choose to create an empty form (ADF Swing) of the New Gallery, you will see a check box generate a logon dialog box in the optional attributes of the Swing empty ADF creation form. If you click on it, a JCLoginDialog will be created with the code snippet you want;). You can adapt the code of JCLoginDialog, so that you can provide an additional option to access the basis of development and production.

  • Deployment of desktop ADF ERRORS

    Hey guys;

    I've been struggling with this for more than a week... I have read every single article and discussion about it and it's all the same responses with no result.

    So I'm jumping with your help, we could solve this problem once and for all.

    I'm doing an ADF Swing Desktop application... Here's what I did exactly:

    1: create a new java desktop application (ADF).

    2: creates a new business for a single table component.

    3: create the new empty form

    4: I slipped and fell from the data control component to my new blank form

    5: I run the Jdev app it works but with a WARNING "WARNING: automatically initialization of a DefaultContext of getCurrent.»

    (based on my reading this warning can be ignored)

    Now the deployment:

    1: right click on the view > deployment > deployment new profile.

    2: profile of type: JAR file.

    3: JAR Options: * I checked to include the manifest file

    * in Main Class I clicked on browse and searched the main class that is App5Form you click on enter

    now the area of the Main Class: view. App5Form

    4: groups of files > new: * name of filegroup: LIBS

    * Type of file groups: I chose libraries > OK

    5: LIBS > contributors: select all available libraries

    Untitled.jpg

    6: ok!

    Now, when I try to run it from cmd using the command 'java-jar G:\MyWork\App5\View\deploy\App5.jar' it gives me this error:

    Exception in thread "main" java.lang.NoClassDefFoundError: oracle, adf, model, binding/DCErrorHandler

    Caused by: java.lang.ClassNotFoundException: oracle.adf.model.binding.DCErrorHanamel

    in java.net.URLClassLoader$ 1.run(URLClassLoader.java:202)

    at java.security.AccessController.doPrivileged (Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:190)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:305)

    to Sun.misc.Launcher$appclassloader$ AppClassLoader.loadClass (Launcher.java:301)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:246)

    The main class is not found: view. App5Form. Program ends.

    Can so help please.

    The General steps are described in the docs on in this tutorial https://docs.oracle.com/javase/tutorial/deployment/jar/build.html

    However the other jars you use in your application will be the problem, as I have said before.

    If you want to run the jar you build on another pc who installed Jdev, you must include all the pots in your. Then, however, you cannot run it (as I've already said). You can unpack the pot (a pot is a zip archive) and then run the normal command line java as you saw to run inside jdev. Git this, you must change the class path setting to point to the note unzipped in pots.

    There are tools available which generate a native exe off such a jar file and follow the instructions below in the background of your. Not sure if there is any tool for free and if it works for your case, but Google will help you find such tools.

    Another path to follow is java web start (https://docs.oracle.com/javase/tutorial/deployment/webstart/).

    Timo

  • Is it legal to deploy to Tomcat ADF libraries?

    Hello
    I've seen some messages that describe decouple ADF of Weblogic and deploy libraries to other app servers. As I knew him, ADF is free, but not open source. So, is it illegal to deploy on Tomcat?
    Thank you

    You're wrong that ADF is free.
    License:
    >
    ...
    'Components' refers to Oracle TopLink and Oracle Application Development Framework (ADF), which consists of the following programs: Oracle ADF business components (aka business for Java components), the layer model of ADF the ADF shares Struts of data or data Pages, ADF UIX, ADF Swing (aka Jclient), ADF Faces components ADF Mobile, controller of ADF, components of visualization of data ADF and ADF security.
    ...
    We provide an exclusive, non-transferable, limited license to use the components and the Oracle WebLogic Server only in order to develop a unique prototype of your application for your internal business operations and not for other purposes. If you want to use the applications you develop using components or the Oracle WebLogic Server for any data processing internal production or commercial purposes please contact us, or a reseller of Oracle, to obtain the appropriate license. If you want to use the program or components for purposes other than those expressly authorized under this agreement you should contact us, or a reseller of Oracle, to obtain the appropriate license.
    ...
    >
    So you're free to develop an application using ADF, but if you use it, you need a license, regardless if you use WLS or Tomcat.

    Timo

  • How to connect to ms access in a swing JDeveloper application

    Hi guys,.

    How to connect MSAccess data base in a swing application in JDeveloper?

    I was wondering, you asked how to connect to MS Access from an application developed on JDev swing...

    Using ADF? Or simply using JDev to develop a plain vanilla java swing application?
    If not using ADF:
    You could try the JDBC-ODBC bridge. http://download.Oracle.com/javase/6/docs/TechNotes/guides/JDBC/bridge.html
    Could be better than half the oven pilots of type 4 JDBC for access.

    If you use ADF, I assume you have a model project ADF and an ADF swing project. If you manage to use the bridge JDBC-ODBC you should be able to configure a data source for your project in model as javax.sql.DataSource, javax.sql.ConnectionPoolDataSource are now supported if the bridge.

    Please keep in mind the updates warn on the http://download.oracle.com/javase/6/docs/technotes/guides/jdbc/bridge.html, especially limited scalability and performance.

  • java runtime error on line comand

    I am having this error when executing java online comand my code is

    
    
    

    the error is

    C:\javaproject > javac swing.java

    swing. Java: 23: error: class LoginGUI is public, must be declared in a file named LoginGUI.java

    SerializableAttribute public class LoginGUI extends JFrame {}

    ^

    swing. Java: 105: error: method does not override or implement a method of a supertype

    @Override

    The file name must be the same as a class name,

    Rename your file in LoginGUI.java


    P.S. And you have the error on line 14-15:

    *

    */

    your comment is not open - deleted this channels


Maybe you are looking for