About clsid and more in object tag for deployment

I've found it a bit hard to get up-to-date information about the best-practice for writing applet/object/embed tags in html when deploying java applets. Anyway, I found this.
<!--[if !IE]> Firefox and others will use outer object -->
<object classid="java:com.myCompany.MyApplet.class"
        type="application/x-java-applet"
        archive="../MyApplet.jar"
        width="400" height="600">
    <param name="mayscript" value="true" />
    <param name="someParameter" value="someValue" />
    <!-- Konqueror browser needs the following param -->
    <param name="archive" value="../MyApplet.jar" />
<!--<![endif]-->
    <!-- MSIE (Microsoft Internet Explorer) will use inner object -->
    <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
            codebase="http://java.sun.com/update/1.5.0/jinstall-1_5_0-windows-i586.cab"
            width="400" height="600" >
    <param name="code" value="com.myCompany.MyApplet" />
    <param name="archive" value="../MyApplet.jar" />
    <param name="mayscript" value="true" />
    <param name="someParameter" value="someValue" />
    <strong>
        Some error message...<br />
        <a href="http://java.sun.com/products/plugin/downloads/index.html">Download!</a>
    </strong>
    </object>
<!--[if !IE]> close outer object -->
</object>
<!--<![endif]-->This code works in Firefox 2/3 and IE7 (on Vista). Would you experts here say this is an acceptable way of doing it, or do you have a better way to recommend?
But there is one thing that was really hard to find googling, and that is what should the clsid ("clsid:8AD9C840-044E-11D1-B3E9-00805F499D93") and codebase ("http://java.sun.com/update/1.5.0/jinstall-1_5_0-windows-i586.cab") be if I want the applet to run in the latest Java version? Or at least 1.6.0 instead of 1.5.0 since I compile the applet using jdk1.6.0_06.
And wouldn't www.java.com be a more user-friendly download link instead of http://java.sun.com/products/plugin/downloads/index.html? On this site it says "The above default release, 1.4, is the latest release of Java Plug-in." and links to http://java.sun.com/j2se/1.4.2/download.html, which in term says "J2SE 1.4.2 is in its Java Technology End of Life (EOL) transition period." Why couldn't Sun keep their web sites a bit more up-to-date?

