Win a copy of Spring in Action (5th edition) this week in the Spring forum!

Pete Letkeman

+ Follow
since Jul 06, 2017
Pete likes ...
Android Chrome IntelliJ IDE Java MySQL Database
Forum Moderator
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 Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Pete Letkeman

Many Spring and Spring Boot tutorials use Maven or Gradle. I suspect that Spring can be used with Ant and Ivy, do to have any hints/tutorials on how to best approach this?
1 month ago
What is the recommended process to move from Ant and Ivy to Maven or Gradle? Maybe you can point me in the general direction of some tutorials on this?
1 month ago
Welcome to CodeRanch Max.

Oracle and Acclaim and Pearson Vue do not provide physical copies of the Java 8 certification.
However you should have been given access to a web site which would allow you to download a PDF version of a certification document.
You could easily print this off and get it framed.

Now what you have a certification what's you next challenge?
Many people choose to get both their OCA and OCP certifications and then branch out from there.
You may want to look at some of the stories posted to see how others have prepared for their OCP.
This could save you time, money and frustration.

meenal deshpande wrote:What are the significance of java IdEs...

IDEs are great for writing code especially production code.
You do not need to use an IDE, but they do tend to make things easier as they offer things like spell checking, syntax highlighting, debugging and more.
However you can use something like Windows Notepad to program Java (and many other languages) in.

meenal deshpande wrote:...and which is the best IDE

This depends on who you ask and what the purpose is. Everyone will have their own "best".
If you are more interested in Android programming then you may be more interested in Kotlin and as a result you would probably gravitate towards IntelliJ.
A rebranded version of IntelliJ is provided for free by Google and JetBrains for Android development. JetBrains are the ones who started the Kotlin language.

In the end @meenal, you will probably find that most Java IDEs have close to the same functionality especially if you extend them with plugins/addons.
So the question then becomes which IDE do you like to use and why?

Some companies may enforce and IDE and others may not.
Two of the most popular IDEs for Java are Eclipse and IntelliJ and it can be helpful to know how to use both of them.
1 month ago
Looks like we are going to need a bit more information in order to proceed such as:
  • Do you have a question about the code posted?
  • Does it compile?
  • Dose it run?
  • Does it run as expected?
  • What do you think the code should do?
  • Do you get any error messages? If so please provide them.
  • What Android version are you targeting (Lollipop, Marshmallow, Oreo, Pie, etc)?
  • What plat form are you targeting (phone, tablet, wareable)?
  • 2 months ago
    First I would make sure that everything posted runs as expected.
    Next I would make sure that the unit tests are there, and if not then I'd add them.

    Now  that you have a copy of the project and all of the required unit test fire as expected you should try to see what is missing.
    For instance, is there a method which draws a card? If not you could add one.
    However if there is one, how does it do it? Does it use AWT, JavaFX, Swing, ASCII, etc?
    Ideally the project should support a render card interface and there should be more then one implementation of it.

    You can add what ever classes you want, but note that your code will be inspected and people may have questions/comments about your changes.
    There may be a changelog and a backlog, but then again those may not be there yet.

    Another thing you could do it go over the code to see if it make sense to you.
    If you have any questions regarding the code start a thread in the Corral and hopefully some people will join in and discuss them.
    2 months ago
    Congratulations, here is a cow you have earned it.

    When you get a few moments please add yourself to the OCA Wall Of Fame
    By the way, what were you Enthuware scores?

    If your next challenge is the OCP exam then you may want to look at some of the sotries posted on the OCP Wall of Game
    This could save you frustration, time and money.
    2 months ago
    I'm glad to see hat I'm not alone with my views on this matter.

    Campbell Ritchie wrote:I presume you are allowed to touch a laptop with a touch‑screen?

    Yes Campbell, a touch interface would be allowed however I suspect that many of us use non touch interfaces most of the time unless you are talking about smart phones and tablets.
    2 months ago
    Do you touch your screen/monitor, the glass part? Maybe with your finger when pointing something out? I'm not talking about smart phones or tablets add that is expected. Some people do, but I do not. It almost drives me crazy.
    Displays can be wrecked due to this. Maybe the screen isscratched or just gets dirty. A decent display can easily cost a couple of hundred dollars or more.
    There is a reason for line and column numbers, and your can use that when talking about code.

    Maybe I'm alone with this view this is just one of my personality traits?
    2 months ago
    Congratulations, don't take this test again. I'm not even too sure if your would be allowed to, because you passed.
    I do suggest that you take your time, go over your notes, try out Enthuware and look at the stories on both and

    Have a cow for all your hard work
    2 months ago
    Getting any certification in and of itself can be helpful. However not everyone treats certification the same way. If you have  many certifications and no work to show for it on GitHub (or some other site) or no practical experience then you chances of finding employment are greatly reduced.

    For many, the value in achieving your OCA/OCP is in the journey. Many OCA/OCP books teach you about some of the generality accepted coding practices and how many of the standard building blocks should/could work. Learning about interfaces, abstracts, inheritance, lambdas and more is a great way to start.

    If you are looking for other things you could do to get noticed then try to get involved in an open source project, there are many to choose from.
    I'm not too sure which card game you are making, but some members of CodeRanch are also making a card game as noted here
    Personally I have not posted to the Ranch Corral for a few days, however I plan on add in a few thoughts in the next few days and maybe in the next week or so posting more code for discussion/feedback.
    2 months ago
    It is hard to know if something could be done is better without looking at the existing code.
    Are you able to post your code to the site? Please format it using the code tags as explained here
    2 months ago