Win a copy of Terraform in Action this week in the Cloud forum!

James Elsey

Ranch Hand
+ Follow
since Dec 21, 2007
James likes ...
Android IntelliJ IDE Linux
Suffolk, UK
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by James Elsey

I forgot to mention, I felt that the exam was MUCH harder than whizlabs/enthuware. It felt slightly more in line with the study guide quizes.
9 years ago
Hi guys,

Last weekend I finally passed the exam, with 78% Not the best score, but well above "just scraping through" so I'm happy with that.

I first bought the study guide in 2008, but procrastination of reading it got the better of me for a long time.

I prepared for around 3 months prior to sitting the exam, which gave me enough time to read the study guide properly, take mock exams, and panic.

Some tips for the exam :
If you're really stuck, use the strikeout feature to eliminate the answers that are obviously wrong, then sit and ask yourself which the remaining two could be right.
If the question has a lot of code, chances are they're trying to catch you out, so watch for noob errors like final variables being reassigned, final methods overridden, or interface methods overridden but not using the public modifier.

I used both enthuware and whizlabs. Enthuware was definitely the better tool, my whizlabs full edition expired so I didn't get to use it during my 3 month cramming period.

Write lots of code! Take lots of mocks, and don't forget to take breaks.

I wrote up more bits and pieces on my blog if anyone is interested
9 years ago
You don't need to know anything about servlets or JSPs for the SCJP exam.

The two most popular books are often the SCJP Study guide by K&B and the HeadFirst Java book.

I've got a few iOS applications done as hobby projects, they're all using the default iOS look and feel with a few background colour tweaks here and there. Whilst the apps work OK, they do look very amateur.

Where can I start to make a proper theme for my apps, do I need to photoshop button images, tab bar gradients etc? Are there any free resources I can use to start skinning up my applications?

I've spent the evening googling, half the problem is that I don't know where to start so not sure what to search for, and the other half either just finds "theme applications" or icon sets.

Any pointers/advice would be grateful
9 years ago
What are you trying to achieve? You mention downloading the web page but you only check for the HTTP response code.

Can you let us know what you want to do a bit more?
9 years ago
Hi folks,

I'm brainstorming ideas for a technology stack for a hobby project I'll do in my own time, and could do with some help.

I want to create a fitness site that lets you track routines / routes etc, and I also plan to create an android app that exposes some features, such as looking at your profile and logging new routes.

Ultimately, for the web part I'd like to use Spring MVC, with JSPs for views, as from what I can tell its a rather industry standard piece of kit, and also a good thing to learn and have on the CV.

My question is, what technologies can I use to expose some features out to android? My initial thoughts is to use RESTful web services. Is spring capable of doing this or do I need to tie in another framework such as RESTlet?

Some other things that I have on my list for research are : JSTL, hibernate, Google accounts (for logins), social integration (FB/Twitter), and Google App Engine (since its probably the only half decent free J2EE hosting)

Any advice?
9 years ago
Hi folks.

I have some android / google app engine projects on the go at home. I'm currently running a ubuntu VM that purely runs jenkins to build and test my projects. It's nice, but it'd be so much more conveniant if I could run it in the cloud somewhere.

What are my options for doing this? Preferably I'd rather not have to pay, so free options would be nicer.

What do I need, just somewhere that offers free J2EE containers like tomcat?

9 years ago
It seems that the latest version of enthuware for SCJP is out of date, it is still testing on serialization and some threading topics that have been removed. Anyone know if there are plans to update this tool?
Can anyone give me a link, or a list of the things that have been pulled from the exam currently? I notice Berts' post mentions serialisation and wait/notify being removed, but that post was some time ago.

Can anyone give me an updated list? Planning to take test before Christmas 2011.


Hebert Coelho wrote:Prometric is in the past. You will not find it there anymore.

In the PearsonVue you will find OCJP not SCJP. They changed the name. [=

Yea, but they're not listing the Programmers exam.

This is what I'm finding..
Hi Folks,

I'm trying to find availability on taking the SCJP on the week before Christmas, but I can't seem to find the exam on either the prometric or the pearson vue site.

The prometric doesn't seem to list anything under Oracle or Sun micro systems.

The pearson vue website does list oracle, but it only lists either the enterprise architects exam, or the developers exam.

Can anyone help me find them? I'm in the UK

Hi folks,

A friend introduced me to something called Arduino, which seems quite interesting, but from what I can gather it requires learning C/C++ and some proprietary SDKs.

Is there any alternative products that use Java? I'd like to experiment with something like arduino but would prefer to use Java.

10 years ago

I've just been through the OO concepts test on enthuware and this little gem of a question(which I must admit is a good one!) came up...

My initial thoughts was that it would print out "9 sportscar", because even though c is a "Car", the "sportscar" has both the gear ratio and accelerate, so I thought it would use both the variable and method from the subclass.

However, it appears that it will use the variable from the super class, and method from the subclass.

The explanation on the tool isn't that good, it mentions that variables are shadowed and not overridden...can anyone expand on that for me?

Hi guys,

I'm trying to create an application which is essentially a multiple choice simulator. There will be a "Quiz", the quiz will have a number of questions which I'll refer to a list of "QuizItem"s.

Each "QuizItem" has a "Question", and that question has a number of "Answers".

Here is what I've worked out so far..

I'm not convinced that datamodel is entirely correct, and I'm struggling to find resources on the net, or at least any pointers with this type of data model.

Would it be best to have the QuizItem only aware of answers, and have the answers depend on a Question?

I know this should be simple, but please help!

10 years ago
Hi Peter,

Thanks for the comments (and link, bookmarked for a rainy day ;) )

Can you expand a little more on what you mean by layering? I'd like to understand a little more about how you do that, as I think it might be able to help me.

Are you suggesting something along the lines of keeping my activities as streamlined and cut down as possible, and only keeping "android" specific code there, and doing all my business logic outside of any class that extends from Activity? That is something I've thought of, however theres not much I can move out since pretty much everything I do will involve interacting with the android framework, such as reading/writing to SQLite, manipulating UI etc.

Also, how detailed do you tend to take your testing, do you test that buttons are on the screen, have the right labels, check that textviews contain the right text etc? Or is that slightly too pedantic?

10 years ago