Different java versions in same project

Hi
Has anyone used 2 different versions of java in same
J2EE project.
I have a web project where i have a Applet which
displays data in graphs etc, this applet uses applet -
servlet communication to connect to database,
What i want to try to do is develop all the servlets
and code running on application server using
J2SDK1.4.2 and the applet using J2sdk1.5 (5.0).
I cannot use java 1.5 for server side as i am using
app server which does not support it, but i want to
use java 1.5 to get latest abilities in Swing.
I see a potential problem with class compiled in
different versions,
I populate data in java class and send this class to
applet which reads data from these classes and do the
plotting
Any suggestions
Ashish

How are the applets and servlets to communicate? If they use html/xhtml, etc, there should be no problem. If you're serializing objects, then yes, there is a potential for a problem.

Similar Messages

  • How to Launch an Integration Builder under two different java versions

    How to Launch an Integration Builder under two different java versions     1
    1. Situation     2
    2. How To Do     2
    2.1 jre preparation     2
    2.2 Put them into the system     2
    2.3 Execute a Java Web Start under jre 1.4.x version     3
    2.4 Change Java Runtime Versions     3
    2.5 Launch an Integration Builder     6
    1. Situation
    OS: windows 2000 pro – English
    Java version: jdk 1.5.x was already installed. (It’s not permitted to change.)
    I don’t have any authorization to install any software on the PC.
    But I need to use an Integration Builder.
    I already knew URLs of an Integration Builder (http://<hostname>:50000/rep/start/repository.jnlp).
    2. How To Do
    At this moment, an Integration Builder (XI 3.0) can be launch under jre 1.4.x environment (on windows).
    2.1 jre preparation
    I download j2re-1_4_2_10-windows-i586-p.exe from http://java.sun.com/j2se/1.4.2/download.html
    I installed it on my home PC and copied all files from C:\Program Files\Java\ j2re1.4.2_10\ into my USB.
    2.2 Put them into the system
    I pasted j2re1.4.2_10 folder from my USB into the windows 2000 pro system.
    Finally, I could list up all of javaws.exe under this system.
    c:\j2re1.4.2_10\javaws\javaws.exe
    c:\Program Files\Java\jdk1.5.0_05\bin\javaws.exe
    c:\Program Files\Java\jdk1.5.0_05\jre\bin\javaws.exe
    c:\Program Files\Java\jre1.5.0_05\bin\javaws.exe
    2.3 Execute a Java Web Start under jre 1.4.x version
    I executed c:\j2re1.4.2_10\javaws\javaws.exe .
    2.4 Change Java Runtime Versions
    Go to File-> Preferences -> Java
    As you can see, it indicates 1.5 version.
    Click [FIND] button.
    Click [NEXT] button.
    Click the j2re1.4.2_10 folder.
    Click [NEXT] button.
    A JRE Finder is able to find javaw.exe automatically. Or you can indicate C:\j2re1.4.2_10\bin\javaw.exe directly.
    Click [NEXT] button.
    Finally, there are two Java Runtime Versions. Now you need to uncheck the Enabled column of 1.5 version and check 1.4 version.
    Click [OK] button.
    Well, in the General tab, I selected None for Proxies.
    2.5 Launch an Integration Builder
    In the Location field, I typed the URL of an Integration Builder jnlp.
    http://<hostname>:50000/rep/start/repository.jnlp
    SAP Integration Builder comes up inside Applications area.
    Select it and click [Start] button.
    If you click Environment-> Integration Builder (Configuration), you can launch Integration Builder: Configuration.
    [PDF file location] with screenshots
    http://SDN.mobilian.org/SDN/How2LaunchIB.rar
    ===================Advertisement==========================
    How do you search SDN?
    What about [<b>SDN Search Widget</b>]?
    SDN Search Widget
    =========================================================

    I am not getting anywhere with deploying my application or
    applet.
    I have set up my bc4j project. It contains all my VO info,
    links, application module. (proj a)
    I then have another project with DbInfo in it(has all my rowset
    info), Multiple Frames, and my Applet.java file.
    Actually I have an Applet.java file and a Application.java file
    because I was seeing if both/either worked. Anyway they seem the
    same, except for that extra window that comes up when you run the
    applet.
    I follow the steps in the oracle directions (from earlier post).
    And all seems ok. But at ---->
    [*] Select the subdirectory under myhtml where your applet's HTML
    file
    is located, and enter the directory path of the 'staging'
    directory you
    created in step 3 above, if different from the default.</li>
    [*]Select the HTML files that JDeveloper created to run your
    applet.</li>
    [*]Select all of the Java source files in your project that make
    up the
    applet.</li>
    I have no HTML file associated with my applet, at least that I
    know of.
    So do I need to create one, or should it of been done
    automatically.
    Also, I trying to figure out what will be the best way to deploy
    my project. Applet or stand alone application is what my first
    choices have been so far. I have read that there is some issues
    with applets being served from a different server than the
    database. So a stand alone application was my front runner, but
    I haven't gotten either way to work yet.

  • Can two users work on different files of the same project?

    Sorry if this has been asked already...but can two users work
    on different files of the same project? How would that work? Would
    it work something like this?
    1. From RoboHelp 7, user A checks out the entire project.
    2. User A checks in the files they are not working with.
    3. User B checks out the project but can only 'edit' the
    files that have been checked in by user A.
    Is this how the source control works?

    That's the basic idea. User A doesn't actually have to check
    out the whole project, though. RSC will selectively check out only
    the files that are actually getting changed. Both writers will have
    a complete copy of the project on their local machines, but the
    files are read-only until they are literally checked out, which is
    on an as-needed basis unless the writer explicitly checks them out.
    G

  • I would like to import two different cf cards from two different cameras into the same project/folder and have them be in order of the times they were taken, is there a trick?

    I would like to import two different cf cards from two different cameras into the same project/folder and have them be in the order of the times they were taken, any ideas on how to do this?

    Just import them normally and sort the project by date. They will fall into place. If you tried this and it isn;t happening then make sure the data and times on the two cameras are identical and make sure you are sorting by date and time and nothing else.

  • Different zoom levels for different clips in the same project?

    Hi
    I am making a movie with videos from two different cameras. As a result some of the clips are cut down in size to a small portion of the screen. This can be solved if it is possible to use different zoom levels for different clips in the same project. I have not been able to do this. Is it possible?
    kind regards
    Soren

    You can scale the small clips up to the same size of the larger one... but you will get a quality loss.
    Using Motion or Scale to Frame Size commands
    Better to scale the large ones down to a Sequence that matches the smaller clip dimensions.

  • Use different java versions to start weblogic and run application.

    Hi All,
    I'm currently using weblogic707 which need java 1.4.1 to start up. However, i have this application that run only on java version 1.3.1. Is there any possibility to configure the weblogic to run my application on different java version?
    Thanks.
    wls

    Hi HMLunger,
    Did you install the SQL Server instance successfully? If not, please help to post the summary and detail logs for analysis. By default, the logs can be found in: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log.
    However, if you fail to start SQL Server Express service after successfully installing SQL Server,
    you might have to change the paths of the files by running the following scripts from the command prompt. For more details, please review this similar
    thread.
    NET START MSSQL$SQLEXPRESS /f /T3608
    SQLCMD -S .\SQLEXPRESS
    ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    ALTER DATABASE model MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    go
    exit;
    ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    ALTER DATABASE msdb MODIFY FILE (NAME = logical_name , FILENAME = 'new_path\os_file_name');
    NET STOP MSSQL$SQLEXPRESS
    In addition, you can follow the steps in this KB article to uninstall SQL Server.
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Access two EAS with different Essbase versions and different java versions from the same p.c.

    Hi,
    I need to regularly access Essbase 11.1.2.2. and Essbase 11.1.2.3 EAS from the same client machine.
    They are on, and must be on, different versions of java, is there a way to have both versions of java installed but each using the correct version and without the two java versions causing any kind of problems?
    thanks,
    Robert.

    Hi Robert...  I assume this is web-launched?
    I spent a day or so trying understand the intricacies of the JNLP protocol and create shortcuts that will invoke web-launched EAS with the appropriate version of Java.  I can get one version of EAS to use the 1.6 Java Web Launcher, and the other version of EAS to use the 1.7 Java Web Launcher - but both Web Launchers eventually invoke the same version of Java!  There are switches in the JNLP syntax that seem like they should allow you choose the actual Java version that gets invoked, but I just could not make it work.
    You can use the Java Control Panel (in Control Panel) to enable and disable the relevant versions before launching EAS.
    If you find otherwise I would love to know (or if you find out how to control which versions are enabled or disabled via command-line script).

  • Multiple Versions in Same Project File?

    Is there a way -- official or otherwise -- to accomplish this in GarageBand? To have different versions of a GB project, all of which draw from the same batch of .aif files as their source material, all saved into a single .band package file?
    My specific situation is this: I'm about to use the same batch of about thirty .aif files (totalling a Gig or so in size), to create 7 or 8 different GarageBand projects (each fairly short -- roughly 2-3 minutes in length). Each GB project will utilize different portions of those thirty .aif files. That means if I save each project as a completely separate file (and if I'm understanding GB's file-saving structure correctly), each of those .band packages will contain complete copies of all of those thirty .aif source files. Which is not a major tragedy, but just seems like a waste of 6-7 GBs of space. (I'd also like to be able to archive all the different versions onto a single DVD, sans compression.)
    The analogy I'm thinking of is when I've created two or three versions of a song in Logic (each one a different length, say), and I save them all in the same Project Folder (which I want to be playable on other people's systems who won't have the same 3rd party samples I've used). That Project Folder then only needs to contain a single copy of all the samples and Software Instruments which each of the three versions of the song needs to access. This can result in a significant saving of disk space, as well as making the overall project, with all its different versions, much more portable.
    Is there any equivalent to this in GarageBand '09?
    Thanks,
    John Bertram
    Toronto

    without knowing very much about what your project is, it might be easiest to just use a couple of tracks, in a single project, for each piece. iow, tracks 1, 2, & 3 contain the bits for 1 exported creation, tracks 4, 5, & 6 the next. then solo the groups of tracks and export.
    after that, more the way you seem to want, *and i'd put this on the unsupported, and not the safest idea, list*...
    drop all 30 aiffs into a single project's timeline. then copy the regions you want and paste them into new projects. the new projects will only contain references to the original files, not the actual files. this is risky because if the other projects can't, for some reason, find the first project with all the files contained within, they will all become useless.
    (let's tag this with: Use at your own peril ... and ... Don't try this at home, kids)

  • Different Java versions on IE6

    Hello,
    We have a Windows server 2000 with Internet Explorer 6 SP1, and different aplications that need a specific version of JRE, exactly 1.4, 1.5 and 1.6.
    The problem is we do not know if it will work on the same server, or how to change the java version to use it with each application.
    I had thought to make different shortcuts to the IE, and somehow indicate at the launch which version to use, but I think it is not possible.
    I had investigate the navigator and there is no option to change the java version or something.
    What can I do?
    Thank you.

    The culprit is definitely the Java JRE as stated above, Oracle 11.5 I believe is designed to run with 1.5.0_16 or at least that what has been forced on our installation.
    From what I can tell, the export call when run with an invalid JRE does not fire properly and Oracle gets an unknown response so therefore defaults you back to the login screen.
    We had this issue and removed all versions of java (1.6.0_16 was the culprit in our case) and every returned to normal.
    You will also need to make sure you have "Automatically prompt for file download" and "File download" enabled in IE (assuming you use IE) for the zone in which your Oracle install resides or you will see popup-blocker symptoms as well.
    Hope this helps.

  • Capture scratch in different formats in the same project

    I was asked to edit several hours of wedding video that have two different formats in capture scratch. All are Quick time movie. Can I combine the following formats in the same project and sequences, or what steps do I need to take before I start the project? Any suggestions on the proper Easy Set Up "format" and "use" selection? Thanks for the help.
    First format-
    DV 720x480 (853x480), 16 bit interger(Big Endian), mono 48kHZ
    FPS 29.95
    Data rate 30.29 Mbit/s
    Current size 853x480 pixels (actual)
    Second format-
    DVCPro HD (720p60), 960x720(1248x702), 16 bit interger (Big Endian), mono 48 kHz
    FPS 23.98
    Data rate 49.11 Mbit
    Current size 1248x702 ixels (actual)
    Rob

    DVCPRO HD is not supported in FCE. The HD media is of course much larger than the SD media, so you have to decide how to handle that. Also the frame rate conversion might not be great.

  • How can I run two different vi's in same project which are accessing same global variable with out effecting the speed of the execution of both the vi's

    Hi
    I have build an Labview project with FPGA target .  I have configured an FPGA VI and an host Vi to acquire data and logged the data to a file and stored the latest data in a global variable simultanously. I have configured one more VI in the same project  to access the global variable.  I have build a dll to access both the VI as functions in LabWindows/CVI code.  My task in CVI is to update configured GUI with latest data periodically and run the  host VI continously for a long time and log the data to a file. GUI should update for every one second with latest data for this I am using the second VI in which I am accessing the global varibale in which the latest data has been stored in host VI.

    Duplicate Post (go here)

  • Different Java version at one maschine

    Hello experts.
    I need to test SW with differnt java-versions (1.1.8-1.4). So I will install all version I need. But now the question: how can I easily
    switch between the versions? How can I verify that the desired version
    is in use (is java -fullversion the only check)?
    Thanx in advance
    Henry

    Assuming you are using Windows, just create a batch file for each version. e.g.:
    usejava1.2.bat
    @Echo Off
    set path=c:\jdk1.2.2\bin;%PATH%
    set java_home=c:\jdk1.2.2
    java -versionJust replace c:\jdk1.2.2 with the path to your java install, then at the command prompt type usejava1.2 to switch to the relevant version within the current DOS session.
    Its probably very simple to do something similar on Unix.

  • Recording both PAL and NTSC versions of same project

    I am importing a series of movies to iMovie in PAL format. I understand that it automatically sets the format. What steps should I follow to ensure that I can have both versions of the same footage correctly (PAL and NTSC)? On my first attempt to record on iDVD I had not changed the setting to PAL (even though iMovie project is PAL). A warning message showed that there were conflicting formats but I recorded the DVD and now it works on my NTSC TV and DVD. Then I changed the iDVD setting to PAL and made another copy. When I check the DVD's under Window>Movie Info (Quicktime) they seem to be in the correct format. It happened by accident but I understand that you should export your movie from iMovie in the new converted format in order to record a DVD in such format. I accidentally bypassed that step and I wonder if the quality has been lowered. Has anyone experienced this also? Should I do the same to save me an extra step? Thanks for feedback on this.
    PowerBook G4   Mac OS X (10.4.9)  

    The conversion from PAL to NTSC (or NTSC to PAL) is a non-trival task.
    In the case of PAL to NTSC, not only must the frame size be changed from 720x576 pixels to 720x480 pixels (fairly easy resizing), but the frame rate must be changed from 25 frames/second to 29.97 frames/sec (this frame rate change is NOT easy). iDVD/QuickTime seem to simply duplicate an occasional frame to go from 25 to 29.97 fps (or delete an occasional frame going from 29.97 to 25 fps) - this technique can cause the converted movie to be rather jerky.
    You will probably get a better conversion use JES Deinterlacer at http://www.xs4all.nl/~jeschot/home.html as mentioned by Bengt

  • Sharing typedefs and VIs between different targets in the same project

    Hi,
    I'm writing a distributed application that runs on a PC and a CompactRIO. There are some data structures and convenience functions (typedefs and VIs) that I'd like to share between them. What's the recommended way of doing so? Is an LVLIB suitable for this purpose?
    I currently just host the shared items on the "My Computer" target. However, when I'm editing my code, I sometimes have to click "synchronize with other application instances". Also, the shared items show up on the dependencies list of my cRIO target. I'd rather not have these happen; is it possible to avoid these?
    Thanks!
    Solved!
    Go to Solution.

    Hi JKSH,
    JKSH wrote:
     I'd rather not have these happen; is it possible to avoid these?
    Why do you want this not to happen? When you assign a VI to one target, but still use that VI on the other target, LabVIEW has to recompile for that other target (read: No, you can't avoid that!).
    I do the same for many VIs (a lot of them in my user.lib) but still have no problems with it. And using the same typedef for all targets in a project really helps minimizing errors!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Secret key cipher for two different Java versions

    Hello All.
    I am trying to make a class that uses secret key encryption/decryption for both v1.18 and v1.3.1. That is the same class needs to be useable on both versions. Is this possible? v1.18 does not recoginize any javax.crypto.*. I was able to get the cipher working the way I wanted in just v1.3.1, but not v1.18.
    Any suggestions would be very appreciated.
    No upgrade at this time is possible.
    Thank you in advance,
    Jen

    You can use BouncyCastle JCE.
    http://www.bouncycastle.org/latest_releases.html
    Add the good jar file corresponding to JDK version,
    and you'll be able to use the same code.

Maybe you are looking for