how to make work a web service compiled with java 1.3 in a java 1.6 project? -
i'm working on java ee application made flash builder 3, hibernate, apache cxf , spring. jre i'm using 1.6. i've service has compiled java 1.3. application server tomcat 6.
here's problem, how can work 1.6 , 1.3 @ same time? fact of mentionning classes should compiled 1.3 compatibility enough?
otherwise, should use 2 different tomcat version (one i'll deploy 1.6 services & other particular service) communicate??? , need use axis on 1.3 side??
i'm pretty lost, , architecture im supposed use welcome.
thanx
if understand correctly, want develop java 1.6 , deploy java 1.3 web container. that's going difficult do. use retroweaver make classes compiled 1.6 compatible 1.3. can use enums, generics , few other things.
you restricted on system , third party libraries can use. can't use system classes , methods aren't in 1.3 (note 1.4 , 1.5 introduced lot of useful classes). same apply libraries depend on. , if they're compiled version later 1.3 you'll have use retroweaver on too. not mention need version of tomcat runs on 1.3.
it'll painful setup , maintain this, if it's feasible. , if you're deploying them services can run on 1.6, it'd severely restricting well. you'll better off 2 projects, 1 1.3 , 1 1.6. it's have services communicate, e.g. rest or rmi.
Comments
Post a Comment