james hoskins

Ranch Hand
+ Follow
since Jun 28, 2001
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by james hoskins

Regarding this debate over which certification to do first:
I have started both the SCJD and SCWCD. It has already been pointed out that they both cover different aspects of java tecnologies and it would seem rather blinkered to think of one without the other. From my point of view, once I have completed these two its on to SCEA - learning about EJB's and J2EE design patterns. Hey, then I could go on to J2ME and JINI, not to get certified, just to figure out how it works and do some cool stuff with it!!!
I agree with Axel, you could use Tomcat in a production environment, as long as you remain aware of its limitations. If you are looking for support for EJB,s and some load balancing + failover for free then give JBoss a go. It's open source, written in java and seems to do the job very nicely.
Try it at <a href="http://www.jboss.org/index.jsp">JBoss</a>.
A friend of mine sent me this article. I think it makes some encouraging reading.
wirelessnews
16 years ago
hi suresh,
i passed my SCJP a couple of weeks ago, and like you have no development experience. i spent a week or so looking at various books and websites trying to get a feel for the best way to tackle this exam. in the end i decided the best thing for me would be to get an overall feel for the development process as well as concentrating exclusively on Developer Certification. In practice, this means that I am looking at some of the objectives for the Architect exam, reading up on UML and design patterns.
I have found the Roberts, Heller and Ernest Complete Java 2 book to be a usefull introduction to the exam particularly in highlighting the different design choices you can make and their respective strengths and weaknesses. This seems to me to be an essential part of preparing for the essay exam. From what I read on these pages, it seems if you are confident of you design choices and can justify them compared with the other options then the essay is a relatively easy exercise.
As Peter says above, after getting through this thing we should be much better developers which is a profoundly cheering thought.
best of luck,
james.
hey tony,
sorry to hear about the exam, i can only repeat what others have said and encourage you to take heart in the fact that others have failed and then come back stronger.
have a go at the whole mughal book, going over the questions until you get most of them right. they are harder than the questions in the exam i think. when you score well on those go through marcus green's study notes and then take his mock exams.
the next time you do the test you'll pass with flying colours.
kind regards,
james
16 years ago
hi,
i passed the exam today with 74% and would just like to say thankyou for the help javaranch gave me in getting this.
for anyone thinking of taking the exam, you should know that six months ago i had no programming experience in any language. from a cold start i used this site and the khalid mughal book to get up to speed, writing plenty of practice code on the excellent textpad text editor. in the last few weeks i used the jchq site, working through the revision notes - which are very good - and the practice exams - my first time marks on these were in the 80,s.
taking the exam i found plenty of questions on threads and io so if you are going to take the exam make sure you are comfortable with these. i scored 100% on these subjects and did less well on some of the simpler stuff!
now that i have this under my belt i'm going to take the developer exam and get myself some work.
see you later,
and once again thanks,
James Hoskins.
16 years ago
hello monowar,
when you consider an object in java you have to think about two different types of relationship: "is a" and "has a".
an object will always inherit characteristics from a more basic object; for example a cat showing the characteristics of a mammal.
an object can also be made up of other objects - a process called aggregation - which is defined as a "has a" relationship. thus a cat "has a" tail and "has a" set of whiskers.
when you look at a class you can see the "is a" relationship expressed in the extends clause, for example MyClass extends Frame. you can see the "has a" relationship by looking for the new operator. when a class like MyClass contains a statement like this:
Button b = new Button("OK");
it is in fact creating an aggregate object - MyClass "has a" Button.
kind regards,
james
hi,
Error does have sub-classes like LinkageError and ThreadDeath
kind regards,
james
hello kaleem,
yup, the one exception - forgive the pun - to the guaranteed execution of finally in a try/catch block is a call to System.exit(0).
kind regards,
james.
i think this discussion is more about poor question writing than code. both answers could be seen as correct depending on your viewpoint. everyone picked up on the need for an abstract class declaration and removal of method body, ambiguous questions can drive you mad.
kind regards,
james.
hello kaleem,
yes, b is right. protected is less restricive than default and more restrictive than public. default is wrong because it won't allow access from outside the package.
kind regards,
james
hello jay,
shallow cloning is when you simply call the clone() method on an object which produces an exact copy of that object.
deep cloning happens when the object you call is an aggregate object which implements the Cloneable interface. this interface is a marker interface which tells you that when you call clone() on this aggregate object, it will recursively clone all the objects it contains references to.
kind regards,
james
hello angela,
you are right, no run() method means Dots must be declared abstract.
kind regards,
james
hello angela,
gc informs an object of its imminent demize by calling is finalize() method.
kind regards,
james hoskins
Hello Angela,
Where did you get the quote " a nested class may be declared static."?
regards,
james.