Difference between jdk 1.4 and jdk 1.5
hi,
can anyone help me out.
i have an application, for which i prepare a war file(using jdk 1.4) and deploy it on weblogic 8.1, it is working fine.
but when i use weblogic 9.1, i need to compile the whole application in jdk 1.5, and then i prepare the war file and deploy on the weblogic server 9.1.it is givin me error.
java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
although all the necessary jars are added in the classpath, for JAXB.
Is there difference, which i need to consider, for JAXB which i might be ignoring in JDK 1.5.
help me out.
thanks in advance
prashant
check the following thing before upgrading:
1.JDK 1.4.2 doesn抰 enforce strong type checking against file names and its corresponding public class name. However JDK 1.5.0 mandates the public class names to match with the Java file names
2.In JDK 1.4.2 enum is not a reserved word and it抯 used in few java files as variable names. In JDK 1.5.0 enum is a keyword and it can抰 be used as variable name. Latest version of apache axis is complaint to JDK1.5.0 and enum keyword reference is renamed to constants.
3.WebLogic 9.x introduced interface changes for WebServiceResources.
4.NextJet application code deployed in weblogic 8.1 environment uses 揬?or 揬\?in security role implementation. In Weblogic 9.1 揬?is not supported in security configuration. This has to be replaced with an alternative ? Below is the list of files modified to accommodate this.
5.Part of Weblogic 9.1 porting couple of third party library files (like XDoclet, Apache Axis, xerces, Axis etc) and JDK library files needs to be upgraded to higher version than that抯 used in weblogic 8.1 code base
6.some special char will added in some jsp files while upgrading ,so remove them.
7.Weblogic 9.1 deployment & server directory structure is different than of its predecessor 8.1.
8Change all the third party library files that got updated / changed during WebLogic 9.1 application porting