• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

APIs relevant to the assignment???

 
Long Ng
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
From the "Description of the Developer Assignment" on Sun's site I see this:

- The following APIs and facilities may not be used:
+ Enterprise JavaBeans [AGREE]
+ Servlets, JSP technology, or any other web-oriented APIs [AGREE]
+ NIO, the New IO facilities [WHY NOT???]
+ Java DataBase Connectivity (JDBC) and SQL [AGREE]
+ Java IDL API and CORBA [AGREE]
+ Third party software libraries or tools (such as browsers) [AGREE]

You see, why the New IO facilities is not allow here. I think the new is better and Sun always want the developer using the latest technology/version of JDK in most of the project.

Any idea?
Just make it clear.
Thanks,
Long
 
Bob Nedwor
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see your point, Long. But maybe your point is outside the purpose of the exam. I am not familiar with the nio classes, but I imagine that they would give us a relatively quick and easy way to do something in the exam that is supposed to otherwise help demonstrate that we can work through.

Good for you for tyring to stay on top of the more recent technologies. I really like using jdbc with Oracle, myself, especially over using the RandomAccessFile class on a flat file. But it seems like they want us to prove that we are flexible, and can work through problems while dealing with various contraints, too. Not being able to use nio is just another one of those constraints. Others have done it, so you can too.

They may also want to see how we stack up against all the other certified SCJDs that did not have the advantage of the nio classes, keeping the results more consistent with what they used to be.

I hope this helps.
 
Ed Tse
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be w/ NIO, you can get around multithreading and would not need to do locking.

Hey, this might be sidetracked to scjd, but can you give me a brief lesson on the advantage of NIO? At what situation is it better? My company still uses java 1.3 to compile our source code so we tried to stay away from newer classes. I guess it'll be soon that 1.3 complicant is no longer a requirement.
[ March 04, 2006: Message edited by: Ed Tse ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12007
215
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be aware that the definitive list of what is allowed (or not allowed) is what is stated in the instructions you download as part of your assignment.

In other words - if your assignment instructions do not disallow the use of NIO, then you are allowed to use it.

Regards, Andrew
 
Long Ng
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Andrew,
From your link I found out that I could use the NIO in my assignment because
the instructors file doesn't said that the NIO is disallow in my assignment.
In fact, I would like to use the old IO than the NIO because it's the foundation of IO in java and it's good for my assignment study project, also.

Long.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic