Java EE 5.0 for LINUX vs. Windows

Hello,
I am beginner. Just to be sure I would like to ask whether JAVA EE 5.0 specification is fully implemeted for LINUX as well as for Windows. I need to be sure that if I will create some JAVA EE application and I will tun it on Glassfish AS on Windows that it will work the same way on Glassfish server running on LINUX. Will the same application run the same way or are there any known differences or holes?
Thanks

I'm no expert on Glassfish. However I would expect the server to behave the same on the two OS's. But that's in terms of functionality - apart from clustering. Performance is a different matter.
Some things to consider:
On your PC you're running one server-instance - is the server clustered in production. So beware of the parallel issues.
PC's have nice fast CPU's - your server will most probably have several but slower CPUs. So tuning may be different, but depend on results in development. Further theres the network - if you're running with a local database. But the server you're deploying to is seperate from the database - then you have to take that into account.
In short, if you're acareful in following the JEE specifications, then the server will act as on your PC. Regarding performance: sure you can tune many things, most of all algorithms, database queries and so on. But you can't rely on your local results. If you have specific requirements on response-time - you have to test in an environment identical to (or close enough to) the Production environment.
Hope this helps,
Michael Willer

Similar Messages

  • Why we have separate azure java SDK for linux and windows

    I saw different links for downloading azure java SDK for linux and windows.
    What difference does it actually have when java is platform independent? Or both are same jars?

    Hi,
    Thank you for your post.
    It contains the same jar files.
    Regards,
    Mekh.

  • CD different for Linux and Windows

    I have in hand a very strange CD. This is an (old) CD with drivers for a Samsung printer. The CD has drivers for Linux and Windows. But if I mount the CD in Linux, I see only the Linux driver and if I access the CD from Windows, only the Windows drivers are seen. How they can do that ? How can I mount in Linux the CD in order to see the content seen from Windows ?

    In Windows ( DIR D: )
    Le volume dans le lecteur D s'appelle SAMSUNG_LBP
    Le numéro de série du volume est C432-A954
    Répertoire de D:\
    28/02/2005 00:53 <REP> ACROBAT_READER
    26/10/2004 06:11 740 AUTORUN.INF
    28/02/2005 00:53 <REP> DATA
    28/02/2005 00:53 <REP> ML-1610
    28/02/2005 00:53 <REP> Manual
    09/12/2004 03:55 11 219 SETUP.DAT
    20/09/2004 07:29 270 336 SSAuto.Dll
    17/09/2004 08:03 253 952 SSEtc.dll
    22/09/2004 11:09 225 280 SSFcs.dll
    12/03/2004 05:59 1 622 016 SSRes.dll
    17/09/2004 08:04 155 648 SSTtp.dll
    26/10/2004 05:42 307 200 Setup.exe
    28/02/2005 00:54 <REP> USB
    8 fichier(s) 2 846 391 octets
    5 Rép(s) 0 octets libres
    In linux (ls -l -F /mnt/cdrom)
    total 44
    dr-xr-xr-x 22 root root 4096 Feb 28 2005 Manual/
    -r--r--r-- 1 root root 2555 Feb 28 2005 README.txt
    -r-xr-xr-x 1 root root 51 Feb 28 2005 autorun*
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 bin/
    dr-xr-xr-x 8 root root 2048 Feb 28 2005 cups/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 data/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 help/
    -r--r--r-- 1 root root 8517 Feb 28 2005 icon.xpm
    dr-xr-xr-x 9 root root 2048 Feb 28 2005 locale/
    dr-xr-xr-x 2 root root 6144 Feb 28 2005 misc/
    dr-xr-xr-x 3 root root 2048 Feb 28 2005 ppd/
    dr-xr-xr-x 2 root root 2048 Feb 28 2005 scripts/
    dr-xr-xr-x 4 root root 2048 Feb 28 2005 setup.data/
    -r-xr-xr-x 1 root root 6603 Feb 28 2005 setup.sh*
    ouput of isoinfo -d dev=dev/sr0 (in linux)
    CD-ROM is in ISO 9660 format
    System id: LINUX
    Volume id: SAMSUNG_LBP
    Volume set id:
    Publisher id:
    Data preparer id:
    Application id: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
    Copyright File id:
    Abstract File id:
    Bibliographic File id:
    Volume set size is: 1
    Volume set sequence number is: 1
    Logical block size is: 2048
    Volume size is: 239152
    Joliet with UCS level 3 found.
    SUSP signatures version 1 found
    Rock Ridge signatures version 1 found
    Rock Ridge id 'RRIP_1991A'
    If I use on Windows the Windows port of cdrtools; then these tools behave as in Linux, showing me the Linux contents. In Linux I can also mount -t udf and then I see:
    total 32
    -rw-r--r-- 1 root root 32768 Feb 28 2005 Desktop DB
    -rw-r--r-- 1 root root 0 Feb 28 2005 Desktop DF
    drwxr-xr-x 1 root root 22 Feb 28 2005 Manual/
    This was for a Samsung ML-1610 B/W laser printer. This is crazy.
    @lolilolicon That explain the result when I mount -t hfs. But the difference in Linux and Windows remain mysterious. How Windows "mount" the CD? I believed it was the equivalent of mount -t iso9660 in Linux but apparently, it is not.
    Last edited by olive (2011-09-08 12:12:16)

  • Java Performance on Jaguar vs Linux and Windows

    Hi All
    Sometimes ago I heard that Java apps gain performance improvements running on the Mac OS X platform and the IDEs are more responsive on Mac OS X compared to Windows and Linux.
    I'm going to buy a new notebook and now after 10 years of having experience of using PCs I have the opportunity to buy a PowerBook if I find it reasonable. Indeed, I'm a university student and because of that it doesn't matter that which IDEs are available for Mac OS X or not. The only thing important to me right now is the performance (compiling, executing, and...).
    Does any body have any idea on the performance of Java on Mac OS X vs. Windows or Linux?
    Thanks in advance,
    bye.

    Windows is the fastest, hands down. If you get a top of the line desktop replacement laptop, then you will get the best performance. If that's all you care about ,then get that and put windows on it. Don't bother with linux as the video drivers are bad compared to the Windows ones.
    However, being a recent mac convert, I would not say that the mac is a bad choice. It has netbeans and it's own IDE (project builder). It's fast enough for work. Just make sure you have 512MB+ of ram, though I'd say the same for windows XP. Also, you'll be able to make apps that use the native OS much easier with the Mac as opposed to windows. Since all the tools come for free with the mac, you have to buy MSVC to use things like JNI. Unless that is you like using the borland compiler.
    As a dev platform, a new Mac running X is supreme. It's got real unix, and it's got an awesome toolset. You can go and design GUIs that work with only writing minimal code. Cocoa is amazing, especially because it works with Java instead around it.
    If you are looking for max speed, Windows. X86 based pc's are also better because there are more out there so you get more software and support. Linux is nice, but I still don't think that it's a good laptop OS. Love it for servers though. With OSX you get all the desktop features that are missing from linux, with all the unix you are missing from Windows.
    Besides, how many operating systems do you know where all you need to do to install MS Office is to copy it from the CD? (to run it you need a key though :)

  • Availability of Java Wireless Toolkit (J2ME) for linux

    Hi, Could anyone tell me when will be available the Java wireless toolkit for Linux again ?
    According to download page is offline since March 20
    Sun Java Wireless Toolkit for CLDC 2.5.2 ML
    - March 20, 2012 - This download is being updated and will be made available again shortly, please check back regularly for it's availability.
    Is there any other way to download the Linux API for mobility development ?
    Thanks in advance.

    The link is back up.

  • Unable to set focus for Linux / X-Windows ($$$ for fix...)

    It appears whenever a modal window is opened on Linux X-Windows the focus is stolen from the window and you CANNOT use the keyboard to return to the form - let alone set the focus on the textbox.
    This is not just for my modal forms but for something as fundamental as JOptionPane or simple code like this:
    JFileChooser chooser = new JFileChooser();
    if (chooser.showOpenDialog(parentComponent) == JFileChooser.APPROVE_OPTION) {
    From trolling through posts I can see no answers which is really sad for Linux good for Microsoft I guess. How can we deploy on Linux if you are forced to get carpal tunnel clicking on every form with the mouse ?
    I would be willing to pay some consulting dollars to get this resolved.
    Greg

    Hm, I've developed quite a bit for X11 and linux, but I never noticed that effect. Can you post a SSCCE that reproduces the issue, just to be sure it is not a side-effect from your code?
    It this is a persistent problem, you might want to make your dialog re-request the focus programmatically:
    myDialog.setVisible(true);
    SwingUtilities.invokeLater(new Runnable() {
      public void run(){
        myDialog.requestFocus();
    }See if this does anything. If not, the problem is most likely not coming from swing.

  • Is labview same for linux and windows?

    hi,
    Right now, i am using labview 6.1 and 7.1 windows version. can i use the same windows version for linux  also?

    You need to get the Linux version in order to run LV on Linux. You can open and run the VIs you save in Windows in the Linux version and vice-versa, but some things are Windows-specific and will not work (for instance ActiveX, .net, toolkits which are only supported on Windows, etc.). Also, when you open your VI in Linux, LV will tell you it was changed, because the compiled code is saved as part of the VI. The compiled code for Windows and Linux is different, so when you open a Windows VI in Linux, it is recompiled.
    You might wish to do a search for "Linux" to see more specific details.
    Try to take over the world!

  • Partitioning drives for linux and windows 7

    I want to know if there is a piece of software that is free that can partition my drives so that I can triple boot OSX lion, windows 7 (which is currently blocking...) Linux (ubuntu puredyne).
    A little bit of guidance would be much apprieciated as I have already tried fixing the partition tables MBR in the terminal and ended up disabling windows.
    I know how to reinstall windows but what software can partintion the drives for linux as a triple boot?
    Thanks.

    Well, this is possible using Disk Utility as well as the Linux formatter. However, to triple boot will require special software: The rEFInd Boot Manager - Roderick Smith.

  • Mxmlc File for Linux and Windows

    Hi
    I have used flexSDK for windows xp OS and i have build mxml file using ant build.xml and i have succeded in it then i implemented the same in Linux OS, but im getting error while mxml file is builld. i have shell script for mxml file which is present in bin folder of the SDK..
    Please give me the correct shell script file to build a mxml file
    Error i get
    [echo] mxml file compliation
         [exec] Loading configuration file /root/GRC/jboss/server/default/deploy/nat.war/flexSDK/frameworks/flex-config.xml
         [exec] Error: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec] java.lang.NoSuchMethodError: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec]    at macromedia.asc.util.Decimal128Context.<init>(Decimal128Context.java:22)
         [exec]    at macromedia.asc.util.Decimal128Context.<clinit>(Decimal128Context.java:69)
         [exec]    at java.lang.Class.initializeClass(libgcj.so.7rh)
         [exec]    at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3268)
         [exec]    at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
         [exec]    at flex2.compiler.abc.Compiler.analyze4(Compiler.java:414)
         [exec]    at flex2.compiler.API.analyze(API.java:2542)
         [exec]    at flex2.compiler.API.analyze(API.java:2432)
         [exec]    at flex2.compiler.API.batch2(API.java:411)
         [exec]    at flex2.compiler.API.batch(API.java:1117)
         [exec]    at flex2.compiler.API.compile(API.java:1290)
         [exec]    at flex2.compiler.API.compile(API.java:1210)
         [exec]    at flex2.tools.Compiler.mxmlc(Compiler.java:240)
         [exec]    at flex2.tools.Compiler.main(Compiler.java:53)
    Shell SCript file to this is attached with this post.
    ===========================================
    #!/bin/sh
    ##  ADOBE SYSTEMS INCORPORATED
    ##  Copyright 2007 Adobe Systems Incorporated
    ##  All Rights Reserved.
    ##  NOTICE: Adobe permits you to use, modify, and distribute this file
    ##  in accordance with the terms of the license agreement accompanying it.
    # mxmlc launch script for unix.  On windows, mxmlc.exe is used and
    # java settings are managed in jvm.config in this directory.
    case `uname` in
            CYGWIN*)
                OS="Windows"
                OS=Unix
    esac
    D32=''
    if [ $OS = "Windows" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname $0`/..
            FLEX_HOME=`cygpath -m $FLEX_HOME`
    elif [ $OS = "Unix" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname "$0"`/..
        check64="`java -version 2>&1 | grep -i 64-Bit`"
        isOSX="`uname | grep -i Darwin`"
        if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
            D32='-d32'
        fi
    fi
    # don't use $FLEX_HOME in this variable because it may contain spaces,
    # instead put it on the java args directly, with double-quotes around it
    VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
    java $VMARGS $D32 $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"
    Make changes to this and let me work with linux
    With Regards
    Gopinath.A
    software developer
    chennai,

    Hi
    I have used flexSDK for windows xp OS and i have build mxml file using ant build.xml and i have succeded in it then i implemented the same in Linux OS, but im getting error while mxml file is builld. i have shell script for mxml file which is present in bin folder of the SDK..
    Please give me the correct shell script file to build a mxml file
    Error i get
    [echo] mxml file compliation
         [exec] Loading configuration file /root/GRC/jboss/server/default/deploy/nat.war/flexSDK/frameworks/flex-config.xml
         [exec] Error: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec] java.lang.NoSuchMethodError: method java.math.MathContext.<init> with signature (ILjava.math.RoundingMode;)V was not found.
         [exec]    at macromedia.asc.util.Decimal128Context.<init>(Decimal128Context.java:22)
         [exec]    at macromedia.asc.util.Decimal128Context.<clinit>(Decimal128Context.java:69)
         [exec]    at java.lang.Class.initializeClass(libgcj.so.7rh)
         [exec]    at macromedia.asc.semantics.ConstantEvaluator.evaluate(ConstantEvaluator.java:3268)
         [exec]    at macromedia.asc.parser.ProgramNode.evaluate(ProgramNode.java:80)
         [exec]    at flex2.compiler.abc.Compiler.analyze4(Compiler.java:414)
         [exec]    at flex2.compiler.API.analyze(API.java:2542)
         [exec]    at flex2.compiler.API.analyze(API.java:2432)
         [exec]    at flex2.compiler.API.batch2(API.java:411)
         [exec]    at flex2.compiler.API.batch(API.java:1117)
         [exec]    at flex2.compiler.API.compile(API.java:1290)
         [exec]    at flex2.compiler.API.compile(API.java:1210)
         [exec]    at flex2.tools.Compiler.mxmlc(Compiler.java:240)
         [exec]    at flex2.tools.Compiler.main(Compiler.java:53)
    Shell SCript file to this is attached with this post.
    ===========================================
    #!/bin/sh
    ##  ADOBE SYSTEMS INCORPORATED
    ##  Copyright 2007 Adobe Systems Incorporated
    ##  All Rights Reserved.
    ##  NOTICE: Adobe permits you to use, modify, and distribute this file
    ##  in accordance with the terms of the license agreement accompanying it.
    # mxmlc launch script for unix.  On windows, mxmlc.exe is used and
    # java settings are managed in jvm.config in this directory.
    case `uname` in
            CYGWIN*)
                OS="Windows"
                OS=Unix
    esac
    D32=''
    if [ $OS = "Windows" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname $0`/..
            FLEX_HOME=`cygpath -m $FLEX_HOME`
    elif [ $OS = "Unix" ]; then
        # set FLEX_HOME relative to mxmlc if not set
        test "$FLEX_HOME" = "" && {
        FLEX_HOME=`dirname "$0"`/..
        check64="`java -version 2>&1 | grep -i 64-Bit`"
        isOSX="`uname | grep -i Darwin`"
        if [ "$isOSX" != "" -a "$HOSTTYPE" = "x86_64" -a "$check64" != "" ]; then
            D32='-d32'
        fi
    fi
    # don't use $FLEX_HOME in this variable because it may contain spaces,
    # instead put it on the java args directly, with double-quotes around it
    VMARGS="-Xmx384m -Dsun.io.useCanonCaches=false "
    java $VMARGS $D32 $SETUP_SH_VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"
    Make changes to this and let me work with linux
    With Regards
    Gopinath.A
    software developer
    chennai,

  • Java Studio Enterprise 7 for linux???

    I have just returned from a half day Sun Developer Seminar where the latest studio enterprise was demonstrated and I was most impressed. I am currently an eclipse user and previously used IntelliJ but I could be converted to enterprise 7.
    But... The DVD I was given with eval versions of the various tools doesn't have a linux version, and apparently it is not available for download either?
    SInce I do all my development on a laptop running linux this has made evaluation of studio enterprise rather difficult.
    Is a linux version available, if not when is it likely to be?
    thanks.
    brian wallis
    P.S. This might be a FAQ but I couldn't find it in the forum.

    Pity it is not generally available. I don't own a JDS product. I was just hoping to evaluate the linux version as a potential replacement for our multiple IDEs (eclipse, IntelliJ and Netbeans).
    I have no wish to evaluate on windows with the hope that it would work OK on linux.
    Hopefully sun will make a linux version available for eval in the near future.

  • Looking for  8.0.5.1 EE for Linux or Windows

    Greetings to everyone!
    I'm looking for this particular version. Long story :) I'm aware that it is very old and not supported (and hasn't been for a long time)....
    I would be deeply in debt (and grateful) to anyone that can assist in tracking down this archaic piece of software...
    either of the following files will work...
    Oracle8051EE_Linux.tgz
    Oracle8051EE_Intel.tgz
    Thank you very much,
    Kirk Mears
    Message was edited by:
    user509540

    The best place to find such file is from Oracle support. I believe at that time ( 7 or 8 years ago? ) Oracle only distribute using CDs.

  • 8.0.1 Patch for Linux has no installer?

    So I've downloaded the 8.0.1 update for Linux and Windows.
    The windows version is an installer but the linux version is just a
    zip file with no instructions?? I've been running CF on both
    Windows and Linux for six years and the Linux updaters were always
    executable .bin files. I've got no idea what to do with this zip
    file. It has no readme, and no identifiable directory structure.
    Anyone know how I can apply this to my production linux
    server? Thanks for any help.
    Adobe, how about a readme or some kind of instruction for
    these patches if they aren't installers?

    Thanks to Jochem to answering this in another post. The .zip
    file is
    actually an executable linux installer. Go figure. Thanks for
    confusing the heck out of me and wasting my afternoon Adobe.
    Why didn't
    you just name it .bin like you have in all the years past?!
    Sheesh!
    brademp wrote:
    > So I've downloaded the 8.0.1 update for Linux and
    Windows. The windows version
    > is an installer but the linux version is just a zip file
    with no instructions??
    > I've been running CF on both Windows and Linux for six
    years and the Linux
    > updaters were always executable .bin files. I've got no
    idea what to do with
    > this zip file. It has no readme, and no identifiable
    directory structure.
    >
    > Anyone know how I can apply this to my production linux
    server? Thanks for
    > any help.
    >
    > Adobe, how about a readme or some kind of instruction
    for these patches if
    > they aren't installers?
    >
    >

  • Common Array Management software version 6.10.1 for Linux x86_64 availability?

    My apologies if this is not the right location but I'm trying to find out when the Common Array Management Software 6.10 will be available for Linus/SUSE 64 bit systems if anyone knows.
    Thank you for your time.
    G Treadway

    Please refer "What’s New in CAM 6.10" in page 7 of Release Notes
    mentioned by Nicolas. It says "The Sun Storage Common Array Manager
    (CAM) 6.10 release is available only for Solaris OS management hosts.
    CAM 6.10 for Linux and Windows hosts is in development and will be
    available once it is complete. Until then, continue to use CAM 6.9 for
    Linux and Windows, which is available from My Oracle Support (MOS)
    https://support.oracle.com ."
    Rajkumar S

  • Where is the SQL Developer download for Linux

    Can some one help provide a URL link to download the SQL Developer for Linux? The official link on the Oracle Website is pointing the Windows zip instead.
    Many thanks!

    The link is correct. The files are the same for linux and windows when the jre is not bundled.
    Eric

  • J2SE for Linux on Intel IXP420

    Is there a version of Java Runtime Environment (J2SE) for Linux runable on Intel IXP420?

    No, I would use a free Java-enviroment like kaffe, sablevm, kissme, gcj (for embedded use my champ!)....
    lg Clemens

Maybe you are looking for

  • Document Management Portlet

    I just wonder if anybody had a chance to use or evaluate prebuild portlets in the WebLogic Portal 8.1. I would like to buy WebLogic to build our internal portal but I need some functionality to be out-of-the-box like calendar, news, msg board, hopefu

  • Manager name LOV in hr schema

    dear all im trying to get manager name as list of value to update the employee manager id. ive add the Employee entity object with the EmpManagerFKAssoc.Employee association to the employee View and create a calculated field to get the manager first

  • I am unable to access my e mail accounts

    I am unable to access my hotmail and gmail accounts. The icon for mail is still there but when opened I get a blank page. The icon is showing the no of unopened messages! can anyone suggest a solution

  • How to set  headerText in DataGrids through ActionScript

    Any help or suggestions with this appreciated. I'm populating a datagrid control in Flex 2 with dynamically data. The number of columns and column names aren't fixed. The column data itself is just raw values; no field names or other elements to iden

  • Which JRE type does the client have? (64bit or 32bit)

    Hello all, I'm needing a way to programmatically find out whether the client machine is running a 32bit or 64bit JRE. The reasoning for this is down to this …a 32bit JRE will load only 32bit dll's and a 64bit JRE loads only 64dll's. Problem occurs wh