Namespace resolution with applets

We have a situation where two browser-based applications running concurrently on a machine employ applets that make use of certain Weblogic libraries.
The catch is that the applications run off different versions of the Weblogic Application server(6.1 and 8.1), so that application A requires version x of a specific library whereas application B requires version y of the same library.
Will this lead to class conflicts when these two web applications are run simultaneously on the same machine?
There are two alternatives available to us -
1. download the libraries with the applets
2. place the libraries in the local classpath.
I guess alternative 1 may work without class conflicts. If we pursue alternative 2, is there anyway to specify an applet-specific classpath so that each applet picks up the its appropriate version of the library?
Any insight would be much appreciated.

We have a situation where two browser-based applications running concurrently on a machine employ applets that make use of certain Weblogic libraries.
The catch is that the applications run off different versions of the Weblogic Application server(6.1 and 8.1), so that application A requires version x of a specific library whereas application B requires version y of the same library.
Will this lead to class conflicts when these two web applications are run simultaneously on the same machine?
There are two alternatives available to us -
1. download the libraries with the applets
2. place the libraries in the local classpath.
I guess alternative 1 may work without class conflicts. If we pursue alternative 2, is there anyway to specify an applet-specific classpath so that each applet picks up the its appropriate version of the library?
Any insight would be much appreciated.