>
Isn't it anybody here that wants to share...>I look at questions with Dukes, but when I open a thread and it turns out it has less than 10 dukes, I take it is 'less than imperative' to the original poster to fix the problem - so often move on to the next thread/post.
What do you think 3 Dukes indicates to someone like me? (Oh go on, guess - it'll be fun.)
>
... how you usually write your applet/object/embed tags in the html file? I'm interested in "new" development for Java 6, i.e. no legacy support for older code needed.>You might check out the deployJava.js which is described in the latest [deployment advice|https://jdk6.dev.java.net/deployment_advice.html].
If you find that answer works for you, and you appreciate the advice, the best way to show it is to raise those Dukes before assignation.

Similar Messages

  • Can anyone offer some advice i am looking to upgrade the OS system on one of my macbook pro's, currently running os10.4.11, I would like to upgrade to OS10.5? how would I go about this, and is there a cost, for what is an old operating system now?

    Can anyone offer some advice i am looking to upgrade the OS system on one of my macbook pro's, currently running os10.4.11, I would like to upgrade to OS10.5? how would I go about this, and is there a cost, for what is an old operating system now?

    Since your Mac probably came with 10.4, there is no longer a way to get 10.5 Leopard install media. IF it has the requirements, you may be able to upgrade to 10.6 Snow Leopard by buying the boxed install media at the Apple Store for $30.
    System requirements are found here: http://support.apple.com/kb/SP575
    General support can be found here: http://www.apple.com/support/snowleopard/

  • Doubt about Scan and Update Catalog Objects That Require Updates link

    Hi,
    I have a doubt about 'Scan and Update Catalog Objects That Require Updates' link in Administration,
    how can I know how many objects that required upgrading before I click this link???
    in doc.
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750
    section 17.2.4 Updating Catalog Objects
    It is said 'You can confirm the need to update by viewing the metrics in Fusion Middleware Control. In the Catalog folder, find a metric called "Reads Needing Upgrade" with description "The number of objects read that required upgrading." '
    but I don't find it . my OBIEE version :11.1.1.6.2
    conld you pleae help me ??
    thank you in advance.

    That link should be there in 6 version.
    I've verified in 11g6 version doc the same is existing
    ref: http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/prescatadmin.htm#BAJDDFFI
    BTW:
    http://docs.oracle.com/cd/E28280_01/bi.1111/e10541/prescatadmin.htm#BIESG3750is 11g7 version
    Thanks,
    http://cool-bi.com

  • Graphics2D and AffineTransform needs object-reuse for smooth animation!

    Hi,
    I'm currently working on a graphical framework for animation using Java2D but has come to a dead end. The goal of the framework is to deliver smooth animation on various platforms, but this seems impossible due to the following fact:
    I have a tree of graphical objects i render on a Graphics2D-object. Some of the objects to be rendered are transforms on the Graphics2D instead of visible objects - this way I can have transform-objects in my tree which will affect all child-objects. This is all very nice, but when doing transformations on the Graphics2D A LOT of objects are being created by the implementation of Graphics2D (SunGraphics2D). I've designed my framework to utilize object-reuse and cacheing-mechanisms to ensure no garbage collection is performed when actual animation is in progress - if gc's are performed, this results in visible pauses in the animation. Now, I would like to ask if someone knows how to get around this problem, or suggest I simply abandon Java2D?
    The details of my problem is the following:
    When doing transforms on the Graphics2D-object which is passed to every object in the tree (and hence, a lot of transformations are being done), a lot of FontInfo-objects are being created - even though I don't use any of them - it's all in the subsystem. The source in the SunGraphics2D is as follows:
    // this is called by my framework to rotate all childs in the tree
    public void rotate(double d) {
      transform.rotate(d);
      invalidateTransform(); // the evil starts here
    // this is called a lot of places in SunGraphics2D
    protected void invalidateTransform() {
      // a lot is thigs are going on in this method - cutted out...
      // before this method returns, the following takes place
      fontInfo = checkFontInfo(null, font); // now we are getting there
    // this is the method of pure evil object allocations
    public FontInfo checkFontInfo(FontInfo fontinfo, Font font1) {
      // every time this method is called, a FontInfo-object is allocated
      FontInfo fontinfo1 = new FontInfo();
      // and a lot of other objects are being created as well...
    }I have come to think, that Java2D is pretty old and should be pretty mature at this point, but now I doubt it since object-reuse is a pretty obvious way of doing optimizations.
    Has any of you experienced the same problem or maybe found a solution to doing transformations on a Graphics2D-object without a ton of objects being created?
    If you would like to have a look at the problem you can do the following:
    Make yourself a little program which is doing some transforms on a Graphics2D-object in a loop (to emulate the 25fps animation and the transform-objects in the tree). Now use your favorite memory profiler (I use JProbe Memory Profiler, free evaluation) and see for yourself - the objects which are garbage collected includes a ton of FontInfo-objects and many AffineTransform-objects.
    If I do not find any solution to this problem, I'm forced to face the fact, that Java2D is not suitable for animation-purposes - gc's during animation is no solution!
    Thank you for your time - hope to hear from you soon.
    Regards,
    // x-otic.

    I think the main point is java transform objects are to slow to use in animations. They definitly have there uses, but for fast animations you need something more optimized.
    If you assume a general graphic objects has getHeight, width, x, y, render(). You could do translations using these general properties at an abstract level, letting each graphic object implements its own way to render itself and use the properties.
    I tryed to make sense!

  • Difference between the archive and cache_archive in object tag

    hello,
    I am trying to find the difference between the archive and cache_archive for the object tag to use for applet.
    I was going through this link which discusses the applet caching :
    http://java.sun.com/javase/6/docs/technotes/guides/plugin/developer_guide/applet_caching.html
    Especially : A sticky applet is placed in a disk cache created and
    controlled by Java Plug-in which the browser cannot overwrite.How do i find what is the disk cache on my machine, and how different it is from the normal cache.
    Currently i am using the normal archive parameter in object tag, and when i go to the java plugin control panel, i see all the downloaded jars.
    But wanted to know how will it be different from using the cache_archive parameter.
    Please advise,
    Edited by: duskandawn on Jun 10, 2009 11:07 AM

    Hi Juraj!
    I feel the same too - Except the fact that SessionFacade is used to access EJBs while the VO are built as response objects (i.e. assembled) and unassembled by different web requests.
    rnats

  • Object tag for JSP

    Hi all,
    I have a JSF code which is using <af:objectMedia> tag(supplied by Oracle ADF faces) for emdeding windows media player. But now i have to implement the same in JSP.
    So, is there any JSTL tag in JSP that embed any media player?? I don't want to use html object or embed tags.
    Please help me out in this.

    Hi Galileo,
    In place of XXXX could you pls try using the following and see if it works.
    #{SessionBean1.<Session Property>} or
    #{SessionBean1.<Session Property>.value}
    I hope this helps.
    Cheers :-)

  • Is About this mac/more info/power reliable for battery capacity assessment

    Hi,
    I calibrated my brand new battery for my Alubook 15". Here are the results :
    First cycle : 4200 mah
    Second cycle : 4520 mah
    Third cycle : 4370 mah
    Fourth cycle : 4220 mah
    Fifth : 3920 mah.
    The battery was sold for 4700 mah.
    1. Does this get any sense ? would you worry about future battery performances based on this capacity decrease from the third cycle ?
    2. I have read that resetting PRAM may reset this battery power assessment to more reliable data : Any experience about this ?

    Luc --
    You raise some interesting points, at least one of which we debated (without resolution ;-)) prior to the change over to the New Discussions -- that concerned whether the batteries used by the new revision of PowerBooks were qualitatively different than the ones used by previous revisions. I don't think we came to a firm conclusion on this.
    But on two other points you raise we did at least draw some firm observations, if not flat out conclusions.
    The first has to do with the 10.4.3 update and whether it may have had power management effects for the better. I personally noticed a slight increase in my battery life since the update, which I have attributed (at least in part) to the fact that a process that runs almost all the time in the background (having, I think, something to do with the trackpad and related functions) called "kernel_task" now runs at about half the CPU usage that it used to. It used to regularly consume 7-8% of my CPU resources. Now, when I check in Activity Monitor, "kernel_task" regularly consumes about 2.5-3.5%.
    The second relates to the new PowerBook revisions, their greater stated battery life and any hardware changes made in them that may be responsible therefor. Here, I remember reading in several places on these Boards and elsewhere that the type of RAM used by the new PowerBook revisions, i.e., PC2-4200 DDR2 SDRAM (running at 333 MHz), while it may not necessarily be faster than the type of RAM used in the previous PB revisions (PC-2700 DDR SDRAM) (since both types of RAM are running at the same 333 MHz in each model), the DDR2 RAM used in the new revision PBs does consume significantly less power to run. Therefore, it seems to have heavily contributed to the new revision PB's claim to longer battery life. Indeed, I've read that since both RAM types run at the same speed in the PB, it was precisely because of the low power consumption signature of the DDR2 RAM that was the reason it was chosen for the new revision PBs.
    Well, good luck testing out your new PB and it's battery. Let us know how it all turns out and, of course, feel free to post back if we can be of any further assistance.
    Bonne chance! A bientôt.
    Oh, by the way, as for battery capacity and degradation over time and with use, you might find my own statistics to be of interest. I've run off battery power quite extensively since I got my PB in March of this year, and, after 164 complete cycles in about 9 months of use (including may times where the battery was completely drained), my original stated capacity of 4400 mAh has only decreased to 4228 mAh (using the same Apple battery that came with my PB when I first got it). I think that's pretty decent from what I've heard and seen with others.
    Later.
    -- JDee

  • New to Arch(64), with a few questions about Xorg and more

    Hello and Happy New Year everyone,
    I'm a user that has just recently decided to try and switch to Linux as the main OS for all things that don't concern gaming. I've been using the "server side" of Linux at work for a couple years now, but when it comes to its desktop part I consider myself not fully competent yet. Under recommendation of a friend I decided to give Arch a shot, and I can say that it really suits my philosophy on how an OS should be like.
    I have a few issues I'm currently struggling with that I couldn't seem to solve by looking on my own: as they are mostly minor and shortly described, I thought about packing them up in one single thread to avoid making too many. I've used i686 as testing grounds and am now using x86_64, but most of my problems apply to both.
    Here's my hardware, for reference:
    - Intel E8400 CPU (3GHz, dual core)
    - Asus P5Q-E motherboard
    - 2 GB DDR2 800 RAM.
    - nVidia 8800GT video card with 512MB memory
    - Samsung SyncMaster 713BM flat panel, connected via DVI cable
    - Creative SBLive! 5.1 OEM card (dug up for the occasion since it has hardware mixing)
    I'm using the latest Xorg from the repos, nvidia proprietary drivers, ALSA, Xfce4 + compiz-fusion, and SLIM as my login manager.
    And here are my headaches:
    - (32/64) A similar issue to the one I just mentioned: compiz-fusion doesn't seem to stick around as my window manager, even though I manually set it as per Method 2 from this wiki page. Although it did work for a while, after some time (perhaps after installing some package? but I didn't really install anything X related) it simply stopped working. To get my windows, I have to manually run fusion-icon after login.
    - (32/64) I'm using MPlayer with libass to watch my favourite anime, but sometimes MPlayer freezes up, forcing me to xkill it. Disabling ASS embedded subs yields error message 11, something about unsufficient resources. Disabling subs entirely prevents MPlayer from crashing. Oh, the errors only happen on specific points of certain videos, and all the videos work just fine under WinXP with MPC or VLC.
    - (32/64) Why do anti-aliased fonts under Linux still look so bad, even though I installed the appropriate packages suggested in the wiki? I don't mind disabling anti-aliasing entirely and just using Verdana, but is there some trick to it besides setting sub-pixel hinting under rclick->settings->user interface?
    - (32/64) My SBLive might be 5.1, but I'm only using the front connector as I use either two stereo speakers or headphones all the time. But the volume setting in applications (such as MPlayer) seems to affect the PCM meter of ALSA's mixer, putting it over 0 dB gain and generating sound distortion.
    - (64/don't know if 32 too) Why does Compiz's framerate drop so badly when I push alt-tab? I'm using the default application shifter, hardware acceleration, and there should be no reason why the framerate should drop like that (expecially considering that wobbly windows or cube rotating don't affect my performance at all). I've read around the net about very similar occourances with the task switcher, but I've found no real solution.
    - [SOLVED] (32/64) The first obstacle I came across was that I couldn't set my screen refresh any higher than 60Hz when I actually wanted 75Hz: I solved this by setting the vertical refresh to 76.0-76.0 in xorg.conf. However, for some reason this setting doesn't stick on reboot: I have to log in and manually run rclick->System->NVIDIA X Server Settings for it to apply.
    - [SOLVED] (64 only) The 32 version of Xorg was fine, but for some reason I'm not getting the correct keyset (Italian) under X, while everything works in vc. I think I read something about disabling a module called "keydev", but is this really the way to go?
    - [SOLVED] (64 only) Although I can hear sound in just about every application, the 64 bit version of Pidgin doesn't "ring" on received messages even though the associated option is enabled.
    I kindly thank you in advance for your assistance: I will provide any configuration files that might be needed to help me out
    Last edited by Akaraxle (2009-01-03 21:25:43)

    xisal wrote:
    Take a look into /etc/hal/fdi/policy/10-keymap.fdi. This works with portuguese layout:
    <snip>
    The file did not exist, so I created it and changed "pt" to "it". Thanks a bunch, that fixed it!
    Try SMPlayer.
    Ah, I'd rather not involve Qt. Besides, isn't SMPlayer simply a frontend to Mplayer (who already has GMplayer integrated into it, IIRC)?
    Mikko777 wrote:
    Why would you want to use 75Hz with lcd display?
    Does it make a difference?
    On my monitor, from my point of view, it appears to make a difference. It's that simple
    azleifel wrote:In gmplayer Preferences -> Audio -> (assuming alsa selected) -> Configure driver and change the mixer channel to something other than PCM, e.g. Master.
    For all the three combos, I have "driver default" selected. The other option is "default"; I tried to manually type "Master" into the mixer channel field, but then gmplayer's windows and my Xfce taskbar started blinking, so I knew I had just "crossed streams".
    Regarding NVIDIA X Server Settings, running "usr/bin/nvidia-settings --load-config-only" at login is the only way to apply the settings "automatically".
    I've slapped that on my ~/.xinitrc before "exec startxfce4". Thanks in advance, going to test it now!
    About the refresh and non-decorated windows issues (which *appears* to be solved after I've wiped the xfce-session cache), I've been thinking: could they somehow be related the login manager I've chosen, SLIM?
    P.S. New question: is there any way to enable the ALT+num126 for ~ keyboard behaviour I'm used to under M$ environments?
    Last edited by Akaraxle (2009-01-03 09:43:02)

  • Question about declare and create an object

    There are 2 classes and one is subclass of another like below:
    class A { }
    class B extends A {
    1. A x = new B();  // x is a *reference variable* of class A and it points to( refer to) an *object* of class B
    2. B x = new A();  // x is a *reference variable* of class B and it points to( refer to) an *object* of class A
    }       The first one is correct one but the second. I do not have a good explanation for that. The only thing I just know is just because B extends A. Im not convinced myself. Pls help, thanks
    Edited by: newbie on Oct 25, 2010 11:03 PM
    Edited by: newbie on Oct 25, 2010 11:26 PM

    newbie wrote:
    There are 2 classes and one is subclass of another like below:
    class A { }
    class B extends A {
    1. A x = new B();  // x is a *reference variable* of class A and it points to( refer to) an *object* of class B
    2. B x = new A();  // x is a *reference variable* of class B and it points to( refer to) an *object* of class A
    }       The first one is correct one but the second. I do not have a good explanation for that. The only thing I just know is just because B extends A. Im not convinced myself. Pls help, thanksB extends A means that every B is-an A. That's part of what inheritance means. The main part, IMHO. When you do new B(), you are creating a B object. That B is also an A. Therefore, it is legal to refer to it with a reference variable of type A.
    A a; // this says that variable "a" must point to an A object.
    a = new B(); // this is legal because every B is an A, so, by pointing to a B object, it is in fact pointing to an AHowever, not all A objects are also B objects
    B b; // this says that varaible "b" must point to a B object
    b = new A(); // That A is NOT a B object.If you say "hand me a fruit", and someone hands you a pear, and apple, or a banana, he has handed you a fruit.
    But if you say "hand me a banana", not just any fruit will do.
    Edited by: jverd on Oct 26, 2010 9:55 AM

  • Add advanced action to submit button and setting different objectives score for the same course

    Hi, i would like to increase a counter in a quiz slide when the user press the submit button, using advanced actions.
    It's like if the submit button is somehow inhibited from certain options, and i cannot find how to add an advanced action to it.
    what i need, is to allow unlimited attempt until the user selects the right answer. each time the user click on submit, a counter increases by one. When user finally select the right answer, we read the counter value and assign a different score, depending on the attempt (for example: 1st attempt=20 points, 2nd attempt=10 points, 3rd attempt=0 points)
    After that, i need to save all score obtained for a certain group of quiz slide separately from the "main score" (i think the main score is stored in cmi.objectives.0.score)  to have partials scores for a course. I examined the "advanced interactions" panel and i noticed that for each quiz slide there is a specific interaction ID and each quiz slide is associated typically to the same Objective ID. What i need is to associate different groups of slides to different Objective ID's.
    In Storyline i was able to do this by passing to the lms a cmi.objectives.n.score (where "n" is the place in the objectives array) and i did it by executing a javascript on success for each question slide. (each javascript added the score of previous slides in the same group to obtain the total score of the group to be passed to lms with a specific function).
    examining captivate scorm functions in the published scormdriver.js i found the following function
    function SCORM_SetObjectiveScore(strObjectiveID,intScore,intMaxScore,intMinScore)
    so i think it can be done the same way in captivate executing javascript in the right way.
    Is there also an easier solution to write different scores to different obectives in the same course?
    many thanks for any help!

    Have a look at:
    Question Question Slides in Captivate - Captivate blog
    Question Question Slides - Part 2 - Captivate blog
    Indeed, Submit button is part of the Question slide, not a normal button. You can add a custom shape button, but it will never replace what happens when the Submit button is clicked: validation of the answer, showing captions, adding to score etc. Making the score depending on the attempt is not possible with default functionality, it is possible with custom question slides, but then the reporting to LMS is another issue. You should try to do it by JS, or if you only need SWF-output you could use the Master widget by InfoSemantics.
    Link score to attempts in Custom questions - Captivate blog
    Lilybiri

  • Smart paging Question , What happen if i don't enable smart paging and available Memory is about 1GB and the VM need 3GB for Booting ?

    Hi ,
    I configure a dynamic memory With 512 MB for a VM , and available memory 1GB
    what happen when I boot the VM , While it actually need 3GB for booting - Note I don't configure Smart Paging ?
    Thanks.

    You won't be able to boot at all.
    pagefile and dynamic memory only comes into play when you don't have enough memory on the host, to support the 'startup RAM' on the VM, and when the VM does a
    reboot.
    -kn
    Kristian (Virtualization and some coffee: http://kristiannese.blogspot.com )

  • Question about kicker and best keying greenscreen techniques for removing small artifacts

    Hi,
    At the moment I'm doing some green screen shootings.
    The only problem I encounter is the fact that when I make a total shot from a actor the backlighting stand is visible between their legs.
    I have no possibility to hang the backlighting above the actors.
    What is the best technique to remove such small artifacts?!
    Thanks! David

    It sounds like a simple mask drawn around the stand will do the trick. A screenshot would help but from your description I'd just use the pen tool to draw around the offending object then set the mask mode to subtract. If the actors move you'll have to animate the mask position. The only critical part of the mask would be right next to the actors legs. You can leave lots of room around the object.

  • RDC and Crystal 11.5 license for deployment

    Post Author: Matt_au
    CA Forum: Deployment
    Hi,
    Advised my boss that i would be able to embed the designer into a vs2005 win form and use the wizard to create reports.
    runs fine on the local dev machine.
    it displays a message "This system does not have a valid license, or the evaluation copy of the license has expired. Please contact Business Objects to obtain a Report Design Control License." on a test virtual machine when the wizard has completed after launching the "
    Application.RunReportWizard(NewReport,Nothing)
    I deployed a setup with the following modules in it.
    CrystalReports11_5_NET_2005.msn, CrystalReports11_5_RDC_DesignTime.msn, CrystalReports11_5_RCR_License.msn,
    CrystalReports11_5_RCR_Reportengine.msn, CrystalReports11_5_RCR_Runtime.msn
    with our keycode entered where required.
    My boss just purchased a dev license for the crystal 11.5 product. But has left interstate so i cant get registration help .
    Any help would be usefull, can i somehow check the registry of the client machine if it has accepted the product key?
    do i need a different license to use the RDC?
    really need a hand with this, getting very frustrated
    thanks in advance

    Post Author: Matt_au
    CA Forum: Deployment
    Hope to get this working, will never again try integrate crystal into a software product.
    support and product no different to the crystal 7 days, waste of time

  • Applet tag and Object tag.

    Hi All,
    My application is hanging which is using Applet.I have specied in IE settings to use Sun's JVM[plug in].Applet tag is now depricated they [W3c] recommend to use Object tag for IE.Is my problem somewhere related to this?what difference does it make.?Please help me its very urgent.
    Cheers:
    Akash.

    Currently the applet is running through Applet tag.my application is using As400 emulator tn5250j which i am showing through Applet.The second frame is showing images. After entering data in As400 screen i am submitting data through submit button which is on second frame.but after submitting applet screen got hung.dont know the reason code seems to be fine.no memory leakages.
    thx for reply.

  • I had about $4 and i paid 99c for money in a game but it never gave it to me but still took money from me oh and it said try (null)?

    i had about $4 and i paid 99c twise for money in a game but it never gave it to me but still took money from my account oh and it said try (null) when i tryed to by money from the game again and it took money that time to.is it any way to get my money back or get the stuff i paid for?

    Are you sure it took your money? If you log into your account in iTunes on a computer does it show in your Purchase History?
    If yes the contact iTunes:
    How to Get a Refund from the App Store

Maybe you are looking for