[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-700982-105":59,"doc-detail-700982-en":130,"doc-similar-700982":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","java-scripting-programmers-guide-release-11","Java Scripting Programmer's Guide - Release 11","","Overview of Java scripting capabilities in Java Platform, Standard Edition (Java SE), aimed at Java application programmers who want to execute code written in scripting languages. Explains how to embed and use the Java Scripting API, provides JavaScript package and API usage guidance, and includes practical examples via Java classes. Covers integrating Java from scripts, including importing packages/classes, working with arrays and interfaces, extending classes, method access, overload selection, and data type mapping including JSON objects.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/java-scripting-programmers-guide-release-11/700982/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/java-scripting-programmers-guide-release-11/700982.png","ImageObject",300,407,{"name":92,"@type":93},"The weather in my hometown","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-25","2026-11-12",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"Who is the guide intended for?","Question",{"text":112,"@type":113},"It targets Java application programmers who want to execute code written in scripting languages and assumes familiarity with Java and the ECMAScript (JavaScript) language standard.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What does the guide cover under the Java Scripting API?",{"text":117,"@type":113},"It explains how to use the Java Scripting API to embed scripts, including the JavaScript package and examples that show how to work with Java classes.",{"name":119,"@type":110,"acceptedAnswer":120},"How does the guide describe using Java from scripts?",{"text":121,"@type":113},"It covers importing packages and classes, accessing methods (including superclass methods), binding implementations, selecting method overload variants, mapping data types, and passing JSON objects to Java.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},700982,1794522624,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},1374408744247,"https://ap-avatar.wpscdn.com/avatar/14001251d37d565ec6f?x-image-process=image/resize,m_fixed,w_180,h_180&k=1790672120290115972","Java Platform, Standard Edition  \nJava Scripting Programmer's Guide  \nRelease 11 E94834-03 October 2020  \nJava Platform, Standard Edition Java Scripting Programmer's Guide, Release 11 E94834-03  \nCopyright © 2015, 2020, Oracle and/or its affiliates.  \nThis software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.  \nThe information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.  \nIf this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable:  \nU.S. GOVERNMENT END USERS: Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs) and Oracle computer documentation or other Oracle data delivered to or accessed by U.S. Government end users are \"commercial computer software\" or \"commercial computer software documentation\" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, reproduction, duplication, release, display, disclosure, modification, preparation of derivative works, and/or adaptation of i) Oracle programs (including any operating system, integrated software, any programs embedded, installed or activated on delivered hardware, and modifications of such programs), ii) Oracle computer documentation and/or iii) other Oracle data, is subject to the rights and limitations specified in the license contained in the applicable contract. The terms governing the U.S. Government’s use of Oracle cloud services are defined by the applicable contract for such services. No other rights are granted to the U.S. Government.  \nThis software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.  \nOracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.  \nIntel and Intel Inside are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Epyc, and the AMD logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.  \nThis software or hardware and documentation may provide access to or information about content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services, except as set for","cbCaikqP0Om5fwPW","https://ap.wps.com/l/cbCaikqP0Om5fwPW","pdf",247358,22,"English","# Preface\n## Audience\n## Documentation Accessibility\n## Related Documents\n# 1 Scripting Languages and Java\n# 2 The Java Scripting API\n## The JavaScript Package\n## How to Use the Java Scripting API to Embed Scripts\n## Java Scripting API Examples with Java Classes\n# 3 Using Java from Scripts\n## Accessing Java Classes\n## Importing Java Packages and Classes\n## Using Java Arrays\n## Implementing Java Interfaces\n## Extending Abstract Java Classes\n## Extending Concrete Java Classes\n## Accessing Methods of a Superclass\n## Binding Implementations to Classes\n## Selecting Method Overload Variant\n## Mapping Data Types\n## Passing JSON Objects to Java","[{\"question\":\"Who is the guide intended for?\",\"answer\":\"It targets Java application programmers who want to execute code written in scripting languages and assumes familiarity with Java and the ECMAScript (JavaScript) language standard.\"},{\"question\":\"What does the guide cover under the Java Scripting API?\",\"answer\":\"It explains how to use the Java Scripting API to embed scripts, including the JavaScript package and examples that show how to work with Java classes.\"},{\"question\":\"How does the guide describe using Java from scripts?\",\"answer\":\"It covers importing packages and classes, accessing methods (including superclass methods), binding implementations, selecting method overload variants, mapping data types, and passing JSON objects to Java.\"}]","Java Scripting Programmer's Guide - Release 11 | PDF",55,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/9498c9bbe2ae7b6fd792cb383bcb0fe2.webp",983,1272,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/43f73ec66385b1229ad1f94d806f99e1.webp",982,1270,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/fa851f3d2c3007b7f8892fe3c1c10af9.webp",981,1269,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-12/54977feafe713940f5dfe91a8ce43cbf.webp",980,1268,{"list":163,"token":66},[164,170,177,183,189,195,202,208,214,221],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":19,"category_name":30,"create_tm":169},685683,"JSON - Quick Guide - Overview - Syntax - Datatypes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229999686685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=7kD1W1l6iqTOu%2FUWPS5hxUQC7uA%3D","json-quick-guide-overview-syntax-datatypes",1794016574,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":30,"create_tm":176},344993,"XML TO PDF Conversion - Blog tutorial - Step-by-step","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910870391/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=UAHUpG1TplZmebFPymWuJW6%2B4M4%3D","xml-to-pdf-conversion-blog-tutorial-step-by-step",14,1790056121,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":34,"category_name":30,"create_tm":182},687848,"AutomationInterface Configurator - DaVinci Configurator Development Documentation - Release Version Alignment 6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000651021/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=f744dEuXKttk8zsNHm6tNvmPYBo%3D","automationinterface-configurator-davinci-configurator-development-documentation-release-version-alignment-6",1794085232,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":8,"category_name":30,"create_tm":188},759797,"Node.js Tutorial - Learn the Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485000/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=Ysugw1a3C41kt64izXkjGd%2F8x%2Bo%3D","nodejs-tutorial-learn-the-basics",1795895077,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":14,"category_name":30,"create_tm":194},732894,"Using App Volumes API - REST APIs Programming Guide - Version Omnissa App Volumes-2212","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031780648/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=n9jPen660Zw4LwFe3kBYW2WjWWk%3D","using-app-volumes-api-rest-apis-programming-guide-version-omnissa-app-volumes-2212",1795382760,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":200,"category_name":30,"create_tm":201},423011,"Can Application Programming Interfaces Be Protected Under Copyright Law? - U.S. Supreme Court to Decide Whether APIs Are Copyright Protectible","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922611450/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=n0dMImyNeLK2UGYeeUL9s5CbGvc%3D","can-application-programming-interfaces-be-protected-under-copyright-law-us-supreme-court-to-decide-whether-apis-are-copyright-protectible",11,1790629747,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":8,"category_name":30,"create_tm":207},759792,"npm-filter - Automating the mining of dynamic information","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044222054/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=WscS%2FydGs81KeBdwSOjMWrSgK70%3D","npm-filter-automating-the-mining-of-dynamic-information",1795895068,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":29,"category_name":30,"create_tm":213},670910,"Fourth AP Edition - Object-Oriented Programming and Data Structures - Preface xiii","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988353200/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=B018wv5oBMmNzvX2t7hskvAmrHU%3D","fourth-ap-edition-object-oriented-programming-and-data-structures-preface-xiii",1793572671,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":219,"category_name":30,"create_tm":220},181279,"Beginning JavaScript - 5th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229877629328/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=rfYsZvGsJdb%2FCWRXi%2B0%2F167JEpE%3D","beginning-javascript-5th-edition",15,1788344074,{"doc_id":222,"doc_title":223,"file_type":137,"home_preview_img_url":224,"slug":225,"view_count":46,"category_name":30,"create_tm":226},347081,"Java - Programming - Ninth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910997878/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110859&Signature=MStT2Tcql5OUbvAFxSpk1xhR2u0%3D","java-programming-ninth-edition",1790065180]