Moving on to Java 8?

Wednesday, 27 September 2017 · 5 messages · last reply 28 Sep 2017
CG
Christian Grün27 Sep 2017 13:19 #
Dear all, Java 9 has just been released. As you may know, the BaseX code base is still compatible with Java 7, because version 7 is still used in the wild (we even got various user complaints when we upgraded from Java 6 just a few years ago). There are several reasons why we will move along to Java 8 in the near future: * It is more and more unsafe to use Java 7, because Oracle has stopped support two years ago. * From the developer point of view, there are only advantages when working with more recent versions of a software: newer language features and standard libraries can be used, the code base can be reduced, etc. * We would like to switch to the newest version of Jetty, which requires Java 8. Before we approach further, we are interested in hearing your reactions: Do you still work with Java 7? Would some of you require longtime support for Java 7? Thanks in advance and all the best, Christian
GS
George Sofianos27 Sep 2017 15:19 #
I think it's great that BaseX is moving to Java 8. However I don't have a dependency on Java 7 so my opinion might be biased :) Hopefully more people agree with that. George
Quoted text · Christian Grün · 26 lines
On 09/27/2017 02:19 PM, Christian Grün wrote: > Dear all, > > Java 9 has just been released. As you may know, the BaseX code base is > still compatible with Java 7, because version 7 is still used in the > wild (we even got various user complaints when we upgraded from Java 6 > just a few years ago). > > There are several reasons why we will move along to Java 8 in the near future: > > * It is more and more unsafe to use Java 7, because Oracle has stopped > support two years ago. > > * From the developer point of view, there are only advantages when > working with more recent versions of a software: newer language > features and standard libraries can be used, the code base can be > reduced, etc. > > * We would like to switch to the newest version of Jetty, which requires Java 8. > > Before we approach further, we are interested in hearing your > reactions: Do you still work with Java 7? Would some of you require > longtime support for Java 7? > > Thanks in advance and all the best, > Christian
ML
Marco Lettere27 Sep 2017 15:23 #
Hi Christian, most important thing for us is moving to Jetty 9 thus cutting down the dependency to Java 7 feels like a completely favorable deal! Anyway thanks for asking! Regards, Marco.
Quoted text · George Sofianos · 37 lines
On 27/09/2017 15:19, George Sofianos wrote: > I think it's great that BaseX is moving to Java 8. However I don't > have a dependency on Java 7 so my opinion might be biased :) Hopefully > more people agree with that. > > George > > > On 09/27/2017 02:19 PM, Christian Grün wrote: >> Dear all, >> >> Java 9 has just been released. As you may know, the BaseX code base is >> still compatible with Java 7, because version 7 is still used in the >> wild (we even got various user complaints when we upgraded from Java 6 >> just a few years ago). >> >> There are several reasons why we will move along to Java 8 in the >> near future: >> >> * It is more and more unsafe to use Java 7, because Oracle has stopped >> support two years ago. >> >> * From the developer point of view, there are only advantages when >> working with more recent versions of a software: newer language >> features and standard libraries can be used, the code base can be >> reduced, etc. >> >> * We would like to switch to the newest version of Jetty, which >> requires Java 8. >> >> Before we approach further, we are interested in hearing your >> reactions: Do you still work with Java 7? Would some of you require >> longtime support for Java 7? >> >> Thanks in advance and all the best, >> Christian >
KD
Kirsten, Dirk27 Sep 2017 20:15 #
Hi Christian, +1 from me as well. However, I have to say that the enterprisey customer(tm) I currently work for still uses Java 7 (because whatever...) and I would imagine it is not unheard of in the rest of the enterprise world. But I wouldn't worry too much about it: First, for the ad-hoc stuff they use we could still use older versions of BaseX. And secondly I think the gain of using Java 8 is much, much higher. Also, the switch to Jetty 9 sounds very promising to me. I would be really interested if maybe using some Java 8 language features (parallel streams and so on) might even benefit BaseX performance. All the best Dirk Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546 Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Gr?zinger -----Urspr?ngliche Nachricht-----
Quoted text · basex-talk-bounces at mailman.uni-konstanz.de · 46 lines
Von: basex-talk-bounces at mailman.uni-konstanz.de [mailto:basex-talk-bounces at mailman.uni-konstanz.de] Im Auftrag von Marco Lettere Gesendet: Mittwoch, 27. September 2017 15:23 An: basex-talk at mailman.uni-konstanz.de Betreff: Re: [basex-talk] [basex-announce] Moving on to Java 8? Hi Christian, most important thing for us is moving to Jetty 9 thus cutting down the dependency to Java 7 feels like a completely favorable deal! Anyway thanks for asking! Regards, Marco. On 27/09/2017 15:19, George Sofianos wrote: > I think it's great that BaseX is moving to Java 8. However I don't > have a dependency on Java 7 so my opinion might be biased :) Hopefully > more people agree with that. > > George > > > On 09/27/2017 02:19 PM, Christian Gr?n wrote: >> Dear all, >> >> Java 9 has just been released. As you may know, the BaseX code base >> is still compatible with Java 7, because version 7 is still used in >> the wild (we even got various user complaints when we upgraded from >> Java 6 just a few years ago). >> >> There are several reasons why we will move along to Java 8 in the >> near future: >> >> * It is more and more unsafe to use Java 7, because Oracle has >> stopped support two years ago. >> >> * From the developer point of view, there are only advantages when >> working with more recent versions of a software: newer language >> features and standard libraries can be used, the code base can be >> reduced, etc. >> >> * We would like to switch to the newest version of Jetty, which >> requires Java 8. >> >> Before we approach further, we are interested in hearing your >> reactions: Do you still work with Java 7? Would some of you require >> longtime support for Java 7? >> >> Thanks in advance and all the best, >> Christian >
RK
Ron Katriel28 Sep 2017 01:05 #
Hi Christian, The Mac I use for development has Java 8 natively so no issue. We also have BaseX deployed on a GNU/Linux VM running Java 7 (details below). Would we need to upgrade the JRE or JDK to Java 8 to make it work with the new versions of BaseX? This machine is dedicated to our project so presumably we should be able upgrade it to Java 8 without affecting anyone else. Thanks, Ron
$ java -version

