my dog learned polymorphism*
The moose likes Features new in Java 7 and the fly likes Who uses Java 7? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Features new in Java 7
Bookmark "Who uses Java 7?" Watch "Who uses Java 7?" New topic
Author

Who uses Java 7?

Ben Becker
Greenhorn

Joined: Nov 08, 2011
Posts: 1
I'd like to get a general overview who actually uses J7 by now. Which problems did you encounter? If you don't use it (yet) - why not?

Our company is still waiting for one or two more updates, since we experienced serious problems running our applets on J7

I think this is a good place to ask a question like this.

Ben Becker
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Hi and welcome to the JavaRanch.

This is certainly the place for this kind of question. I use Java 7 for almost everything. I do this to get experience with the new features and haven't run into any problems just yet.


"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Enterprises may not be quick to make a change, but I am sure over the few months all would transition to Java 7

Though for things apart from work I use Java 7 without even realising I am using it


Mohamed Sanaulla | My Blog
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Mohamed Sanaulla wrote:I am sure over the few months all would transition to Java 7

I doubt that. Businesses are loth to make infrastructure changes without a pressing need. It's not like Java 7 offers a whole lot that makes a tangible difference for server-side computing. And not much that makes a difference even if you start changing the code. Totally making this number up, I think that by the end of 2012, no more than 50% of enterprises will have switched. Keep in mind that Java 6 is still supported and will -for the time being- see further security fixes.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19684
    
  20

To be honest, there is only one feature from Java 7 that I have really needed - URLClassLoader's close method. Without it, URLClassLoader locks JAR files longer than is necessary in our environment.
However, because I'm not allowed to upgrade the JRE on the server from 6 to 7 I can't even use that. I ended up writing two class loaders myself - one for JAR files, one for directories. They can't handle JAR file class paths (yet) but that's mostly because we didn't need that (yet).


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Tim Moores wrote:
Mohamed Sanaulla wrote:I am sure over the few months all would transition to Java 7

I doubt that. Businesses are loth to make infrastructure changes without a pressing need. It's not like Java 7 offers a whole lot that makes a tangible difference for server-side computing. And not much that makes a difference even if you start changing the code. Totally making this number up, I think that by the end of 2012, no more than 50% of enterprises will have switched. Keep in mind that Java 6 is still supported and will -for the time being- see further security fixes.

Actually I agree with you.
I should have mentioned "few years" but then I thought it would be too much of a time.
Why I was thinking that enterprises would move is because- even though there arent anything special out there, there aren't any changes which would break the existing Java 6 based applications. So it would be just like any other update for the Java applications.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Mohamed Sanaulla wrote:there aren't any changes which would break the existing Java 6 based applications.

That's the theory, anyway :-)

The important point is that it takes time and effort in testing and deploying. If there is no payback, why bother? The time of an employee is not free for the business in the same way you might consider your own time (that it takes to update your Java installation) to be free.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
What "testing" link is that in my previous post? I did not put it there, and I don't agree with it. Is there any way to remove it?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19684
    
  20

There isn't. A few words get converted into links automatically. There are double underlined links like in XLS which indicate sponsorships, and dotted underlined links like testing, HashMap or SSCCE that are just very useful links and API links.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Can't say I find it useful, and it looks like I'm endorsing it; it's quite different from the XLS link - rather like the (uncontroversial) HashMap link. That's quite a sneaky way to add links to opinion pieces.
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Mohamed Sanaulla wrote:Enterprises may not be quick to make a change, but I am sure over the few months all would transition to Java 7


Where I work, we finally managed to switch to Java 6 earlier this year. We don't even have a Java 7 JVM for some of the systems we run Java on, so naturally we won't be converting to Java 7 for a while. Not to mention that the IDE we design in doesn't support Java 7 yet.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61103
    
  66

It'll be a long time for me. I've got work to do and I generally let others vet the release before using it for production software, which is all that I write.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

i use java7. i also had a problem running an applet but it is because my browsers still use the java6 JRE. for now i just ran it in eclipse to make sure it worked. if i uninstall the java6 JRE maybe everything will be fine. i have no problem compiling or running programs from the command line.


SCJP
Visit my download page
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4340
    
    2

i realized my post might be a little misleading. i just recently got this laptop so i decided to install the latest version of java. if i already had java6 or even java5 i wouldn't have bothered to upgrade.

by the way, why can i not edit my posts anymore? i had to reply rather than just edit my last post.

now this is flat out weird. i can edit this post but not the previous one.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14117
    
  16

