Saturday, August 29, 2009

Certification Sun JAVA SCJCP : How to prepare ?

I've passed my Java Certification (SCJP) with success and i have some advice.I think that theses advices are also available for other Java certification (scdjws, j2ee certification) and also certifications in general.If you have question about certification voucher and certification prometric, please make asearch on Google.In my blog, I will give you advice about materials needed and exercises only.So, if you want to be certified, read the following :

To succeed more easily at this exam, you must have a book and practice exam.

- Advice 1 : Get a good book.

If you want to succeed quickly the certification exam, buy a certification book.(Moreover, it's often possible to have a certification pdf so you can read everywhere !)
I know it will cost you some money but you will have full course and complete teach.You will will win time and it will replace a good teacher ! If you search on the web, you will find a lot of certication courses but often there are not complete.
A good book is : SCJP Sun certified programmer for JAVA 6 310-065 (Katherine Sierra, Bert Bates).In this book will learn you all that you need to know and we will show typical question you have at the exam, a lot of tips about question and it will give you also exercices.

- Advice 2 : Practice and make certification test.

You need to practice and pratice ... Training is the key ! If you passed all practice exams, it means that you are ready. To that there is software like :
and also my blog :-)
You can also prepare yourself but it's more easier and faster to have good materials.

- Article 3 : Get informed

It's also usefull to look on the web news.Here is my list of best java web site (

To conclude, if you want to be java certifed, get a good book and make a lot of certification exercise.It will replace expensive course.

Sunday, August 16, 2009

Best Java web sites

Here is my favorite web site list : : It's for me the best french web site.There is lot of tips, good forum. : This web site present a lot of technical article and most of them are very advanced and are made by java guru. : Lot of complete article on java.

Newsletter :

If you have other web site, said to me ! I will put this list up to date.

Thursday, August 13, 2009

New google web search : cafeine

Google has announced the new beta version of this web search.
At this moment, it's not always available but i can make some comparison and it is
faster than before !

Sunday, August 9, 2009

Netbeans : cannot set LC_CTYPE locale

Problem :

When i configure subversion for Netbeans, I had this problem :

Solution :

The problem is that LC_CTYPE was unknown.
In fact, you have to check that this variable value is correctly spell.
To do that, you can do : locale -a

Example :
$ locale -a

fr_FR fr_FR.iso88591

Next, you have to check in the configuration file :
On gentoo :
vi /etc/env.d/02locale

Example :
vi /etc/env.d/02locale


=> You must have LANG variable initializes with one of the result of the command : locale -a

If you want, you can also let every Linux user to configure their own variable.

vi ~/.bashrc

Example :
vi ~/.bashrc
export LANG="fr_FR.iso885915@euro"
export LC_ALL=C

Friday, August 7, 2009

Netbeans : Cannot execute ... Check external browser configuration.

Problem :

If you have the following error when you click on view -> Web browser :

Solution :

You have to check firefox parameters in Tools -> Options :

Then click Edit and you will see something like that :

Then you have to modify this parameters.
In my case (firefox 3.0.11), you have to put {url} like that :

You will found more information directly on sun's blog :

Overriding paint dans Netbeans.

For my first post, here is a small tips about the use of Netbeans/


If you wan to override the paint method in Netbeans, you can't !
In fact, if you use the Netbeans editor you will obtain a a class like that :
public class PacketMakerView extends FrameView {
public PacketMakerView(SingleFrameApplication app) {
Et il vous sera impossible d'overrider la méthode paint.

In design interface, make a right click on the component then choose customize code.
To override paint, you have to change the initialize with "custom creation".

So now, it's possible to override paint method !

test = new javax.swing.JLabel()
public void paint(Graphics g) {
// ...