Showing posts with label SCJP. Show all posts
Showing posts with label SCJP. Show all posts

Friday, 11 April 2008

SCJP 5 exam passed - woot!

It's been a busy day today, some last minute revision this morning then took the SCJP 5.0 exam this afternoon. What can I say, 3.5 hours! That's a long exam. I didn't use all the time, but still that's a quite a lot of exam for the money!

Anyway, I'm relieved and pleased to pass with 83% - not bad, could have done better but I happy with that, to be fair as a balance between time spent and other commitments.

Time to celebrate tonight I think. It's nice to get that one out of the way, will have a short break then decide which one to tackle next!

(Note to self: see if you can take a drink in next time! Got really thirsty, dehydrated and sleepy in the middle of it and no one was around so I wasn't sure if I could leave the room to get a drink, so I had to stay put - ooops!)

Notes on the exam itself:

Generally I'd say it seemed easier than I was expecting. Some questions seemed very easy, leaving me in doubt as to whether I'd missed something and then spending longer on the question than I would normally, double checking the question and answer.

The mark and review system is excellent. I also used the provided dry wipe sheets and pens to keep track of questions I wasn't sure of so I could go back. Going back to a drag and drop question does mean you lose your previous answer - but it does warn you before it happens. It seems you can only review your questions once you've gone through the whole test, so it's worth finishing with enough time left to go over the harder questions that you've marked again at the end. 3.5 hours is a long time, I suspect 3 would still be more than enough, but it's surprising how long it takes to answer 72 questions, which is a lot of questions really. If you struggled on half of them you'd be mentally exhausted by the end. The exam does concentrate quite a lot on API and syntax specifics, so you've really got to spend some time just revising and remembering those specific API classes and methods. Overall, a good experience, I'd recommend anyone in a position to do it does so, preparing for it certainly gives you a good grounding in many aspects of Java SE 5.

What to do next, that's the question. Probably one of the web developer (web components or services) ones, as they would be beneficial in my job. I guess I should do an upgrade exam from 5 to 6 (or 7!) soon too, ideally.


Resources:

I've made my personal SCJP 5.0 study guide available on my personal web site www.chillipower.com - specifically here http://www.chillipower.com/Primers/SCJP%205%20Study%20Guide%200.1.doc for anyone who might find it useful.

Although SCJP 5.0 is technically out of date already, v5.0 represents the bulk of the material needed in order to pass. I will at some point take the upgrade exam, but this is lower priority right now.

Thursday, 10 April 2008

Got to start somewhere!

Well, I've been meaning to keep a blog for sometime now. I created this one the other day but never seem to find the time to write in it, but then I guess you've just got "to make the time" as they say, so here's a start at it...

This is mostly going to be a Technical Blog of my activities during my working day (an on-line logbook I guess) and possibly various random things I investigate in my spare time too.

I have trouble reading my own logbook even after I've just written in it(!), so I'm hoping this will be an excellent way to keep track of all those things that 6 months later you find yourself thinking "I've already worked this out, but how did I do it again?".

My Personal web site is at www.chillipower.com - whilst long overdue for a makeover, it contains some useful content, including my SCJP5.0 guide.

Posting up html and source code in a web based blog can be problematic - code needs to be html encoded and I'm also going to surround with pre tags, to retain the formatting. HTML encoding can be done conveniently on-line, using tools such as http://www.opinionatedgeek.com/DotNet/Tools/HTMLEncode/Encode.aspx

--

What am I doing today, well recently I've been evaluating VMware server 2.0 beta and beta 2 - especially as a flexible way of running Solaris 10 Express Developer - I'm looking at this for various reasons:

1. I want to evaluate the latest VMware server 2 offering in general for use when evaluating, testing and researching new OSes and software applications.

2. I want to evaluate Solaris 10 Express Developer as an excellent Java / Jave EE server platform and also a developer workstation platform (possibly shared via remote X / desktop).

I've chosen CentOS 5.1 as the host OS, and I'm running the 64 bit version.

Installing CentOS 5.1 64 bit:

Installing CentOS 5.1 64 is easy enough and there are many guides on the net so I won't go into detail. I will point out that you can't (as yet) run VMware server under a XEN kernel (not sure why that would be needed anyway) so if you install with XEN, you need to install and switch the boot to the regular kernel, alternately don't install XEN during the installation process.

If XEN is installed as the kernel, you can switch to the normal kernel by installing the kernel package (an easy way):

yum install kernel.x86_64

You can change the default boot in Grub by editing:

/boot/grub/grub.conf

To change the default to the non XEN kernel.

--

Installing VMWare 2 beta 2

I'd previously gone through this process with the first beta and it caused some issues, however most of these have been addressed in beta 2, which is looking quite good now.

A good guide to installing VMware server 2 can be found here: http://www.cyberciti.biz/tips/vmware-on-centos5-rhel5-64-bit-version.html

and I used this as the basic process without much of a problem.

Note that in this beta you can't mount a CD ROM drive directly, what you can do it mount an ISO image of a disk by configuring it as a Datastore in VMware and then adding it as hardware to the VMware virtual machine.

--

Installing Solaris 10 (under VMware server 2)

IMPORTANT: Solaris using UFS is not as flexible as you might expect when it comes to resizing disks, so I'd strongly recommend allocating a generous amount of disk space for a Solaris disk when you start (>30Gb). While you can add disk space, by mounting space and 'growing' the file system with growfs, you can not do this at the root level.


Handy info:

Installing Solaris SBD (secure by default - a good policy!) means some things might need adjusment to enable them to work:

To enable X11 TCP listening, you need to set the property accordingly:

svccfg -s svc:/application/x11/x11-server setprop options/tcp_listen = true

Fixing XDMCP logins via Xnest:

By default the udpPort for cde_login is set to 0 which disables it!

Here is a good article on how to put that right: http://www.theunixblog.com/2007/07/fixing-xdmcp-logins-on-solaris-sxdesxce.html

basically, here's what you need to do:

svccfg -s cde-login setprop dtlogin/args=\"\"
svcadm restart cde-login

A good FAQ for SXDE:

http://developers.sun.com/sxde/tech_faq.jsp#v_5

including a useful info for adding additional disks:

http://blogs.sun.com/harcey/entry/solaris_x86_vmware_adding_a

--

Service control, some simple examples:

svcs
svcs -xv ssh
svcadm enable ssh
svcadm clear [service] // clear a service in maintenance mode
svccfg