Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!

Ankur R Jain

Ranch Hand
+ Follow
since Jan 13, 2018
Ankur likes ...
Java Mac OS X Spring
India
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
8
Received in last 30 days
0
Total given
9
Given in last 30 days
0
Forums and Threads

Recent posts by Ankur R Jain

Curtis Jackson wrote:Hi Ankur

Did you end up taking this test. If so, what did you use to study for it?



Hi Curtis,

I didn't take this test, got a little side-tracked due to work. Looking forward to take it in near future, however there are issues in terms of content available on internet for spring certifications so I am a bit worried for this one as opposed to oca and ocp.

-Ankur
Most preferred would be Spring Data-JPA as it is the most recent out of the ones mentioned ones above.
That being said, it prevents lot of boilerplate code and supports Query methods which are quite convenient.

I would like to add something more recent which is not much in picture currently but it should be in near future.

Going reactive with Spring Data

-Ankur






Pete Letkeman wrote:
Have you had any experience with this framework?



I have good amount of experience working with Spring Boot 1.5 / Spring framework 4 and Swagger, but unfortunately didn't get chance to start with spring 5/ spring boot 2 specific project.


Caused by: java.lang.NoClassDefFoundError: org/springframework/web/servlet/mvc/method/annotation/RequestMappingHandlerAdapter



Have you tried deleting RequestMappingHandlerAdapter related folders from your local Maven/Gradle repository and trying to re-build project?
3 months ago
Hi Pete,

I would like you to take a look at this, it might have something useful.

-Ankur
3 months ago

kennith stomps wrote:I have gotten a bit farther, here is where I am at, now receiving an error code on both lines 32 and 44
"pointsEarned cannot be resolved to a variable"
"pointsMax cannot be resolved to a variable"

I have clearly initialized these on lines 29 band 41 so I am not sure what the deal is



You've declared those variables inside for loop, and trying to return them outside for loop. Those variables have gone out of scope post for loop block.
Please declare and initialise them at the start of methods to keep them in scope.

-Ankur
3 months ago
Please delete the .metadata folder in your workspace after closing eclipse, and then try again.


Note: It is going to reset your workspace specific settings.

-Ankur

3 months ago

Campbell Ritchie wrote:

Ankur R Jain wrote:. . . Java Specifications: Java Specs. . .

Look for the Java® Virtual Machine Specification (I think) (=JVMS), not the Java® Language Specification.



Hi Campbell,
The link I provided has links to both VM specs as well as Lang Specs. 

Thanks for pointing that out, hope I haven't missed anything.


3 months ago
Hi Anuraag,

Following options should help

Book: Java Performance - The definitive guide By Scott Oaks
Course: Udemy Course
Java Specifications: Java Specs

-Ankur
3 months ago
Did you try changing the run configuration to have JDK/JRE 1.8 as a runtime for execution of your project ?
3 months ago

Bear Bibeault wrote:







I really like this dog, so cute.
3 months ago

tangara goh wrote:

Adam Wentz wrote:

tangara goh wrote:However, now I don't see anything at all.



Have you inadvertently applied a filter to the window?



I have not.  I double check the preferences and then I re-set to default but still I can't debug.

I thought it is because I did not put breakpoints so I put a few of them around transaction.commit etc but it is still not debugging.

I noticed the step-over, step-in buttons are all greyed out....is there anything I can do to make them not grey out ?



I can see the issue there, I can see that you have enabled 'Skip all breakpoints' (Button with a dot and diagonal strikethrough) there. Please disable it and it should work fine.

3 months ago

Campbell Ritchie wrote:Congratulations all four of you



Thanks Campbell.

I would really like to thank J Richard Rodger for being here and arranging this.
3 months ago

Tim Holloway wrote:My go-to book isn't very recent. It's the aPress Pro JPA 2 book. It has been helpful for even the most complex of projects using things like the query builder, native queries, all sorts of joins and fetches and so forth. It covers the fundamentals very well and as far as I know, nothing radical enough has happened to JPA since it came out that I actually require something newer. Excepting of course, the product-specific on-line manuals at places like hibernate.org. Those are frequently more up-to-date than anything you can buy from a bookseller.



Thanks for your input Tim, I will definitely take a look at the book.
3 months ago

Jeanne Boyarsky wrote:
Thanks and congrats to all the winners.



Thanks Jeanne.

This is great, I just joined code ranch few days back, and got a surprise. 

3 months ago