OK-- I've edited the wiki page to indicate that any users wishing to try
retrotranslator should read this thread first (with a link to it on
nabble).

-Chris

-----Original Message-----
From: Roelofsen, Roman [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 12:37 PM
To: [email protected]; [EMAIL PROTECTED]
Subject: RE: Java 1.4


I tried.

Retrotranslater maps thinks like

- Annotation API
- StringBuilder -> StringBuffer

But NOT

- java.util.Properties.loadFromXML
- and hundreds of other methods
- and hundreds of new classes

I got it working by using Apache Harmony to override/add the missing
classes etc. In addition, the result was based on OSGi. Several CXF
bundles, a "service" bundle, etc. I talked about this at the latest OSGi
conference in Munich. You can download the presentation here:

http://www2.osgi.org/wiki/uploads/Conference/OSGiCommunity-Roelofsen.pdf

But I would not consider the result "production ready". Things can
easily break.

Cheers,

Roman


> -----Original Message-----
> From: Daniel Kulp [mailto:[EMAIL PROTECTED]
> Sent: 17 July 2007 17:23
> To: [email protected]
> Subject: Re: Java 1.4
> 
> 
> On Tuesday 17 July 2007 08:49, Roelofsen, Roman wrote:
> > With retrotranslator you only solve language problems like
> >
> > - generics
> > - annotations
> > - etc
> >
> > But CXF also uses new classes introduced in Java5, existing classes
> > got new methods, etc. So the bigger problem is running CXF with a
> > Java4 library. You could use a project like Apache Harmony to fill
> > this gap. But to make the result production ready is a lot of work.
> 
> 
> retrotranslator also maps many of the new methods and classes into 
> classes in the retrotranslator-runtime jar.   Has anyone 
> actually tried 
> it with the CXF bundle yet?
> 
> Dan
> 
> 
> >
> > Cheers,
> >
> > Roman
> >
> > > -----Original Message-----
> > > From: Christopher Moesel [mailto:[EMAIL PROTECTED]
> > > Sent: 17 July 2007 13:44
> > > To: [email protected]
> > > Subject: RE: Java 1.4
> > >
> > >
> > > Lukas,
> > >
> > > You may be able to use CXF with the help of Retrotranslator.
> > > This is an
> > > open source project that translates 1.5 byte code to
> > > 1.4-compatible byte
> > > code.  More info here:
> > >
> > > http://retrotranslator.sourceforge.net/
> > >
> > > -Chris
> > >
> > > -----Original Message-----
> > > From: Willem Jiang [mailto:[EMAIL PROTECTED]
> > > Sent: Tuesday, July 17, 2007 1:57 AM
> > > To: [email protected]
> > > Subject: Re: Java 1.4
> > >
> > >
> > > CXF works on JDK 1.5.  We do not support JDK 1.4 yet.
> > >
> > > Lukas Zapletal wrote:
> > > > Hello,
> > > >
> > > > will CXF work under JRE 1.4? It seems the source code isuses 5.0
> > > > syntax...
> 
> -- 
> J. Daniel Kulp
> Principal Engineer
> IONA
> P: 781-902-8727    C: 508-380-7194
> [EMAIL PROTECTED]
> http://www.dankulp.com/blog
> 

Reply via email to