You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Lukas Zapletal <lu...@gmail.com> on 2007/07/17 07:49:07 UTC
Java 1.4
Hello,
will CXF work under JRE 1.4? It seems the source code isuses 5.0 syntax...
--
Lukas Zapletal
http://lukas.zapletalovi.com
RE: Java 1.4
Posted by Christopher Moesel <Ch...@avid.com>.
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:Roman.Roelofsen@iona.com]
Sent: Tuesday, July 17, 2007 12:37 PM
To: cxf-user@incubator.apache.org; dkulp@apache.org
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:dkulp@apache.org]
> Sent: 17 July 2007 17:23
> To: cxf-user@incubator.apache.org
> 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:Christopher_Moesel@avid.com]
> > > Sent: 17 July 2007 13:44
> > > To: cxf-user@incubator.apache.org
> > > 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:ning.jiang@iona.com]
> > > Sent: Tuesday, July 17, 2007 1:57 AM
> > > To: cxf-user@incubator.apache.org
> > > 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
> daniel.kulp@iona.com
> http://www.dankulp.com/blog
>
RE: Java 1.4
Posted by "Roelofsen, Roman" <Ro...@iona.com>.
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:dkulp@apache.org]
> Sent: 17 July 2007 17:23
> To: cxf-user@incubator.apache.org
> 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:Christopher_Moesel@avid.com]
> > > Sent: 17 July 2007 13:44
> > > To: cxf-user@incubator.apache.org
> > > 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:ning.jiang@iona.com]
> > > Sent: Tuesday, July 17, 2007 1:57 AM
> > > To: cxf-user@incubator.apache.org
> > > 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
> daniel.kulp@iona.com
> http://www.dankulp.com/blog
>
Re: Java 1.4
Posted by Daniel Kulp <dk...@apache.org>.
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:Christopher_Moesel@avid.com]
> > Sent: 17 July 2007 13:44
> > To: cxf-user@incubator.apache.org
> > 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:ning.jiang@iona.com]
> > Sent: Tuesday, July 17, 2007 1:57 AM
> > To: cxf-user@incubator.apache.org
> > 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
daniel.kulp@iona.com
http://www.dankulp.com/blog
RE: Java 1.4
Posted by "Roelofsen, Roman" <Ro...@iona.com>.
IMHO, yes.
> -----Original Message-----
> From: Christopher Moesel [mailto:Christopher_Moesel@avid.com]
> Sent: 17 July 2007 14:11
> To: cxf-user@incubator.apache.org
> Subject: RE: Java 1.4
>
>
> Thanks for the extra info, Roman. I was going based on a
> snippet in the
> XFire Migration Guide on the WIKI:
>
> "The only other reason not to migrate to CXF that we see is a
> requirement for Java 1.4. Although, we would encourage users to take a
> look at using CXF on Java 1.4 via Retrotranslator."
>
> Should that last sentence be removed then?
>
> -Chris
>
> -----Original Message-----
> From: Roelofsen, Roman [mailto:Roman.Roelofsen@iona.com]
> Sent: Tuesday, July 17, 2007 8:49 AM
> To: cxf-user@incubator.apache.org
> Subject: RE: Java 1.4
>
>
> 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.
>
> Cheers,
>
> Roman
>
> > -----Original Message-----
> > From: Christopher Moesel [mailto:Christopher_Moesel@avid.com]
> > Sent: 17 July 2007 13:44
> > To: cxf-user@incubator.apache.org
> > 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:ning.jiang@iona.com]
> > Sent: Tuesday, July 17, 2007 1:57 AM
> > To: cxf-user@incubator.apache.org
> > 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...
> > >
> >
>
RE: Java 1.4
Posted by Christopher Moesel <Ch...@avid.com>.
Thanks for the extra info, Roman. I was going based on a snippet in the
XFire Migration Guide on the WIKI:
"The only other reason not to migrate to CXF that we see is a
requirement for Java 1.4. Although, we would encourage users to take a
look at using CXF on Java 1.4 via Retrotranslator."
Should that last sentence be removed then?
-Chris
-----Original Message-----
From: Roelofsen, Roman [mailto:Roman.Roelofsen@iona.com]
Sent: Tuesday, July 17, 2007 8:49 AM
To: cxf-user@incubator.apache.org
Subject: RE: Java 1.4
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.
Cheers,
Roman
> -----Original Message-----
> From: Christopher Moesel [mailto:Christopher_Moesel@avid.com]
> Sent: 17 July 2007 13:44
> To: cxf-user@incubator.apache.org
> 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:ning.jiang@iona.com]
> Sent: Tuesday, July 17, 2007 1:57 AM
> To: cxf-user@incubator.apache.org
> 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...
> >
>
RE: Java 1.4
Posted by "Roelofsen, Roman" <Ro...@iona.com>.
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.
Cheers,
Roman
> -----Original Message-----
> From: Christopher Moesel [mailto:Christopher_Moesel@avid.com]
> Sent: 17 July 2007 13:44
> To: cxf-user@incubator.apache.org
> 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:ning.jiang@iona.com]
> Sent: Tuesday, July 17, 2007 1:57 AM
> To: cxf-user@incubator.apache.org
> 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...
> >
>
RE: Java 1.4
Posted by Christopher Moesel <Ch...@avid.com>.
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:ning.jiang@iona.com]
Sent: Tuesday, July 17, 2007 1:57 AM
To: cxf-user@incubator.apache.org
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...
>
Re: Java 1.4
Posted by Willem Jiang <ni...@iona.com>.
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...
>