Archive for the ‘Job’ Category

Java technologies popularity in Sydney

August 13, 2006

AuJava logo

Here is just some numbers from jobserve.com.au. All keywords were prefixed with Sydney AND Java AND statement. The search for Sydney AND Java only gives 500 matching jobs.
AppServer:

  1. WebSphere – 56
  2. WebLogic – 47
  3. Tomcat – 41
  4. JBoss – 32
  5. Sun -21
  6. JRun – 3
  7. GlassFish – 0
  8. Geronimo – 0

(more…)

Advertisements

(Not so) Stupid interview question

August 7, 2006

Once I’ve read about funny question for interview. “If you have to become a core Java class, which one would you choose? And why?”. You are on job interview. It is not really good idea to ask interviewer about his last visit to psychologist. Moreover the question is not as silly as it seems to be from first sight. As you realise the question is not about java but merely behavioral. So, how you react on that and what is correct approach? It depends. It depends on company and vacant job position you are trying to get. There are several thoughts about it and great many bad answers. You should not tell:”I want to be System class! I AM System class!!! I always felt likesomone who can rule them all and only I may have access to all goods and low level resources!”.

Well, get serious. If you are trying to get any Senior or team lead or architect position espetialy in Banking/Financial sector the only correct answer is “I don’t know because I never thought about it”. You do not have any specific preferences in becoming a Java class and any *.class answer will be -not_based_on_your_experience, -not_well_thougt, -not_only_right_answer. And you definitely will not be able to prove yourself other that “why not?”. So you gave a very random answer without thinking and not having any explanation. Why? Because you thought it was silly question. IN YOUR OPINION. At that time the interviewer will draw a minus sign in checklist in the row “Tend to give quick answers when the subject is not clear. “. You are trying to explain your choice another minus will appear with comment “may insist on poor decisions just because he made them once”.

It was my IMHO. What do YOU think about it?

Job interview question 1

August 7, 2006

Q: Write equation function for class

public class Customer {
private int id;
private String name;
private float balance;
}

A1: What for? It is already implemented in Object class.
A2: Why me? My favourite IDE generates such staff for me.
A3: You think for a while and write classical equation code with null-checking, casting and equation of values of all fields.
A4: Easy job. Just put inside

return EqualsBuilder.reflectionEquals(this, other);

A5: Look mait! It seems to be a Business object! And field “id” looks like primary key for me! So it should be something like:

public boolean equals(Object other) {
if(this.id==null)
return false;
if (other==null)
return false;
if( !(other.getClass().equals(this.getClass())))
return false;
return id.equals((Customer)other.id);
}