from JDK 1.0.2 to JDK 1.1.5 ...

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.
DeladierAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

scousins020498Commented:
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
shogiCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.