Solved

from JDK 1.0.2 to JDK 1.1.5 ...

Posted on 1998-02-04
2
399 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Java Jpanels and Jframe 8 32
servlet doXXX methods 3 47
How to convert from xls to xlsx using java 7 35
String array comparison 4 32
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now