You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Ruwan Linton <ru...@gmail.com> on 2008/02/09 19:27:12 UTC

Re: Synapse and Java 1.4?

Hi Asankha,

Cc:ing the dev list as well.

I think we should support jdk 1.6 and 1.5 both at the same time (we can not
move out from the jdk 1.5 at this moment because still there are
considerable amount of use cases for 1.5 with compared to 1.6). We need to
find a mechanism to handle the Script mediator separately in the two
environments (1.5 and 1.6).

Thanks,
Ruwan

On Feb 9, 2008 11:39 PM, Asankha C. Perera <as...@wso2.com> wrote:

> Hi Andreas
> > Given that most of Synapse's code is still Java 1.4, what are actually
> > the Java 5 language features or APIs Synapse relies on?
> Mostly, it is the NIO based http*s* transport as the SSLEngine class was
> only introduced in JDK 1.5.x.. but we had this debate sometime back on
> Synapse, and I do not think the issue of the JDK used by Synapse will
> effect any of the systems it will integrate it at all - i.e. you could
> use JDK 1.5 for Synapse on a machine, and simultaneously use a JDK 1.4
> version for another app.. or use VMWare etc like many do even on
> production systems etc..
> > Since I'm working in the same environment I'm facing the same
> > restriction with another Open Source library, and I had a look into
> > retrotranslation tools that convert Java 5 bytecode to Java 1.4
> > compatible bytecode. Retrotranslator
> > (http://retrotranslator.sourceforge.net/) seems very promising because
> > it not only covers all Java 5 language features but also important
> > parts of the Java 5 APIs. Did anybody already study the question if it
> > would be possible to run Synapse on Java 1.4 with the help of this
> > kind of tool?
> I am totally cool with someone volunteering to do this, and keep
> supporting this - however I think we should also support JDK 1.6 pretty
> soon as many people use that already and one of the core issues is
> supporting the script mediator in this environment.. So as long as we
> can code in JDK 1.5, or 1.6 etc and stuff like retrotranslator will keep
> the backwards compatibility things should be fine :)
>
> asankha
>
>


-- 
Ruwan Linton
http://www.wso2.org - "Oxygenating the Web Services Platform"