Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDK version

 
Josephx Rainerd
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I downloaded my assignment 6 months back. I coded as per jdk1.4.
Do I need to do ANYTHING other than making sure it compiles and without warning with jdk1.5 and runs?

Thanks
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Technically maybe not, but I do think the assessors will by now be looking at places where you could have better used 1.5 language features, especially things like genericised Collections and the new for loop are relatively easy to build in so why not use them?

They also prevent compiler warnings, and I've been taught to always code to get no warnings.
Similarly, I've used the @SuppressWarnings pragma (oops, annotation) in several places, mainly to prevent the warning about not having a SerialVersionId in my Swing classes.

It's a display of your language skills after all, so showing you can use the new language features to good effect will I think and hope influence your score positively.
 
Manuel Comnenus
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could someone comment on whether the decision to use JDK 1.4 or 5 can be justified as one of the design decisions that support the finished app? In the real world, for example, a decision to use 1.4 could be justified in some cases on time-to-market issues. Regardless of the technical merits of Java 5, using 1.4 could be the right thing to do. The question that Josephx is raising seems like 1.4 could possibly be justified on time-to-market or other issues, even if there are no other developers collaborating on the project.

Thanks,
Steve
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
At this moment you're not allowed by the customer to use anything BUT 5.0, so that's what you have to use.

That's a hard customer requirement, the project implementation will be rejected if you use anything else.
 
Manuel Comnenus
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeroen,

A recent response by Barry Gaunt...

"... and you can do it with SCJP 1.4, you don't need to upgrade to SCJP 5.
I hope that covers all possibilities "

I have the impression that you cannot use an older version (i.e. 1.4) if a new er version has been available for at least 18 months. At the same time, I would generally be comfortable with the advice from a bartender.

Can you further clarify ?

Thanks,
Steve
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can use 1.4 during development but you MUST make sure it compiles and runs without errors (and of course fully functional) on 5.0.
To me that means it should compile without any warnings as well, which means using several 1.5 language features. Barry maybe isn't as strict about that.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was writing about the SCJP certification version and not the SDK version
The original poster's question in the other thread was a little unclear.
 
Manuel Comnenus
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Jeroen and Barry,

Thank you for clearing up the confusion.

Steve
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic