Discussions
Categories
- 196.7K All Categories
- 2.2K Data
- 235 Big Data Appliance
- 1.9K Data Science
- 449.8K Databases
- 221.5K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 31 Multilingual Engine
- 549 MySQL Community Space
- 477 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3K ORDS, SODA & JSON in the Database
- 532 SQLcl
- 4K SQL Developer Data Modeler
- 186.8K SQL & PL/SQL
- 21.3K SQL Developer
- 295.4K Development
- 17 Developer Projects
- 138 Programming Languages
- 292.1K Development Tools
- 104 DevOps
- 3.1K QA/Testing
- 645.9K Java
- 28 Java Learning Subscription
- 37K Database Connectivity
- 153 Java Community Process
- 105 Java 25
- 22.1K Java APIs
- 138.1K Java Development Tools
- 165.3K Java EE (Java Enterprise Edition)
- 17 Java Essentials
- 158 Java 8 Questions
- 85.9K Java Programming
- 79 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.2K Java SE
- 13.8K Java Security
- 203 Java User Groups
- 24 JavaScript - Nashorn
- Programs
- 394 LiveLabs
- 37 Workshops
- 10.2K Software
- 6.7K Berkeley DB Family
- 3.5K JHeadstart
- 5.6K Other Languages
- 2.3K Chinese
- 170 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 230 Portuguese
Applet on Apex page

666621
Member Posts: 3
Those anyone know if I can run an applet on an Apex page? I've placed the <applet> tag in an apex html region but I keep getting the same exception(ClassNotFoundException). I don't know where to place the applet .class file.
Tagged:
Answers
-
Hi,
since Apex resides on the Data Base, why don't you try to upload your .class to the DB and then call it as a java stored procedure?
Regards,
Max A.
Edited by: Max A. on Oct 22, 2008 12:07 PM -
You can indeed use applets. In a nutshell, do the following:
1. Upload your applet's class file into Apex as a "static file". See Shared Components \ Files \ Static Files
2. In your web page, create an html region with source that includes your applet tag. For the "code" attribute, which points to the .class file, make sure to use the special prefix Apex provides for static/image content something like this: <applet ... code="#APP_IMAGES#myclass.class" ...>
If you need more than one .class file, it would probably be easier to put them all in a .jar file and upload that instead (and use the archive= applet attribute)
Let me know if these instructions help or if more detail would help you.
Cheers,
Eric
http://moonsong.org
Edited by: user10425710 on Nov 27, 2008 7:36 AM -
Max,
I think his intent here was to make this applet available to web visitors to his system, NOT to use it for behind-the-scenes processing (which is what trying to make it a stored procedure would do).
This discussion has been closed.