?
Solved

from JDK 1.0.2 to JDK 1.1.5 ...

Posted on 1998-02-04
2
Medium Priority
?
412 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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 one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Suggested Courses
Course of the Month11 days, 18 hours left to enroll

752 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