Win a copy of Rust Web Development this week in the Other Languages forum!

John Lerry

Ranch Hand
+ Follow
since Mar 10, 2015
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 John Lerry

Yes, so I had read that some users advise doing.
I think that IF it is right to study all "Head First Servlets and JSP" and only the chapters 8, 11, 12 and 21 of "OCEJWCD Study Companion" you could have a good level of confidence in these arguments almost like a study done by a single book written by Kathy Sierra and Bert Bates.
I had read that it is also a very good book, but it is not geared to passing that exam, but to present the arguments. I was looking for something oriented exam and apparently those two that I linked before provide excellent preparation.
I just wanted to know if it can be a good way to study all "Head First Servlets and JSP" and only the chapters 8, 11, 12 and 21 of "OCEJWCD Study Companion".
To that link it is only recommended "OCEJWCD Study Companion", while "Head First Servlets and JSP" is recommended, rightly, for the previous version of the exam.
I've read that "OCEJWCD Study Companion" is a great book but not so basic as you would expect so many advise to study prior to "Head First Servlets and JSP".
Nobody has studied from "Head First Servlets and JSP" and then integrated only the chapters 8, 11, 12 and 21 from "OCEJWCD Study Companion"?
Waiting for your reply, I have done some research and I was able to understand that the best way to prepare for this certification must study this book

Head First Servlets and JSP: Passing the Sun Certified Web Component Developer Exam

covering Java EE 5

and then integrate with chapters 8, 11, 12 and 21 of this book

OCEJWCD Study Companion: Oracle Certified Expert Java EE Web Component Developer Exam 1Z0-899

covering Java EE 6

it is advisable to proceed in that way because the second book actually discusses topics in a less thorough than the first and then the preparation may not be optimal.

I would like your opinion.
A few months ago I took the Oracle Certified Professional Java SE 7 and now I wanted to take the Oracle Certified Expert Java EE 6 Web Component (1Z0-899).
I studied for the OCP by K&B7 and I was fine and so now I'm looking for a book of the same type that allows me to make an optimal preparation for the acquisition of certification Web Component.

Which book do you advise me?

Tim Holloway wrote:
If you want a completely isolated client system that requires no external MySQL server, you can do that. It's quite easy to export a MySQL database and ship it over to some other MySQL server machine - which is more than I can say about certain major-name commercial DBMS's which are more limited.

so if I wanted to make the database independent of my pc I should upload the database on an external host, is it right?
6 years ago
Actually I have not explained the problem well.
I would like to create an application that retrieves information from a database (written in SQL) but I would avoid having the database on my pc because I see a solution too trivial.
I'd like to know what is the best solution for to have a database but not locally
6 years ago
Hi, I need your opinion.
Until now I have always created my MySQL database to make them read locally by applications created by me, but now I will try to upload my database so that they can use the database on any machine that starts the application from me created.
Do you know if I can do this?
6 years ago
Hello everyone. A friend of mine, or better acquaintance, gave me one of his old university project that I'm doing to practice but I'm stuck.
There is provided a training set, so this particular (, and the purpose of the program is to return to the time the printing of the rule and other information.
A sample output of this program is (
Now we come to my problem.

I think the problem is in my method to determine if a node is leaf or not. The method in question is this:

The track gave some tips and that is that if a leaf node is the number of training examples that fall within the current partition is less than numberOfExamplesPerLeaf, or if all the training examples that fall within the current partition belong to the same class.
Analyzing the sample output I could understand that such "Overcast" is leaf because the corresponding value of the class (the last column of the training set) contains the same value.
The problem is that I do not understand how to analyze for all values of a certain kind (eg. All the "Overcast") to determine if it is leaf or less.
I say this because the method that analyzes the entire training set I thought so:

namely, that each example is a single element of the array mapSplit (array that contains the value of the node, the index start and end in the training set and the number of children).
Obviously it would not be difficult to bring together examples with the same value in a single element of mapSplit (because before executing the method setSplitInfo the training set is sorted by the attribute) but then it would not be possible to parse through more mapSplit all individual values ​​of the training set would be grouped together because ... I do not know if I get the idea.

How you solve the problem? We say that is a logical problem rather than programming.

For completeness, I have uploaded here ( the complete source code of the project so that, if you have time, you might try to see how it works because I do not think he was clear enough in explaining .
Very few files, you put little to try it because I'm not even half of the entire project.

Mind you, NOT the solution I want (so do not want a single line of code), but only some advice because I MUST get there myself.
6 years ago
Did you have previous knowledge of Java EE? or did you know only Java SE?
A friend of mine lent me the book "Beginning Java EE 6 with GlassFish 3" ( ) which should be the older version of this ( ).
I was thinking that I could start studying from the book and incorporate from time to time with the tutorial (though the tutorial refers to version 7).
I hope will be fine although the book is of 2010.

Ashley Bye wrote:Based on the way I learn most effectively they are not a good resource for me. For you: only you will know when you give them a try.

I could perhaps use Oracle tutorial to guide to follow, however, if I were not to understand something I would go to deepen through other sources.
then do you believe that Oracle tutorial is not suitable for someone who has to start with Java EE?
actually the tutorial is perhaps the simplest approach to start because even if I buy a book but I realize that it is too complex now I can not do anything and I made a wrong purchase, Oracle tutorial instead is free and it rates as I go with the study.
But the Oracle tutorial is sufficiently complete to begin? Or are there the missing pieces? I would like to get an idea of Java EE but without skipping anything.