Similar Messages

  • Transferring files from users mashines on the server. Uploading with applet

    I'm trying to create applet that would do uploading of user file on the server.
    I'm woundering, Is there any ways to use java applet to open a file on user mashine into a stream and transfer it thought socket into
    server? Is there any good solution that do uploading with java applet? (I can't use CGI or PHP)
    I just noticed that applets don't support FileInputStream. How could I in general get information from user file?
    Ok. Thanks for ideas that you gave me. But there are useless. All that I can use is only HTTP. Unfortunately no FTP, no Web Start application.
    looking for help

    well, i don't work a lot with applets because of their inherent limitations. but my guess would be that you have to somehow use a signed applet. of course that doesn't help with the FileInputStream problem you are talking about.
    if i were going to do it and i couldn't use FTP, i'd write a WebStart app that calls servlets (sending it byte arrays) and the servlets will construct the files on the server...
    i have no clue how you are going to do what you want...

  • I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto

    I have an imac 27 inch O SX 10.6.8. using iphoto 11 Version 9.1.5. I have scanned some photos at very high resolution with each photo being about 45MB. They're saved to desktop. How can I reduce the size of the scanned photo's they are crashing iphoto.

    What format are they? Tiif? Jpeg? You can compress them with a lot of apps - including Preivew and just about any graphics editor out there. I'm not sure that 45mb would crash iPhoto thogh, are yo sure that's the cause? I know that some folks have mentioned pixel dimensions causing issues, as can color profiles.
    Regards
    TD

  • A new webcam with applets  problems

    hi
    I have some doubt abot webcam with applets
    here are my questions......
    1. There is client(s) and server systems.....
    webcam is connected to clientside and image from webcam should be captured from
    client(s) and to be sent to server ,through web only. Is there are any possibilities to do this
    thing without applets..?
    if so please tell me abt that..
    2. with applets is there any methods to access client webcam without using signed aplets and
    certificating (IE such as setting browser are some settings allow all applets in client machine .etc)
    3. i heard about we can have our own signature and certificates (without aproved by any CA)
    is it possible if so how can we achive that..?
    Im a student doing my projects,I have gone through several applets and webcam related JMF forums but all are old dated and may be new technologies arrived and I couldnot able make clear my doubts comfortably...
    sorry for rising old topic but
    it wold be gracefull if anybody clear my doubts please kindly give me the ans.
    thanks in advance

    Hi
    Let me take a crack at this, :)
    1) No
    2)Anything that is required to access anything of a clients computer, i.e com ports,files and resources needs a signed applet.
    3)http://java.sun.com/developer/technicalArticles/Security/Signed/
    And yes you have to work with
    http://java.sun.com/products/java-media/jmf/
    in order to capture images
    HTH
    :)

  • Problems with applets.

    Hi to everybody.
    I've got a problem with simple applets.
    I've built several applets using Swing components (JApplet, JPanel, JButton, etc.)
    In my browser, the background color of my applets does correctly appear.
    But none of my components does !!!! No text fields, no buttons etc.
    Can someone explain to me which could be the reason of that ?
    Thank's.

    I've just tried appletviewer. And I discovered that there is a problem while trying to acces to a jpeg file for my JBuutons and JLabel.
    Appletviewer considers these files are on the client machine and refuses the acces.
    But when I try my site, the server is my computer too ! So the jpegs are on the server side !
    Furthermore, when I start my web page (that contains my applets), nothing does appear (no exception) in the java console...
    How can I solve this problem (I'm newer with applets)?

  • How to include ojdbc.jar with applet in apex

    Hi,
    I am integrating applet with apex. I need to use ojdbc.jar to connect to Database. How can i include this jar. I tried uploading it as a static file. But i am not sure how to embed it with applet code in region source of a page. I am using following code to embed the applet.
    <applet code="TestApplet.class" archive="#APP_IMAGES#Test.jar" width="500" height="500">
    </applet>
    Please suggest how to include the ojdbc.jar.
    Regards,
    Shweta

    Thank you all for help, from your posts I was able to get the datepicker working with a different version of jQuery (but not jQueryUI) included on the page. There are two methods:
    1. Include the new library before #HEAD# and change the reference to a different variable, for example:
    <script src="jquery-1.6.4.min.js" type="text/javascript"></script>
    <script type="text/javascript">
      var jq164 = jQuery;
    </script>
    #HEAD#2. Include the new library after #HEAD# and enable noConflict() mode, for example:
    #HEAD#
    <script src="jquery-1.6.4.min.js" type="text/javascript"></script>
    <script type="text/javascript">
      var jq164 = jQuery.noConflict(true);
    </script>In both examples above, $, jQuery and apex.jQuery point to apex jQuery, while jq164 points to the new one.
    However, I couldn't manage to include a newer version of jQueryUI. I only found a page ([url http://stackoverflow.com/questions/6358961/using-multiple-jquery-ui-versions]http://stackoverflow.com/questions/6358961/using-multiple-jquery-ui-versions) that says you have to specify a different context for each version of jQueryUI included on the same page. I haven't yet had time to look at this, so if anyone already knows how to do it, it would be really nice to share it with us.
    Regards,
    Jure

  • Remove namespace prefix with the XMLAnonymizerBean is possible at SOAP Adap

    Hello,
    I am wondering is it possible Remove namespace prefix with the XMLAnonymizerBean at SOAP Receiver Adaptor?
    Thanks

    Hi Rajiv,
    Pl. go through this blog:
    /people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
    Also if you want to use this at sender side, SOAP adapter will not support. Please check stefans reply in this thread:
    XMLAnonymizerBean doesnt work
    Regards,
    ---Satish

  • Changing screen resolution with a button

    Hi,
    I would like to ask if there is a way for an interface to change the screen resolution of the computer? I am wanting to build an interface that loads an interactive camera that works with processing however I am needing it to be at the resolution 800*900 as the webcam screen is too small on a full 1680x1050 resolution.
    Is there a way for the flash application to change the screen resolution with a button click? Are  there any alternatives to this?
    Thank you
    Jess

    It is to display a portfolio at my design school for assessment, they will accomodate any necessary things that i may need for assessment viewing so it is very important to me.
    Do you know what programs will work with this? What program would i have to install?
    I only need to do this for my assessment so it is almost a desperate search for something that would work.

  • Saving a file with applets

    Hello my name is Lino and I'm Portuguese (sorry the bad English)
    I have a problem, I want to know how do save a .jpg file with the FileChooser and FileWriter, that is in the Server and I want to save a copy in my computer, but it must with Applets!
    Please help me
    Tanks
    LP

    Hi,
    because of security resons with applets, it is not possible to store an .jpg on your hard drive.
    Bernd

  • I/O with applets

    From what I have found, file I/O is apparently not allowed with applets; when I try it, I get this "access denied" or something error/exception.
    I would understand why that is...but is there REALLY no way to do file I/O with applets, or any way around it (maybe you can get permission somehow)?

    A sandbox security feature prevents unsigned applets from accessing your filesystem. For more information see:
    http://java.sun.com/docs/books/tutorial/security1.2/tour1/index.html
    or this forum:
    http://forum.java.sun.com/thread.jsp?thread=221840&forum=63&message=1977008

  • Security Exception with applets

    Hello,
    How do I overcome the securityexception I face with applets? My appletviewer works fine when I try to read data from a local text file. But the browser doesn't seem to. It says access to the text file is denied!!!

    Appletviewer works but only in debug, isn't it?
    If you can read file from local, you must sign you applet by jarsigner tool contributed in your JDK.
    If you have not certificate for sign, you can generate your own certificate:
    1.generate key (name of the key will be tstkey)
    keytool -genkey -keyalg rsa -alias tstkey
    2. complete data
    3. export key (will be in your current directory in file tstcert.crt)
    keytool -export -alias tstkey -file tstcert.crt
    4. make *.jar file
    jar cvf MyApp.jar
    5. check *.jar file
    jar tvf MyApp.jar
    6. sign applet
    jarsigner MyApp.jar tstkey
    7. check sign of applet
    jarsigner -verify -verbose -certs MyApp.jar
    Tha is all. At this moment is your applet signed and you can write or read local file.
    BR
    -koalix-

  • Using javaagents with applets

    Is it possible to use javaagents with applets?
    If it is, how?

    FYI... my environment is:
    Oracle9iAS (9.0.3.0.0)
    JDeveloper (9.0.3.4)

  • Use XML Digital Signature(Apache XML security) with Applet

    I have problem when I use xml-security-1_2_1 library from Apache with applet and access denied errors occur.
    6 May 2005 10:06:45 org.apache.xml.security.Init init
    SEVERE: Bad:
    java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.xml.security.resource.config read)
    bla bla....
    How should I do ? Please! T_T and thank you ..

    An applet cannot read the local file system, connect to any other computer than the one
    it came from or read properties it's not supposed to read. And I think it cannot write to any
    property.
    If you sign the applet or set up a policy for it the applet can do the same as an application
    allthough the jre will still check the stack trace if the entire stack has the same privileges
    as you signed applet.
    http://forum.java.sun.com/thread.jsp?forum=63&thread=524815
    second post and last post for the java class file

  • How to Intergrate Policy with applet

    hi my name is easan. I created an applet which reads and writes to a file but i had problems accessing the file. I solved that by granting read and write permission to the file by creating a policy. I can run the applet in the appletviewer using this line
    c:\>appletviewer -J-Djava.security.policy=<policyname> applet.html
    I would like to know hw to intergrate this policy with my applet so that i can run my applet from a browser.
    I would appreciated any help from anyone..... thank you in advance.
    Easan

    It's not possible to integrate policy file together with applet. If you want to perform these dangerous operation (read,write) from applet, you have to sign applet's jar file. And in applet's code you have to use AccessController.doPrivileged(PrivilegedAction action) for possibly unsafe parts of code.
    tina

  • How to improve image resolution with using filters

    how to improve image resolution with using filters?

    image resolution, Please check the below links. They should give you a clear idea about Resizing and resampling images.
    http://helpx.adobe.com/photoshop/kb/advanced-cropping-resizing-resampling-photoshop.html#m ain_Resizing_and_resampling_images
    Understanding Resize vs. Resample | Learn Photoshop CS6 | Adobe TV
    Cheers!
    ~ Arpit

Maybe you are looking for