Getting the Most from Forms 12C

Getting the Most from Forms 12C

Getting The Most From Forms 12c Michael Ferrante Principal Product Manager Application Development Tools June 2017 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 3 Agenda 1 Feature Timeline 2 Forms and Java Web Start (JWS) 3 Empowering the Administrator with FMC Notifications 4 Working with Images 5 Easy to use Tips 6 What’s Coming 7 Community Information Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 4 What’s New in Forms 12c Tabs with Icons BI-Publisher Integration Login Hints Java Web Start Audio Playback Customizable Color Schemes System Events DB-Idle Item Level Mouse Pointers Client-Idle Notification Single-Sign-Off Media Completion Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 5 The Feature Timeline GA 2005 GA 2009 GA 2011 GA 2015 Oracle Forms 10.1.2 Oracle Forms 11.1.1 Oracle Forms 11.1.2 Oracle Forms 12.2.1 • Runtime Pooling • WLS Integration • Support For OVAB • Integration With Bi-publisher • Java Web Start and FSAL • JVM Pooling • Javascript Integration • Integration With OAM • System Events • Schedule Runtime Prestart • Improved SSO Integration • Enhanced Java Support • Single Sign-out • Forms Metric Agent • Improved EM Interface • JVM Controller Improvements • Server-side Events • Enhanced Net Diagnostics • Audio Playback • XML Conversion • DB Proxy User Support • Oracle RUEI • Runtime UI Improvements • Enhanced Sql Logging • Urls In Image Items • Custom ColorSchemes • • Integration With ODL guiMode Parameter • Custom logon message • True Window Maximizing • OPSS Integration • And more… • Builder Improvements • Performance improvements • And many, many, more… http://www.oracle.com/technetwork/developer-tools/forms/documentation Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 6 Java Web Start (JWS) Free your application and go browser-less Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 7 What Is Java Web Start (JWS) • Allows you to run applications without installing the application locally. • Can be launched from browser, hyperlink, command line, or custom script. • Supported with nearly all browsers (exact behavior may vary). • Application looks and feels the same as when running as applet in browser. • Although launched from browser, application is not a child to the browser. References: https://docs.oracle.com/javase/8/docs/technotes/guides/javaws https://www.java.com/en/download/faq/java_webstart.xml Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 8 Java Web Start (JWS) For Oracle Forms Requirements and Limitations • SSO requires browser. • SSO authentication may not propagated via WEB.SHOW_DOCUMENT. • Does not support SSO Logout. • Does not support JS. (12.2.1.0 – 12.2.1.2) • Client Java (choose one) and optional browser(s): REQUIRED (choose one) OPTIONAL • Java Plugin (JRE) • Internet Explorer or Edge • Java Development Kit (JDK) • Firefox • Chrome • Safari Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 9 Browser-less Settings • alwaysOnTop – Forces the JWS window to remain on top of all other desktop windows. • centerOnStartup – Centers the JWS window upon application startup. • isResizable – When set to FALSE, the JWS window cannot be resized by the user. Requires 12.2.1.1 or newer. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 10 Java Network Launch Protocol (JNLP) <jnlp spec="1.0" codebase="http://example.com:9001/forms/java/"> <information> <title>Oracle Forms Services</title> <vendor>Oracle Corporation</vendor> <homepage href="http://www.oracle.com"/> <description>Oracle Forms Services applet launcher.</description> <description kind="short">Oracle Forms Applet</description> </information> <security> <all-permissions/> </security> <update check="always" policy="prompt-run"/> <resources> <java href="http://java.sun.com/products/autodl/j2se" version="1.7+"/> <javafx-runtime version="2.2+"/> <jar href=http://example.com:9001/forms/java/frmall.jar " download="eager" main="true"/> <extension href="http://example.com:9001/forms/java/extensions.jnlp" name="Extensions"/> </resources> <applet-desc name="Oracle Forms" main-class="oracle.forms.engine.Main" width="1" height="1"> <param name="width" value=“1000"/> <param name="height" value=“800"/> <param name=“background" value=“no"/> <param name=“logo" value=“companyLogo.gif"/> <param name=“guiMode" value=“1"/> <param name=“centerOnStartup" value=“TRUE"/> . http://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/jnlpFileSyntax.html Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 11 Using JWS • Call from web browser or hyperlink using either http or jnlp protocol. • Call from command line, script, shortcut, custom executable, or Builder. JNLP/JNLPS requires Java 8u92 or newer Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 12 Using HTTP/HTTPS Browser downloads and processes the jnlp file Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 13 Using JNLP/JNLPS Protocol Handler Java (JWS) downloads and processes the jnlp file (does not support SSO) Custom protocol handlers currently do not work in Chrome due to a Chrome bug. https://bugs.chromium.org/p/chromium/issues/detail?id=560809 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 14 Running JWS From Command-line JWS from command-line does not support SSO. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 15 JWS - Install App (for non-SSO only) Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 16 JWS/JNLP - More Information Java Network Launch Protocol https://docs.oracle.com/javase/tutorial/deployment/deploymentInDepth/jnlp.html http://bit.ly/2emxed8 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 17 Notifications Empower your administrator Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 18 Notifications • Causes a “SYSTEM_NOTIFICATION” event to fire in a receiving form. • Caught in WHEN-EVENT-RAISED trigger. • Administrator can cause level 1, 2, 3, 4, or 5 notification to be raised. • Can be sent to one or more runtime sessions at the same time. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 19 Notifications Limitations • Only acted upon after WHEN-EVENT-RAISED fires AND after next round-trip occurs. • Notifications are placed in event queue, so running triggers will continue. • Notifications are not treated as critical events. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 20 Notifications Possible use-cases • Alert users of a pending outage or current system issues. • Force applications to exit cleanly when users leave for the day. • Allow Administrator to enable/disable application features. • Collect session specific information. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 21 Notification Process Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 22 Notifications Code Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 23 Notifications Code Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 24 Working With Images Visually appealing Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 25 Image In Tabs SET_TAB_PAGE_PROPERTY (‘WELCOME’, ICON_NAME, ’fav_oracle.png’); SET_TAB_PAGE_PROPERTY (‘WELCOME’, ICON_NAME, ’http://example.com/fav_oracle.png’); Calling tab images from URL may throw Java security warning(s), therefore URL is not recommended. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 26 Images In Buttons SET_ITEM_PROPERTY (‘BUTTON1’, ICON_NAME, ’exit.png’); SET_ITEM_PROPERTY (‘BUTTON1’, ICON_NAME, ’http://example.com/exit.png’); Calling button images from URL may throw Java security warning(s), therefore URL is not recommended. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 27 Images In Image Items READ_IMAGE_FILE (‘C:\foo.gif’, ‘GIF’, ‘block.imageItem’; CLIENT_IMAGE.READ_IMAGE_FILE (‘C:\foo.gif’, ‘GIF’, ‘block.imageItem’; READ_IMAGE_FILE (‘foo.gif’, ‘URL’, ‘block.imageItem’; READ_IMAGE_FILE (‘C:\foo.gif’, ‘GIF’, ‘block.imageItem’; READ_IMAGE_FILE (‘http://example.com/foo.gif’, ‘URL’, ‘block.imageItem’; CLIENT_IMAGE.READ_IMAGE_FILE (‘C:\foo.gif’, ‘GIF’, ‘block.imageItem’; Images read from URL cannot be stored to database. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 28 Images Are Buttons Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 29 Tips For Using Images In Your Application • Whenever possible, store images in a signed jar file. • Sign jar file with trusted and known (e.g. Verisign, Thawte, etc) certificate. • Do not package extra, unused content in jars. • Use unique names for jars. (e.g. salesImages.jar, hrMedia.jar) • Ensure image file size is as small as possible. • Properly size images. • Consider how image will be used. Don’t deliver a high res image

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    42 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us