java version "1.7.0_111"
OpenJDK Runtime Environment (rhel-2.6.7.8.el7-x86_64 u111-b01) OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode) Ron Katriel, Ph.D. | Principal Data Scientist | Medidata Solutions <http://www.mdsol.com/> 350 Hudson Street, 7th Floor, New York, NY 10014 rkatriel at mdsol.com <tbrophy at mdsol.com> | direct: +1 201 337 3622 <//201 337 3622> | mobile: +1 201 675 5598 <//+1 201 675 5598> | main: +1 212 918 1800 <//+1 212 918 1800>
Quoted text · Dirk (dirk.kirsten at senacor.com) · 2 lines
On September 27, 2017 at 2:15:37 PM, Kirsten, Dirk (dirk.kirsten at senacor.com) wrote:
Hi Christian, +1 from me as well. However, I have to say that the enterprisey customer™ I currently work for still uses Java 7 (because whatever...) and I would imagine it is not unheard of in the rest of the enterprise world. But I wouldn't worry too much about it: First, for the ad-hoc stuff they use we could still use older versions of BaseX. And secondly I think the gain of using Java 8 is much, much higher. Also, the switch to Jetty 9 sounds very promising to me. I would be really interested if maybe using some Java 8 language features (parallel streams and so on) might even benefit BaseX performance. All the best Dirk Senacor Technologies Aktiengesellschaft - Sitz: Eschborn - Amtsgericht Frankfurt am Main - Reg.-Nr.: HRB 105546 Vorstand: Matthias Tomann, Marcus Purzer - Aufsichtsratsvorsitzender: Daniel Grözinger
Quoted text · Kirsten, Dirk · 50 lines
-----Ursprüngliche Nachricht----- Von: basex-talk-bounces at mailman.uni-konstanz.de [ mailto:basex-talk-bounces at mailman.uni-konstanz.de <basex-talk-bounces at mailman.uni-konstanz.de>] Im Auftrag von Marco Lettere Gesendet: Mittwoch, 27. September 2017 15:23 An: basex-talk at mailman.uni-konstanz.de Betreff: Re: [basex-talk] [basex-announce] Moving on to Java 8? Hi Christian, most important thing for us is moving to Jetty 9 thus cutting down the dependency to Java 7 feels like a completely favorable deal! Anyway thanks for asking! Regards, Marco. On 27/09/2017 15:19, George Sofianos wrote: > I think it's great that BaseX is moving to Java 8. However I don't > have a dependency on Java 7 so my opinion might be biased :) Hopefully > more people agree with that. > > George > > > On 09/27/2017 02:19 PM, Christian Grün wrote: >> Dear all, >> >> Java 9 has just been released. As you may know, the BaseX code base >> is still compatible with Java 7, because version 7 is still used in >> the wild (we even got various user complaints when we upgraded from >> Java 6 just a few years ago). >> >> There are several reasons why we will move along to Java 8 in the >> near future: >> >> * It is more and more unsafe to use Java 7, because Oracle has >> stopped support two years ago. >> >> * From the developer point of view, there are only advantages when >> working with more recent versions of a software: newer language >> features and standard libraries can be used, the code base can be >> reduced, etc. >> >> * We would like to switch to the newest version of Jetty, which >> requires Java 8. >> >> Before we approach further, we are interested in hearing your >> reactions: Do you still work with Java 7? Would some of you require >> longtime support for Java 7? >> >> Thanks in advance and all the best, >> Christian >

⚡Generated with XQuery