Calling client-side Java?

Is there a way to call a client-side java class from
ActionScript? Server-side is clearly available, but I'd like to do
some expensive processing locally.
Thanks

The Flash Player security sandbox virtually prohibits access
to any client-side resources whatsoever.
Tracy

Similar Messages

  • FRM 92091 unexpected fatalerror in client-side Java code

    Hi to all ..
    I have a Forms/Reports Application in a form I have a Java Bean that get the username of the client PC
    In the Oracle AS 10g all work fine in a Weblogic I get the error
    FRM 92091 unexpected fatalerror in client-side Java code
    and in the details of the error
    java.security.AccessControlException : access denied (java.utils.PropertyPermission user.name read)
    any Idea ????
    Thank's in advance

    Hi there
    I am having a similar problem. We have a weblogic server which runs our forms application.
    We were able to access the forms without any problem until when at one point, when we choose a different module in the form, we hit the below error
    FRM92091 : unexpected fatalerror in client-side Java code
    This is the details
    Java Exception :
    java.lang.SecurityException:class "oracle.forms.ui.DropDownEvent"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(Unknown Source)
    at java.lang.ClassLoader.preDefineClass(Unknown Source)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegationMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    After the above error, the user restarted the PC, and the problem is gone. If this was an issue with the access right to the directory, how come after restart the PC, the form was working fine. Hope to hear some feedback and thank you in advance.
    Kannan

  • NO Client side JAVA

    I need to develop a JSP that contains no client side JAVA.
    By making use of JSP Bean Actions - would this not be considered using client side Java?
    Any other adice on creating a JSP without using any client sode Java would be greatly appreciated.
    Thank you very much in advance.

    Hi
    Thats right, JSP contain Java Code or References to Java Objects which are all resolved on the server side and the output is sent to the client (browser).
    The page could contain client side java if you embed Java Applets into your JSP.
    I'm not sure if you mean that you don't want to have any "Java Code" in your JSP, such as :
    <% if()......%> etc. then you have to go for Custom Tag Libraries and Java Bean Components.
    See the links below for help on these:
    1. http://developer.java.sun.com/developer/onlineTraining/JSPIntro/contents.html
    2. http://developer.java.sun.com/developer/Books/cservletsjsp/
    Good Luck!
    Eshwar Rao
    Developer Technical Support
    Sun microsystems
    http://www.sun.com/developers/support

  • Hi am new and need help on client side java.

    Hi I am a .net developer. Dont boo lol. I am trying to find the latest on Java. I build web apps and would like to use java on the client side.
    Is there a new form of java for client side code.
    What do I need to install?
    Where are some good sites that provide tutorials for Java newbies wishing to develop web client scripts etc.
    Thanks

    Hi I am a .net developer. Dont boo lol. I am trying
    to find the latest on Java. I build web apps and
    would like to use java on the client side.
    Is there a new form of java for client side code. Web apps usually use Java Server Pages, or JSPs, on the client side.
    What do I need to install? Tomcat is a free servlet/JSP engine:
    http://jakarta.apache.org/tomcat
    Where are some good sites that provide tutorials for
    Java newbies wishing to develop web client scripts
    etc.
    ThanksBetter buy a book. I highly recommend Hans Bergsten's JSP book for O'Reilly.
    %

  • Changes in server side java file not reflecting in Client side java code?

    Hi friends,
    iam using eclipse IDE, JBoss server, SWING GUI and Oracle DB
    ( looks like : SWINGGUI (Client) <--> EJB's (serverside) <---oracle )
    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?

    my problem is , when i make change in server side bean file, that changes are not reflecting in GUI programs.
    (for ex: iam adding settr and getter for a field and using that in GUI program. but its not identifying that setter or getter).what do you mean it's not "identifying" the methods?
    you have to call those methods you know
    are you getting NoSuchMethodError?
    please tell me what should i do for every change done to server side program, that should reflect / available to GUI?you haven't posted any code or error messages that might help us debug

  • Client-Side Java Application accessing a database

    Hello Sun Forums,
    I'm developing a Java based client application which accesses a MySQL database server via JDBC.
    My question is: How can I store the password for accessing the database in a secure way on the client? I'm looking for something like the Oracle wallet. I don't know if there is a solution to this problem. Any user could do reverse engineering and extract the password out of the source code. One way hash algorithms don't work either. Any help concerning this topic is highly appreciated.
    Thanks, Yves

    YvesW wrote:
    Hello Sun Forums,
    I'm developing a Java based client application which accesses a MySQL database server via JDBC.
    My question is: How can I store the password for accessing the database in a secure way on the client? I'm looking for something like the Oracle wallet. I don't know if there is a solution to this problem. Any user could do reverse engineering and extract the password out of the source code. One way hash algorithms don't work either. Any help concerning this topic is highly appreciated.From your subsequent descriptions any 3rd party product will still not be a satisfactory solution. What you can do is to not make the DB visible by the end user and query only through request to a webserver. If you wish to adhoc type of queries, you can have a sql validation request, if your sql server supports that.
    If you cannot use a webserver interface, then throw the idea out about saving the client password, the user is just going to have to enter their password. If you are worried about entering the password and cannot use a webserver, then you don't have a project.
    Have the client call on the phone and request an extract, then send it to them on a DVD. But that can be intercepted in the mail. Even if it's encrypted, they have your data and eventually they will decrypt it.
    BTW: security is only an illusion that lets us sleep at nights, in reality, it is nothing more than a hinderance: if someone really wants to access your web connected resource, then they are going to eventually find a way to do it.

  • Java.rmi.server.codebase=file:(?????); at client side: classnotfounexceptio

    I'm trying to run an RMI application (under Windows XP, one machine for client and server) like this:
    at server side:
    java -Djava.rmi.server.codebase=file://\..\..\..\j\ -Djava.security.policy=file:.\polityka.txt sss
    - and it works fine, but at client side:
    java -Djava.security.policy=file:.\polityka.txt -Djava.rmi.server.codebase=file://\..\..\..\j\ kkk
    results in:
    Exception in thread "main" java.lang.NoClassDefFoundError: PrzykladowaKlasa
    at kkk.main(kkk.java:31)
    when I'm listing directory (at client side) got with System.getProperty("java.rmi.server.codebase") i get this
    file://\..\..\..\j\
    OdleglaKlasa_Stub.class
    PrzykladowaKlasa.class
    Folder Structure is:
    |------j\
    | |------(*_Stub.class, and ClassNeededByClient.class)
    |------2\
    | |------Server\
    | | |------(serwer files)
    | |------Klient\
    | | |------(klient files)
    I'm fresh in RMI and Codebase poperty, but with some exp with Java...
    (policy files are allright - grant {permission java.security.AllPermission;};)
    Any help will be appreciated.

    I've come back to this issue again (since I am moving code around to different systems again). Using linux I can use -Djava.rmi.server.codebase=file://$PWD/build/
    Presumably there is a similar command in WIndows.

  • Implementation Options: Server Side Object Model & Client Side Object Model

    Hi All, I'm design a custom web application and it will be deploy on SharePoint 2010/2013 (to be confirmed) server, and I found some aritical as follows:
    http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
    May I ask ask your advice for following items?
    1) Is the above URL still valid? e.g. Vice Versa for SharePoint 2013?
    2) Microsoft has a phase out plan for server side object model or not? (e.g. MOSS 202X)
    3) For programmatcally update of SharePoint permission: should I call client-side OM instead of server-side OM even I will deploy the web application to SharePoint server?
    Thank you very much.
    .NET Beginner 3.5

    In sharepoint 2013 I don't think this link is
    http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspxis reliable at all.
    what is your say?
    ====================================================
     Hi All, I'm design a custom web application and it will be deploy on SharePoint 2010/2013 (to be confirmed) server, and I found some aritical as follows:
    http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
    May I ask ask your advice for following items?
    1) Is the above URL still valid? e.g. Vice Versa for SharePoint 2013?
    2) Microsoft has a phase out plan for server side object model or not? (e.g. MOSS 202X)
    3) For programmatcally update of SharePoint permission: should I call client-side OM instead of server-side OM even I will deploy the web application to SharePoint server?
    Thank you very much.
    .NET Beginner 3.5

  • Opening a Java Window from a jsp page on the client side

    Hi all,
    Thanks in advance to all who could help me for this problem.
    I've written some jsp pages. In one of them, I open a new Java Window,
    which is a simple Java Frame. If I test this directly on the Tomcat
    server, everything works well.
    But when I call the jsp page through a web browser of a distant client
    (normal use), and when I want to see the java window, no window pops
    up. It appears that the Java Window pops up on the server, and not on
    the client side, which is what I wanted.
    Could someone tell me how to make the Java frames appear on the client
    side ? (Is it linked to the code or to the configuration of Tomcat ?)
    Thanks in advance,
    Alexis.

    JSP always run on the server. On the client you only see the results.
    But you can use applets on the client side: http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html

  • GWT javascript client side RPC Call

    Greetings, I'm currently developing a web application with Google Web
    Toolkit. Basically i need to call a RPC from GWT from the client side,
    in order to get some kind of data.
    I've been currently searching and I've found JSNI which can write
    javascript code in the java, but i can't seem to get it work the right
    way.
    Thank you in advance.

    Steve,
    Webflow is a server side technology. The only way to affect the invocation of
    webflow from the client side is to change the origin and event parameters sent
    to the webflow engine. These parameters must be passed via a request. There simply
    is no way to interact with the webflow engine without a request/response.
    OK, you may be able to hack something together using an Applet, RMI, and by using
    internal webflow APIs. But you don't want to do that; that's not really an option.
    Is there a way to call javascript methods
    from BEA's tag libs? No.
    Do I need to write my own tags and make
    references to the objects that are used for webflow?I assume you mean that you would create custom JSP tags that would invoke directly
    IPs and PCs. This would not accomplish what you want and would defeat the webflow
    architecture.
    Here is what you can do:
    1) you could create your own custom JSP taglib that would insert JavaScript into
    the HTML form along with the <input> tag. I don't know how hard this would be.
    2) you could forget about using JSP tags, and simply use a JavaScript library.
    You would need to code your HTML properly to use this technique. I did a search
    on www.google.com and found a good article on exactly how to do this:
    http://www.zdnet.com/devhead/stories/articles/0,4413,2326270,00.html
    Post back if you have more questions.
    PJL
    Steve Lewis <[email protected]> wrote:
    Okay, webflow is cool and all, but I'd like to be able to do both client-side
    and server-side validation. Server-side is taken care of with the InputProcessors,
    but there's not a way to do onSubmit or onChange using the proprietary
    webflow tags.
    Question: How do I do this? Do I need to write my own tags and make
    references to the objects that are used for webflow?
    I'd really like to be able to encapsulate all this at once.
    Maybe I just need to ask this: is there a way to call javascript methods
    from BEA's tag libs? Maybe there's a trick I don't know.
    Thanks,
    Steve Lewis
    CTI, Inc.

  • Client Side in Java...only html?

    Is the Client Side in the Java architecture only a Thin Client...i.e. an HTML Client.....or can it be a Windows Client...i.e. a non HTML thick Client...
    C++ allows one to develop apps using Windows Clients....Thick Clients..using Windows SDK, widgets etc...as well as thick logic
    Am I right in assuming that the Primary user interface in the Java world is HTML....that would necessarily mean that all apps have to be viewed with Browsers...
    regards
    steve

    Uh, no. Java programs can do (pretty much) any C++ program can do. Application servers are typically themselves built of Java, except for some OS-specific calls which they take care of via JNI. I have a thin XML-RPC server (no GUI) running my home-control system and a GUI-based client of that server running on my workstation as a stand-alone program.
    Java does provide some HTML-based implementations, such as Applets (mini-Java programs "embedded" in web-pages), JSPs and Servlets (dynamic server-side programs which communicate via HTML with browsers, just like ASP does).

  • How to call webservice using java client

    Hi,
    I am new to webservice related stuff.Can any body help me.
    How can i call the webservice using simple java programing using jdeveloper tool is very useful for me.
    Thanks
    venuj

    user10394151 wrote:
    Hi,
    I am new to webservice related stuff.Can any body help me.
    How can i call the webservice using simple java programing using jdeveloper tool is very useful for me.
    Thanks
    venujTry this simple webservice client.
    You will need apache-axis.jar in your classpath. The following client is apache axis based. A similiar client can be built also using the JAX-WS only[without apache-axis.jar].
    import org.apache.axis.client.Call;
    import org.apache.axis.client.Service;
    import javax.xml.namespace.QName;
    public class WEBSERVICE_CLIENT{
    public static void main(String [] args) {
    try {
    String endpoint ="<YOUR WS ENDPOINT>";
            Service  service = new Service();
            Call     call    = (Call) service.createCall();
            // YOU CAN SET VARIOUS PROPERTIES IN THE "CALL" OBJECT...LIKE
            // USERNAME,PASSWORD,PROPERTIES OF HTTP HEADER. SEE "CALL" OBJECT'S API FOR MORE PROPERTIES.
            call.setTargetEndpointAddress( new java.net.URL(endpoint) );
            call.setOperationName(new QName("<YOUR WS SERVICE NAMESPACE>", "<WS SERVICE TO BE INVOKED>"));
            String msg = (String) call.invoke( new Object[] { "data" } );
            System.out.println("RETURNED MESSAGE : "+msg);
          } catch (Exception e) {
            System.err.println(e.toString());
    }

  • ADF Faces + hardware device in the client side.( adf swing  or adf java fx)

    We are using adf+swing in desktop app.
    We like ADF Faces but we need interations with Hardware device in the client side: scan reader, web cam, bar code reader, finger prints reader …
    How to do that’s in the adf faces web environment ( what about with sandbox security) how to obtain in the adf faces web page in the client side de video streams.
    In the future adf will be use Java FX?
    Thanks
    Juan Carlos Llanes

    Hi,
    see sample 71 http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples
    You can use ActiveX plugins or JavaApplet to access the client system. To reach out of the sandbox, it will require a certificate
    In the future adf will be use Java FX?
    No.

  • Is XML-SQL Utility for Java run on Client Side?

    A question about the XML-SQL Utility for Java
    When a client program connect to a Oracle database (the clinet program and Oracle DB is run on two different machine. Oracle 8i is used) and use the oracle.xml.sql.query.OracleXMLQuery Class (form the XSU) to generate XML by given a SQL query. I want to know the transforation process is execute in the Clinet side or the database?
    Is there any method that i can retrieve the XML directly from the database rather then doing the transformation form the Client side?

    Set JDK_HOME to the directory where you install your JDK (Java Development Kit).
    So instance, I've install JDK1.1.8 on my
    C drive so
    set JDK_HOME=c:\jdk1.1.8;c:\jdk1.1.8\bin

  • Client Side Rich Internet Applications in Java. Do we have support for it ?

    What about the use of Java EE technologies on client-side ? The Java EE 5 specification lists different technologies: servlet, JSP, JSF, EJB, JTA, JDBC, JPA, JMS, JNDI, JavaMail, XML processing, JCA, JAAS, web services, JMX...
    Almost all of them are used on the server side. What about building applications on the client side ?
    Is Sun thinking too much hardware these days ? Why is that most of the products come out of 3rd party vendors like apache for instance ?

    There's your fundamental problem... We KNOW from bitter experience that rich client app are NOT scalable. The world simply doesn't work that way.
    Architecture starts from the foundations and works up. Computer systems achitectures start from the server and work out... We're just not out there yet dude.
    My crystal ball says that within 20 years computers will be sooooo freeken fast that "scalable" really won't be an issue any longer, except for worldwide realtime massive transaction rate systems (like VR role playing games)... so enterprise solutions will naturally migrate back towards the desktop.
    In the meantime the kids are having fun on the desktop and us "boring backend people" collect $40 million dollars in twenty minutes with rock-solid server-side solutions. Horses for courses. Watch for pitch reports.

Maybe you are looking for

  • Header in alv pop up

    Hello, i need to dislay header as well as item details in an alv pop up. I am using FM REUSE_ALV_POPUP_TO_SELECT. but I am not able to get the header information. I am able to get the item details for a particular Purchase order number. I need to dis

  • Scanner not recognized after first scan.

    I have a new IMac and a Brother MFC-7860 DW. Today I scanned an image and then went to scan another image and Photoshop 6 would not recognize the scanner. If I turn off and on the Brother or restart Photoshop it recognizes the printer. This is ridicu

  • Is it possible to  change the order of the files from the newest to the oldest ?

    is it possible to  change the order of the files from the newest to the oldest ?

  • PB will not communicatel with desktop software

    Ok, this is driving me nut!  For whatever reason, when I hook PB to usb, the desktop software fails to communicate with the PB.  The software does recognize that the PB is connected, but can not get it to recognize anything else.  I have tried dturni

  • Distributed Property

    Hello. I've just created a service object, based on a new subclass. The new subclass has distributed property set to allowed, and the other three set to disallowed. These are set about four layers further up the inheritance hierarchy, and have subcla