Solved

from JDK 1.0.2 to JDK 1.1.5 ...

Posted on 1998-02-04
2
403 Views
Last Modified: 2013-11-23
I have used JDK 1.0.2 long time ago, and all my programs (applets and applicationts) were made with this version of JDK, but if I change to JDK 1.1.5 could my programs still work ?.
I need to know advantages and disadvantages of the change.
Would be this favourable or not ?.

   Thanks a lot.
0
Comment
Question by:Deladier
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 

Expert Comment

by:scousins020498
ID: 1232842
The obvious disadvantage of using a newer version is that it will not be supported on all browsers.
As far as compatability is concerned, the code should move happily, although you will be given warnings about any functions that have been deprecated (about to be obsolete!).  The documentation will give you the new method description that you should use instead.
The other main consideration is the event model.
From 1.1 onward, there is a new (better?) event model that you could learn.
However, the old event model is still fully supported (as at 1.1.4), and will work perfectly well - but you cannot mix the old model and the new in the same application - this should not be an immediate problem in your case.

It is never a bad idea, in my opinion, to move forward, particularly in a relatively young field as Java.

Happy conversion!

0
 
LVL 2

Accepted Solution

by:
shogi earned 0 total points
ID: 1232843
FOR APPLET
  Do I have to support many browser (Internet) or just one browser (Intranet (open or not))? Did the browser surport Java 1.1 if you have to support 1 browser.  When I want to put my new version on the WEB?

ANSWER FOR APPLET
First, if you have to support many browser and soon as possible my recommandation is : stay with the JAVA 1.0.2. Because many browser do not support JAVA 1.1.

Netscape 4 is 100% Java 1.1, and IE 4 (you don't have RMI and few others stuff of JAVA 1.1)

If you have to support just Netscape 4 or IE 4 (with using RMI), If recommand you to translate your application.  You will take advantage of many new tools (class).  If it's this option you will take... you will need a new JDK1.1.5 or IDE support Java 1.1, like you know.  

  Java 1.1 support directly you application 1.0.2, if you don't use any Java 1.1 new feature.  You can add new stuff, but just what is supported by Java 1.0.2.

Java 1.1 support Java 1.0.2 event, but I recommend you to translate in the new event mode (Advantage : more event) (disadvantage: you have to rewrite your event, but it's not to hard)

If you want to use new feature of Java 1.1 you need to translate all you program to be Java 1.1 compliant.

If you translate yours programs, Take a look to sun web :
http://www.javasoft.com:80/products/jdk/1.1/docs/guide/awt/HowToUpgrade.html



APPLICATION
  My recommandation for application is go in Java 1.1.  Only one disadvantage is you have to change your event and few thinks.  But you have many advantage.  Like JNI (java Native Interface) allows you to call DLL write in C and C++, in the native environment, many new class like Reflexion is very powerfull, and the possibility to have Native compiler more strong and powerfull.


0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question