Futur of java

hi i just start to sue java, i study it at school, and i do my "stage" (dont know how to say it in english) in java, i really like it, and i want to do my certification when i'll be better then now. But at your opinion dows java seem to be grown, stable, or already dead???
dont asnwer me like, you dont like java or suc..r you hate sun or java.. no i very like it, but i start my professionnal life, and i dont wan to miss it.. understand???
because java still very slow compare to other programming language, but he have many good features taht others dont have, like compile once, run everywhere (is taht the real sentence??? hehe)
sorry for my enlgish
thx

Java is not slow compared to other languages. Its execution speed is close to C++, the main problem at this point is the memory footprint. The JVM takes up too much space and that's why it seems slow when you run short lived apps. If you have a long running app then the startup time for the JVM is reasonable. Most slowness claims against Java are based on tests done when it first came out. Current JVMs are much faster.

Similar Messages

  • The future of java and what is the most necessary skill to learn

    hi, friends,
    This is a serious question, so please answer seriously.
    1. The future of java
    Are there any future for java? What I mean are: are there any jobs for java developer in the future? are there any chances for new java company to survive?
    2. What is the most needed skill in so many java technology?
    There are so many sections in java technology. so what is the most needed one for one to find a job? what is the most promising section for one to build a company.
    Thank your very much!

    It's a lousy question really.
    1) There are very few companies you'd call a 'java company'. There are companies that use java, but they also by and large use C++, DBMS systems, and a whole host of other technologies. If java died, they'd switch to whatever technology killed it. Any decent programmer is flexible enough to learn a new language in a matter of weeks. It's the ability to work with the theory behind the code rather than the knowledge of syntax that's important.
    2) It depends entirely on what you're doing. Working with a company where databases are key? Then you need Oracle, or SQL. Working with web technology? Perl, JSP, PHP, stuff like that is what you want. Working in high performance application design? You need C++. Graphics? Take a look at OpenGL or Java3d.
    The most promising section to build a company? If there was a straight answer to that 1000 companies would have sprung up already and filled the niche.
    Basically, if you want a successful career in programming, don't become a java programmer, become a programmer full stop. If you think you'll be working with java when you retire in 40-odd years you're mistaken. You need to grasp the basic concepts of application and algorithm design, and be quick to learn new technologies and evaluate them against what exists already.
    It can take 3 years to go from complete newbie to fluent in a single programming language. It can then take less than 3 days to become fluent in another.

  • Future for Java guys

    I seen some of the articles, sap customer are pressuring to release ABAP version of portal instead of java so that, they no need to worry of multiple skilled persons and also they can avoid communication between java and ABAP. If that at is  the case what would be the future of java guys who migrated to sap. What do you suggest for Java guys who is going to migrate to sap NetWeaver?

    Hi Sreenivasulu,
       You don't have anything to worry about.  You will not see an ABAP version of the portal.  ABAP is great for the business transaction functionality but was not designed to work with the web.  That is why a couple of years ago the SAP CEO at Sapphire said that JAVA was going to be an important development tool for developing SAP application.
    John

  • The future of Java 3d

    Hello all.
    I thought about learning some Java 3D stuff and was browsing around and I've got a couple of questions:
    - What exactly is JOPL?
    - Is Sun activly pushing Java 3d?
    - Is Java 3d a required skill in today's market?
    I just don't want to invest time in learning a technology which may in the near future (hopefully not) become unused/obsolete.
    Would like to hear your opinions

    I'm not sure about JOPL; JOGL is a Java-OpenGL interface that enables you to use standard OpenGL to access 3D hardware from Java. There is also an OpenGL interface called LWJGL which is a bit faster but not awt compatible.
    Sun isn't actively pushing Java3D but it's recent appearance on the Mac suggests that it isn't entirely dead and there may be some movement with it in future.
    Java3D is an essential skill in today's Java3D market. The best way to check for it's use in the wider world is to go onto any of the job sites and do a search for jobs requiring Java3D. I doubt you'll find many. That doesn't mean you shouldn't learn it- if you use it alongside the standard tutorials and Selman's book on the subject that is a great way to learn about 3D programming without having to get into the whole wheel-reinvention that is required to get going with OpenGL. Ultimately if you want a job in 3D programming you are going to be best learning OpenGL from the bottom up because that is what more commercial companies use. If you want to learn about 3D programming principles, try J3D.

  • Future of java ! (for experts)

    hi Experts :)
    Here is a general discussion question about operators in java:
    java is an evolving language, and new languages are always being developed. What additional operators would you recommend adding to java or to a future language like java that would support both procedural programming and object-oriented programming?

    Anti-procedural traps that catch procedural code and fry the computer instead of compiling.
    Procedural code has its place (Mathmatical applications being one), but Java is better off evolving more on the oo side of things, IMHO*.
    ~Cheers
    *My first use of this construct. Did I use it correctly?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • The future of Java certifications

    What will be the future of Sun java certifications will
    1.Name changed?
    2. Cost?
    3.Syllabus? etc.....
    will be the same .Please tell me from where i get those to read....
    Thnx....

    http://www.sun.com/training/certification/beta_scjp_plus.xml
    The Sun Java Programmer Plus certification beta will launch on March 1, 2010 and run for approximately 10 days.
    Q: Why should I take the performance exam? I am already certified as a Java Programmer.
    A: The benefit to the Programmer is the ability to update current skills and practically demonstrate those skills in addition to knowledge. The performance exam provides current employers with the confidence that an employee has the problem solving skills they need on a day to day basis, using Java to design and develop applications effectively.
    Q: Will this exam replace the current Java Programmer exam?
    A: Sun believes that performance based Java Programming certification provides both candidates and employers with greater assurance that their skills will meet the needs of the Java Programmer role. Sun will retire the prior versions of the Java Programmer certification in the near future. Sun will provide a public notification of at least 90 days in advance of any exam retirement.

  • Future of java and testing

    So I cry a little inside every time I have to change my design so that I can test things. Now I don't mind breaking the functionality of a MDB out into a POJO..that's fine....but I HATE making private methods public just do I can test them.
    Are there any plans to integrate unit testing into java and to allow testing of private methods?

    Can we rant about testing here? Oh goodie :-)
    I've never made a private method public or protected for that reason, or even ever wanted to test a private method. I only test everything that I promise, and I don't promise even myself anything about my own private parts :-).
    If I have some private functionality that is complex enough I do want to test it in itself, I'll delegate that part to another class and test that. In my experience, any refactoring I do to increase testability, I would also end up doing for readability or reusability. And it's never included increasing a method's visibility.
    public void testJunk{
    MyClass mc = new MyClass();
    mc.myMethod();
    }I do write such tests actually, albeit very very seldom. And I don't have anyone telling me I should have X% coverage, which I agree is moronic. Metrics are overrated. I do force myself to keep my test coverage of publics very high, because I've never regretted spending time to write a test, but often regretted not having spent that time.
    Now, I assume in the above example myMethod is not a method with an effect that can be asserted, otherwise it's just an incomplete test and there should be more, not less. But even if you can't assert anything about it, you're testing that default instantiation followed by that method call doesn't throw. You're expecting it, you're promising it at least implicitly, so why not test it?
    That all said, there is something about testing and visibility that bites me. I don't want to put test classes in the same package as the testees. As a result, every class and method that I test is public where it could possibly have been package access. So I do increase from package to public when I promote a class from "too dumb to be tested" to a "test-worthy" class. I'm okay with this in itself; if I'm unit testing it, chances are it can be used in a different context anyway.
    What does bug me is that I'm effectively skipping package access, not using it as it's intended, and trading the benefits that can come with it for maintaining this way of testing. Whether a class should be tested or not says more to me than whether it should be public or package, and my way public is synonymous for tested (I often enforce this with static code analysis: if it's public but not tested it will be flagged as "could have lower visibility" or some phrasing to that effect). But that's not the Java way of using public and private access. Oh well.
    So, I've been wondering about this, what do you people do? Do you decide about public/package a priori, and then put the test class in the same package as the testee? Or do you not test it if it's package access?

  • Future of Java

    Hey,
    here I am programming in Java, and thinking ..
    is this technology here to stay ? I know that it is here to stay, but I'm wondering how good is it.
    I am looking at C++ and I know it here, it's operational, dependable, and will definitely be used again and again. However, C++ is not very much used for writing websites, for example.
    Then, looking at Perl, I see it's somewhat of an older language, but it keeps updating itself, and while I don't see Perl being used for mission critical projects, I see it working on websites everywhere. Or, similarly with PHP.
    Now, Java ... I am having a weird feeling, like I'm writing programs and learning Java.. and later, when I apply for a job somewhere, they will say something like "We're only using C++ here, and Perl. No Java here".
    What do you think about that ?
    I am looking for thoughtful responses. i.e, if somebody says "Java's cool, use Java", or "Perl is the one, use that", I would probably agree, but it won't give me any information.
    Is Java being used for projects on jobs out there, and is it a worthy languaged to be learning ? Or is it best to stick to C++ for example ?
    thanks,
    Dennis

    Cool, thank you for all the responses.
    I know C++ fairly well. Also, I am learning Java more and more.
    I agree that skills like knowing general data structure and algorithm solving skills are the most essential.
    And I don't mind learning new languages. What sucks, sometimes, however, is that when you're coding, there is no one near to ask about how a thing is done in X language.
    I know, you can search the web, and do other things, but that is still not the most efficient way. It's like constantly fighting through a forest to get to almost every little step.
    Dennis

  • Java future in Netweaver

    what is the future for Java Developer within SAP Netweaver framework? How much Java is used, which modules (EP and XI...)?
    Edited by: anthony karta on Jan 11, 2008 11:04 AM

    Hi Amol Joshi/ Anil ,
                           I'm a sun certified Java Architect. I'm working in the J2ee/java core for last 10 years. I want to shift my career in the SAP Netweaver Platform.
    I got trained in SAP PI and taking classes online  SAP PI 7.0/ xi 3.0 right  now.  Good in J2ee and so more confident on Ejbs, Servlets, MVC, jsps and OOs etc. Also worked in Jboss and Weblogic for quite long time. Currently doing Web Services projects using open standards such as Apache Axis for last 2 years. Decent level Experience in SOAs, ESBs, XML, XSD and more.
    SAP PI:
    I have practiced ALE configurations, IDOC, RFC, SOAP, FILE, JMS, JDBC by myself. Good in Java Mapping.
    SAP Netweaver App Server: Java application in Netweaver App Server
    Downloaded trial version and practiced with NWDS by developing small applications using J2ee components such as jsps/controllers, Ejbs and DAOs for about 3 months. i'm comfortable on this.
    I would like to get  your suggestions for switching my career into SAP technical field. Please provide your suggestion in steps. I think you guys are the right person to tell about market situations and pros and cons of this.
    Having little knowledge in ABAP and SAP BASIS too.
    My contact number is 703 921 0020
    can you provide your contact number and email IDs, Please? I'm also happy to discuss with you.
    Thanks
    Baskar Gopalakrishnan

  • Is there a way to create a Java class based on what's defined in a schema?

    I have a set of schemas that define what messages I will get as an XML stream (sent as UDP packets). Is there a way to parse the schemas into a set of java classes that match the fields in the schema? If so, next think would be to feed a string or byte array to instances of these objects and have a method that parses it and fills all the fields. But is the first part possible? Somebody linked http://www.cafeconleche.org/books/xmljava/chapters/ in another thread, but that seems to be for regular XML, not schema, unless I'm confused which is entirely possible, I'm new to XML and using it in Java in this way.

    For future reference, [Java API for XML Binding|http://www.dummies.com/WileyCDA/DummiesArticle/Building-Custom-Code-with-Java-API-for-XML-Binding-JAXB-.id-1489,subcat-BUILDING.html] (JAXB) allows for [generation of Java classes|http://www.oracle.com/technology/pub/articles/marx-jse6.html] from XML Schema (or even DTD) using its xjc compiler.

  • Using ExecutorService class from java.util.concurrent package

    Dear java programmers,
    I have a question regarding the ExecutorService class from java.util.concurrent package.
    I want to parse hundreds of files and for this purpose I'm implementing a thread pool. The way I use the ExecutorService class is summarized below:
    ExecutorService executor = Executors.newFixedThreadPool(10);
            for (int i = 0; i < 1000; i++){
                System.out.println("Parsing file No "+i);
                executor.submit(new Dock(i));
            executor.shutdown();
            try {
                executor.awaitTermination(30, TimeUnit.SECONDS);
            } catch (InterruptedException ex) {
                ex.printStackTrace();
            executor.shutdownNow();However, the code snippet above creates all the 1000 threads (Dock objects) at once and loads them to the executor, and thus I'm worrying about memory leak. I haven't tested it on 1000 files yet but just on 50 small ones, and even if the program prints out "Parsing file No "+i 50 times at once, it executes normally the threads in the background.
    I guess the write way would be to keep the number of active/idle threads in the executor constant (lets say 20 if the thread pool's size is 10) and submit a new one whenever a thread has been finished or terminated. But for this to happen the program should be notified someway whenever a thread is done. Can anybody help me do that?
    thanks in advance,
    Tom

    Ok I found a feasible solution myself although I'm not sure if this is the optimum.
    Here's what I did:
            ExecutorService executor = Executors.newFixedThreadPool(10);
            Future<String> future0, future1, future2, future3, future4, future5, future6, future7, future8, future9;
            Future[] futureArray = {future0 = null, future1 = null, future2 = null, future3 = null, future4 = null, future5 = null,
            future6 = null, future7 = null, future8 = null, future9 = null};
            for (int i = 0; i < 10; i++){
                futureArray[i] = executor.submit(new Dock(i));
            }I created the ExecutorService object which encapsulates the thread pool and then created 10 Future objects (java.util.concurrent.Future) and added them into an Array.
    For java.util.concurrent.Future and Callable Interface usage refer to:
    [http://www.swingwiki.org/best:use_worker_thread_for_long_operations]
    [http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter10/concurrencyTools.html]
    I used a Future[] Array to make the code neater. So after that I submitted -and in this way filled up- the first 10 threads to the thread pool.
            int i = 9;
            while (i < 1000){
                for (int j = 0; j < 10; j++){
                    if (futureArray[j].isDone() && i < 999){
                        try{
                            i++;
                            futureArray[j] = executor.submit(new Dock(i));
                        } catch (ExecutionException ex) {
                            ex.printStackTrace();
                        } catch (InterruptedException ex) {
                            ex.printStackTrace();
                try {
                    Thread.sleep(100); // wait a while
                } catch(InterruptedException iex) { /* ignore */ }
            executor.shutdown();
            try {
                executor.awaitTermination(60, TimeUnit.SECONDS);
            } catch (InterruptedException ex) {
                ex.printStackTrace();
            executor.shutdownNow();
        }Each of the future[0-9] objects represents a thread in the thread pool. So essentially I'm check which of these 10 threads has been finished (using the java.util.concurrent.Future.isDone() method) and if yes I replenish that empty future[0-9] object with a new one.

  • Quo vadis Java?

    I have been a programmer all of my adult life and a software developer ever since I can remember. My language of choice is the IBM OS/390 Assembler and the IBM mainframe is my world. All the things that seem big deals in C/C++/Java I was already doing namelessly in the IBM mainframe world eons ago. Byte code, I was doing 1401 emulations in the early 1970s. Polymorphism, I was writing code that supported not only different operating systems (PCP, MFT, MVS, HASP/JES, etc.) but also different releases of the same. Classes and inheritance, I have been doing SYSLIB autocalls by the Linkage Editor since ever.
    It seems that nothing is new in computing. What is new is that the distinction between mini/micro and mainframe computers has blurred.
    Ever since the PC came into existence I have peeked. First they were too slow and the Intel instruction set too horrible. Then the look and feel of Windows 3.1 was making me sick. In 1995/96 when PCs became fast enough and Windows95 sufferable, I tried Microsoft MFC but I gave up quickly. All of those files, I could never figure out which chunk of code was *.cpp, *.h, a resource or whatever.
    In March of 2000 I picked up HTML and JavaScript. I produced quite a few things that I am very proud of, some even useful but I kind of lost interest along with the DOT.COM debacle.
    In May of 2001 I tried semiseriously to pick up Java since I liked JavaScript.
    I am now in the process of writing a File Management System for the PC in my spare time. It is clear to me that the mini/macro/Unix/C/C++/C#/Java world is minor league and Mickey-Mousey.
    Do Java programmers really write programs of 200 lines at the most and stash them in folders within subfolders of subfolders ad nauseam?
    Are Java programmers so feeble minded that cannot handle 10,000+ lines of code at the time? I have a photographic memory and all that shuffling from code file to code file is too disruptive for me.
    And do Java programmers really call their variables for example JTextArea ta? Or only in Java books? My programming style is to first build tools for myself to find and cross reference whatever I am interested in. I try not to reinvent the wheel... I let you draw your own conclusions.
    How is my Java File Management System doing? I have got almost all the needed ingredients but with lots of loose ends. For my own consumption it is starting to be OK.
    I have an excellent files and folders finder also capable of searching for given strings and show the results in different useable formats. JTree Drag-and-Drop for the files. Simple, rich and HTML text editors. The menus, toolbar, and statusbar are in place and so are the routines that provide functionalities.
    Why am I complaining then? Because major roadblocks exist. Let me explain...
    a) I need a Spell Checker (badly) and I do not have the time to write one myself.
    b) I need a Files Compare better than the preliminary one I wrote for now.
    c) I need a Cross Reference more sophisticated (keywords, delimiters) than the one I wrote for now.
    d) To be able to replace Windows Explorer and the Windows desktop I need:
    1) to know how to access and process *.dat files and registry keys
    2) to know how to access and process *.lnk files (desktop icons and shortcuts)
    3) get more file properties than just the length and the lastModified date
    4) get to the file associations (opens with)
    5) convert long file names to 8.3 names especially for file names with embedded spaces
    6) make "Process process = Runtime.getRuntime().exec(my_cmd)" work all the time
    If the above was not enough, I have to get around Java shortcomings:
    1) a replace() that does not support "null" so as to delete unwanted characters
    2) the horizontal TABs mess (still a problem)
    3) the EOL (End of Line) mess (still a problem)
    4) the special characters (like inverted quotes) mess (still a problem)
    5) line numbers and line wrap mess (still a problem)
    6) and finally SPEED, I could never be as fast as native Windows.
    The above lists are not comprehensive of everything, just what I could think of as of now.
    What do I think of the Java programmers that I have encountered so far?
    1) I have asked for a way to get the Date and Time of the Java compilation (like IBM global variables &SYSDATE and &SYSTIME). The answer I got was to use a precompiler! Here for all to see is my solution:
    public void showAboutBox() {
    File f_ile = new File("Jwb.jar");
    if (!(f_ile.isFile())) { f_ile = new File("Jwb.class"); }
    //SimpleDateFormat sdf = new SimpleDateFormat("EEEE, MMMM d, yyyy (MM/dd/yy '-' yyyy.DDD) 'at' hh:mm:ss a");
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy.DDD");
    String info = "JWorkbench - 1.0 � ";
    info+= sdf.format(new java.util.Date(f_ile.lastModified()));
    info+= "\n\nA desktop file management system.\nWritten by andre nicolai.";
    JOptionPane.showMessageDialog(this, info, "About", JOptionPane.INFORMATION_MESSAGE);
    where "Jwb." is the code that has main().
    2) I have asked for examples for Drag-and-Drop of JTrees. No answers. The "core SWING advanced programming" book has an excellent example alas it did not take into account upper and lower case file names...
    For the Linux/Unix people I have a message why bother when 97% of the PCs run on Windows? I want to be a guru for the masses not a geek. Given all the Java limitations, DOS line commands, no *.EXE files, spotty built-in functionalities, need for a JVM, etc... how do we take over from the evil empire that is Microsoft unless we provide more ease of use and functionalities than them?
    Comments please.

    For one, java can be natively compiled (Excelsior JET, HotSpot, JIT, JOVE). If you want to make a program however that accesses system specific information, of course there will be some problems. They try to use the java VM to control alot of things, such as file names and the way the file system works. And give you ways to format the name of a file so that you can access it without being very specific about how the file system works. It's not a low level language you have to realize. It's very practical for some things currently. You can use it to make many applications with ease. But other things that other languages can do,
    Java can't without becoming platform dependant in some way.
    The specific project you are working is some what problematic. If you could access the specifications for the Virtual machine and make it behave how you'd like it to for this purpose, then you'd definitely have no problem. But the fact of the matter is you can't. You have to comply to the specifications Sun has set so that you can maintain pure Java.
    I'm sorry that many Java programers are ignorant to all of it's features. Java is a fairly new language, and it changes VERY often. Java hasn't yet had a chance for it's main features to become stable or standard yet. There are many parts of it that many people still use that have become depricated within the last few months, or within the last year. Alot of Java programers find it difficult to keep up with Sun. I've leared alot about the newer classes and specifications included with jdk1.4, but I far from know everything about it. And alot of the problems you're confronting frankly aren't common things yet, more people will likely explore these problems in the future, but Java is a completely new battle field. With C++ you have many years of a stable set of librarys and solutions that have been around and stayed reasonably stable for years. You can post something on a message board, and some one is bound to have used it before, or know something about it.
    Java changes very often. They are adding new features to it, and improving it, and trying to perfect it even as I type this message. And this is a great thing in my opinnion. If you have a problem with how Java is implemented, and have any solutions for them, or anything you feel would be a useful thing for them to look into, tell them! You can comment on their specifications, make suggestions, many things have been placed open for developers to tell Sun how they should improve and build on Java. They do have the ability to make native operations available to the VM if you really need them.
    If you want to look at the real "Mickey-mousey" people, who really don't do any low level programing at all, go look for the UML object orieted designers. Those people who get payed alot more then the programers do for directing and implementing a design of an object oriented program. They probably couldn't answer your questions on how certain operations are done, or how to access windows system registrys. They can get alot of people who allready know these things, and have them write different blocks of the programs using the skills and knowledge they have, and then build an enormously complex program, far more complex then any single programer would be able to understand. Perhaps you can memorize your entire program, and build enormously complex systems for yourself, but object orieted design isn't made for just you. It's created so your code will be re-usable to other people.
    You can change part of your coding, and they can implement it exactly the same as before, interface with it exactly the same as long as it meets it's previous implementation. Perhaps you can reuse your own code, but a procedural 10,000 line program is far less reusable then a program that's broken up into blocks where you can change pieces of it, and have it act exactly the same as previously. Packages are definitely the most practical way for Sun to go, as is object oriented programing design, as is the Virtual Machine. If you change your operating system, your computer, your processor, anything, all it takes is one program to make all others run. You only need ONE Virtual Machine, where as otherwise you'd need all programs to be redone, all of their funtionality would be lost. You can also upgrade ALL programs ever written for that VM, by simply upgrading the VM itself. If it uses any new optimizations, or techniques, or new HotSpot native compilation etc.. So will your program. So ALL programs ever written in Java are changed with any change to it's VM.
    Perhaps if you're intersted in producing programs only for Windows Client sided programing, then you can deny Java completely. Java can be run on any computing system, on any handheld devices, on anything that has VM. It holds a large share of the market, it's very handy, but in the end it is just a language. It's a solution to some problems. So far, it's not been very friendly to client sided development, or anything that involves graphics. This is just a problem with it's earlier implementations. They've been working on making useful graphics librarys, and GUIs to use with your programs. I've been very impressed with the speed of Swing components in jdk1.4, as well as the additions to Java2D that includes offscreen hardware accelerated graphics. Java is moving it's way into the Client sided programing market, but it's been retarded, mostly because of Microsoft. It's had problems implementing many things because Microsoft keeps such a stronghold on it's operating system, and it's reluctance to include a non proprietary VM with it's system. Windows XP will be included with no VM, which will be a big problem for non-experienced computer users to utilize. Java applications can be run on Linux, and Solaris systems just like any other program. The reason they don't on windows, is because Microsoft doesn't want them to. Perhaps they'll conform in the future, Microsoft is one big problem Java is facing.
    -Jason Thomas.

  • Java 7u45 gives spurious warning about missing Permissions attribute

    The security dialog in 7u45 gives a yellow warning about missing Permissions attribute.   Does anyone know how to get rid of it?
    Same as the yellow box in the screenshots (#2 and #3) documented here (although none of them discuss the Permissions attribute) :
    What should I do when I see a security prompt from Java?
    The MANIFEST.MF file for the app definitely contains this attribute.  There's only one jar for the application, and it's signed.
    Might this be another security dialog bug?  Or am I missing something?  The JNLP contains the same "all-permissions" security tag.
    I also found the release notes for 7u45 mention a couple of cases where the dialog might still appear
    (see last issue: Java™ SE Development Kit 7 Update 45 Release Notes)
    I don't use the JNLPDownloadServlet but my own. I didn't model it on the JNLPDownloadServlet, but guess I could have partly the same issue since I use versioning.
    My jar doesn't fail to download though, it's just that its displaying this warning.
    MANIFEST.MF:
    Manifest-Version: 1.0
    Implementation-Title: My app
    Implementation-Version: 3.0-SNAPSHOT
    Built-By: me
    Application-Name: Myapp
    Created-By: Apache Maven 3.0.5
    Ant-Version: Apache Ant 1.8.2
    Trusted-Library: true
    Implementation-Vendor-Id: org.me
    Trusted-Only: true
    Build-Jdk: 1.7.0_45
    Permissions: all-permissions
    Specification-Title: my-client
    Specification-Version: 3.0-SNAPSHOT
    Archiver-Version: Plexus Archiver
    Codebase: *.me.org

    I went the Java version detection applet and I don't get a warning about the applet being blocked in the future.
    https://java.com/en/download/installed.jsp
    https://java.com/en/download/installed.jsp
    I dug the jar for the applet out of my Java cache and it contains Manifest.MF with the following contents:
    Manifest-Version: 1.0
    Codebase: www.java.com java.com
    Created-By: 1.7.0_25 (Oracle Corporation)
    Permissions: all-permissions
    Application-Library-Allowable-Codebase: www.java.com java.com
    Application-Name: Java Detection
    Name: JNLP-INF/APPLICATION.JNLP
    SHA1-Digest: jPquHTBq5R8txQLe5/T20x70Y7w=
    Name: JavaDetection.class
    SHA1-Digest: kQNVjPC5Yym1DszdpX1D2EH8Ll0=
    The jar contains one Java class and a signed JNLP-INF/APPLICATION.JNLP file that looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="https://java.com/en/download/" href="JavaDetection_applet.jnlp" spec="1.0+">
        <information>
            <title>Java Detection</title>
            <vendor>Oracle Inc.</vendor>
        </information>
        <resources>
            <!-- Application Resources -->
      <j2se version="1.6+"/>
            <jar href="JavaDetection.jar" />
        </resources>
    <security>
      <all-permissions />
    </security>
        <applet-desc
             name="Java Detection Applet"
             main-class="JavaDetection"
             width="1"
             height="1">
         </applet-desc>
         <update check="background"/>
    </jnlp>
    They are running applet via JNLP:
    <applet code="JavaDetection.class" width="500" height="150"><param name="image" value="/im/download/verify_anim.gif"/><param name="centerimage" value="true"/><param name="boxborder" value="false"/><param name="jnlp_href" value="JavaDetection_applet.jnlp"/></applet>
    The JNLP file downloaded from here: https://java.com/en/download/JavaDetection_applet.jnlp matches the signed JNLP file in the jar (except for name).
    We are still working on getting our applications to not show the warning message but this appears to be an example of where the "you will be blocked in the future" message is not happening. We don't run our applications as applets so if anyone can find another working example that is a more traditional JNLP app, please post a link.

  • Why learn Java now?

    I'm new to Java programming and have developed some small demo classes.
    I have exp with other Visual languages and I feel like I'm taking a step back in time writing code in Notepad and compiling and running from dos etc.
    I have several classes and lots of code lines to do a simple thing in swing like create a frame and a simple menu panel.
    I thought Java required less code but so far it requires 3 times an much as other languages!
    What visual tools or IDE�s exist for Java development other than Sun ONE Studio?
    Why learn java now? The number of jobs posted online seams to be higher for Java that any other language out there like vb.net, C++ etc.
    Any Comments of the Future of Java Jobs?
    Running Java:
    My apps run slow on XP, 384M ram.
    Do production Java applications suffer from slow execution of the JVM layer?

    Java code is easier to understand and more stable than "faster" languages. There is more flexibility and extensibility than in other languages, and the error-processing system is quite advanced. There are also very powerful tools you can use out-of-the-box, like JOptionPane:
    import javax.swing.*;
    public class Foo
        public static void main(String[] args)
            String pass = JOptionPane.showInputDialog(null, "Please enter your password");
            System.out.println("Password="+pass);
    Also see javax.swing.JColorChooser.
    -Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Implementation-specific documentation for the Sun/Oracle Java SE ?

    Hi,
    Some places in the Java SE API specification call for platform-specific documentation. For example, the specification of the method await of class java.util.concurrent.locks.Condition says:
    "Implementation Considerations
    The current thread is assumed to hold the lock associated with this Condition when this method is called. It is up to the implementation to determine if this is the case and if not, how to respond. Typically, an exception will be thrown (such as IllegalMonitorStateException) and the implementation must document that fact. "
    So, implementation-specific documentation is expected to exist in addition to the API specification documentation. Sure, sentences beginning with "Typically..." suggest that that is what the Sun/Oracle reference implementation does, so the behavior of Sun/Oracle implementation can be guessed in many cases... yet sometimes troubling uncertainty remains.
    If implementation-specific documentation for the implementation exists, please let me know.
    I apologize if I chose an inappropriate forum for this question, but there seems to be no forum for discussing documentation arrangements.

    If you want to look at the implementation sepcific documentation, the best place to look is the source.
    The reason the docuementation is written generically is because they want you to write portable code, rather than rely on the specific implementation detail of the one you are using.
    Even if you don't intend to use another vendor, you might want to upgrade in the future and Java 7 or 8 many change its implementations provided it meets the specification.

Maybe you are looking for

  • No longer able to VPN

    I have been using the builtin vpn on my iPad running 5.1.1 connecting to a Cisco vpn 3000 concentrator for over a year, starting last  week it no longer works.  I can connect to the end device with the iPad, but not able to connect to any internal we

  • Unknown Error when starting the Group Policy Editor

    On Windows 8.1 Professional, I opened the "Edit group policy" from the control panel and also tried to start gpedit.msc from an elevated CMD prompt. In both cases I get the following error message: In English: Failed to open GPO. You may not have app

  • Complex XML to Plain in JMS adapter "Content conversion module"

    Hi! I have read the document on "How To… use the content conversion module with XI3.0 J2EE JMS Adapter", and it says only SimpleXML can be converted in the receiver channel. I had hoped for a solution at least as good as in the File/ftp adapter, wher

  • How can I make a song shorter?

    I am making a CD for our wedding but one of the songs that I want to use is a live version and the artist is talking for about 30 seconds after the song. How do I edit that or make it shorter before I burn my CD? THANKS

  • App-V 5: An error was encountered while trying to stop the monitoring session

    Hello, I have a problem with sequencing an application with the App-V 5 sequencer. During the moment that the sequencer is collecting system changes an dialog box appears with the message "An error was encountered while trying to stop the monitoring