Since February this year I've been working on a project where we're developing a brand new system, server-side software, without a Java EE container. We're using Java 6. We briefly considered moving to Java 7, but we decided against it because it's an unnecessary risk. Not all the libraries and tools that we use have been thoroughly tested or updated to work with Java 7.

The company I worked for last year had just switched from Java 5 to Java 6.

I don't expect to be using Java 7 for any real commercial project very soon - companies aren't so quick with switching.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

I'm with the "not going to be soon" folks. Enterprise software doesn't go early, they wait for others to get the arrows in the back.

And I've not seen any compelling new features. Its good that old bugs are being fixed, but that is not likely to push adoption.
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

In enterprise, they can not make the early adoption on upgrading to the latest versions. They have to look on many other applications whether which is compatiable with Java 7 and more over budget. But, many of the product companies will start use the latest versions immediately.


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

Pat Farrell wrote:And I've not seen any compelling new features. Its good that old bugs are being fixed, but that is not likely to push adoption.

My experience is not very broad, but from what I've seen, end of support is the thing that pushes adoption most.

(I've lived through two database upgrades at a large client of ours. They were both happening at the time they'd have to start paying extra for support of the old version...)
Claude Moore
Ranch Hand

Joined: Jun 24, 2005
Posts: 450
    
    1

I think that we will continue to develop our client applications with JDK 1.6; meanwhile we ask costumer for upgrade their JRE enviroments to Java 7.
Piyush Joshi
Ranch Hand

Joined: Jun 10, 2011
Posts: 207

One compelling reason for enterprise applications to move to Java 7 might be its new G1 garbage collector, which seems quite promising for applications with huge memory.

Our current web application is running poorly even on 6 GB heap size, now with Java 7 we are expecting it to perform better. Lets see how it turns out to be....

One more rather trivial observation was in terms of reduction of build times. With JDK 6 it was taking around 3 mins for our application to build, but with JDK 7 it takes around 20 secs :O .


Piyush
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

Piyush Joshi wrote:One more rather trivial observation was in terms of reduction of build times. With JDK 6 it was taking around 3 mins for our application to build, but with JDK 7 it takes around 20 secs :O .


I would not call that trivial. Time spent waiting for the compilation system breaks the flow of the edit/compile/debug cycle. Making it faster is known to improve the productivity of the engineers. Which directly drives cost. Going from ~180 seconds to ~20 is nearly ten to one. That is a huge improvement.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14117
    
  16

Jesper de Jong wrote:I don't expect to be using Java 7 for any real commercial project very soon - companies aren't so quick with switching.

Well, it goes quicker than I thought. Right now I'm working on a new project, in which we are using Java 7. It's a pilot project (intended to demonstrate that the general idea of what the software is supposed to be doing, is going to work), but if the pilot is successful then we're going to build real production software using Java 7.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16022
    
  20

I'm using Java 7 on some machines, but it's just because that's what was available to install - I'm not yet using it as "Java 7".

Then again, I never really pulled out all the stops on Java 6.


Customer surveys are for companies who didn't pay proper attention to begin with.
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

Tim Holloway wrote:Then again, I never really pulled out all the stops on Java 6.


There were stops to pull on Java 6? I remember 5 having generics and better for loops, but I don't remember anything of note in 6. Did I miss anything?
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38513
    
  23
SwingWorker?
Pat Farrell
Rancher

Joined: Aug 11, 2007
Posts: 4650
    
    5

Campbell Ritchie wrote:SwingWorker?


I haven't used Swing or AWT this century. All web servers talking to browsers, or specialized servers talking to devices. So anything in the native Java GUI space would completely escape my notice.
Mohamed Iqzas
Ranch Hand

Joined: Jan 02, 2012
Posts: 59

Right from when I started learning JAVA, it was just JAVA 6 that I all heard of. When I'm just bothered about learning more and more features in JAVA 6, people have started pushing for JAVA 7 like in this thread. Are there more to learn for a developer with JAVA 7's new features? Do i have to make a big effort or I'll be learning as I do JAVA As Usual? (thats what I did so far). I just dont want to be left behind. :-) How long do I have to stick around JAVA 6?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3068
    
  33

Mohamed Iqzas wrote:Right from when I started learning JAVA, it was just JAVA 6 that I all heard of. When I'm just bothered about learning more and more features in JAVA 6, people have started pushing for JAVA 7 like in this thread. Are there more to learn for a developer with JAVA 7's new features? Do i have to make a big effort or I'll be learning as I do JAVA As Usual? (thats what I did so far). I just dont want to be left behind. :-) How long do I have to stick around JAVA 6?

Learning java 7 features (language and API changes) should be quite straight forward.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Who uses Java 7?