Ankur R Jain

Ranch Hand
+ Follow
since Jan 13, 2018
Ankur likes ...
Java Mac OS X Spring
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

Recent posts by Ankur R Jain

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


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?
2 weeks ago
Hi Pete,

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

2 weeks 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.

2 weeks 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.


2 weeks 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.

2 weeks ago
Hi Anuraag,

Following options should help

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

2 weeks ago
Did you try changing the run configuration to have JDK/JRE 1.8 as a runtime for execution of your project ?
2 weeks ago

Bear Bibeault wrote:

I really like this dog, so cute.
2 weeks 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 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.

2 weeks 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.
2 weeks 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 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 weeks 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 weeks ago
Pass the test? Add your name to the wall, partner.

Oracle Certified Professional, Java SE 8 Programmer Wall of Fame [Order by Date]
NameDateScoreStoryCountryWhat's Next
Ankur R JainJan 15, 201887%Prepared using Jeanne & Scott's OCP Book as well as Practice Tests Book (Sybex)IndiaSpring Professional 5.0
Michael PolinskiSeptember 20, 201783 %5 1/2 Months of learning aside from school, used the OCP guide by Boyarski a.o. This time I chose Enthuware over Whizlabs, which turned to be a good choice.Essen, GermanyAfter getting along with JEE besides my studies for OCP, hopefully a good start at my apprenticeship next week.
Cm LukDecember 07, 201783% My Preparation HKJava EE or Hadoop
Talent JokonyaDecember 04, 201771%Used OCP Java 8 Study Guide by Jeanne Boyarsky and Scott Selikoff only and took 1 month preparation time:Africa ZimbabweOCE JAVA EJB;
Roland LensinkSeptember 15, 201771 %Prep time: more than a year, Books: Boyarski and Ganesh; my age: 55Bertem, BelgiumDon't know
Cosimo Damiano PreteSeptember 04, 201793%check it outZurich, SwitzerlandNA
Chetan KumarJuly 15, 201778%My StoryCalifornia, USAMongoDB
Ismael J. Silveira July 10, 201793%My StoryCeará,BrazilOCE, maybe OCEEJB
Manoj ShekhawatJuly 3, 201780%My StoryIndiaSpring Web
Tahir AbdullayevJuly 3, 201788%Prep time: four months. Books: OCP Java SE 8 Programmer II Study Guide by J.Boyarsky & S.Selikoff + OCA/OCP Java SE 7 Programmer I&II Study Guide by K.Sierra & B.Bates + Enthuware mock examsAzerbaijanSpring
Jacky StarkMay 13, 201768%OCP Study Guide for Java SE 8, Enthuware testsIndia 
Igor SoudakevitchApril 28, 201797%  Prep time: four months. Books & Tools: Boyarsky & Selikoff + Mala Gupta (SE7) + Esteban Herrero + Angelika Langer on Generics + Jeff Friesen on (N)IO / Threads / Concurrency Utils + Maurice Naftalin on Collections + Enthuware Test Bank + conference presentaions on functional programming by Stuart Marks, Brian Goetz and Joshua Bloch. Added Haskell. General conclusion: lambdas and streams are the key.Moscow, RussiaJDBC, Spring
Gregory WeissApril 3, 201785%  Spent about 3.5 weeks studying.  Used the Selikoff OCP book and tests.  They're the best IMO.  I like Enuthware, would have done more of that.   Use the Selikoff OCP book and the Enuthware product and you should be able to pass the test.California, USJava EE, Spring, moving on to AWS certs
Ádám BaloghMarch 16 2017100%My StoryHungarySpring, Spring Boot
Nayan Jyoti DasMarch 1 201786 %My PreparationIndiaTBD
Fedor MishinFebruary 20, 201786% Montreal, CanadaTBD
Dan LewisDecember 29, 201675%My StoryUSATBD
Aurélien GametDecember 21, 201691%More or less the same as last time so it's quite useless to rewrite a post about it: studied with Jeanne & Scott's book, practiced with the Enthuware suite, passed the test!France 
Paul RobothamSeptember 12th, 201685%My StoryBrisbane, AustraliaOCEWCD and Spring
Otto ZeimerSeptember 12th, 201690%More about preparationLithuaniaFinishing my Master (IT) studies
Fabio SalviJuly 19th, 201686%My StorySchweizJPA certification
Salim RahalJuly 08th, 201676%My StoryAlgeria/France1Z0-071 : Oracle Database 12c SQL and Java EE 7 Front-End Web and Back End Server certification
Huzefa KakaMay 30th, 201695%My StoryUSA/IndiaSome Java EE certification
Yassin HajajMay 13, 201686%Ask MeBrussels, BelgiumJava EE (Not sure which one)
Fabrizio UsaiMay 2nd, 201675%Different books, sites, made small project in Java 8BelgiumJava EE 6 JavaServer Faces Developer Certified Expert 1Z0-896
Amandeep Singh04/1281% Passed OCAJP8 & OCPJP8 GermanyJava EE 6 Enterprise JavaBeans Developer Certified Expert 1Z0-895
Vitaliy Rastvorov11/2365%K&B OCA/OCP Java SE 7 Programmer, OCA8 Study Guide by Jeanne Boyarsky and Scott Selikoff, Enthuware 1Z0-809Kyiv, UkraineCertified Master and JavaEE 
Raghavendra Desoju11/1378%My ExperienceUSAHadoop Developer Certification 
Ravi Gayam10/3173%No OCP study guide, so, used OCP7 Kathy Sierra, SE8 for Really Impatient, and Other available materials over internet. USAWebservices 6 Expert 
Chun Yu Cheung10/888%My experienceHong KongJava EE, Spring and Hibernate 
Stefan Compton9/1768%No OCPJP8 study guide, used OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates and Java SE 8 For The Really Impatient by Cay S. HorstmannMeath, IrelandMaster's degree in Dublin City Uni, Java EE 7 Front-End Web and Back End Server certification (but next year when there is a study guide  
Jeanne Boyarsky5/1588%my impressionsNew York CityEnjoy seeing people use Scott and my OCA and OCP books to pass themselves
Paweł BaczyńskiApril 201573%Beta upgrade exam 1Z1-810 | StoryKraków, PolandOCPJP 9
Oracle Certified Professional, Java SE 7 Programmer Wall of Fame [Order by Date]
NameDateScoreStoryCountryWhat's Next
Mikhaill ChecheenOctober 12, 201785 %1/2 year of learning with Sierra K., Bates B. - Java SE 7 Programmer I & II Study Guide plus 1 week before exam from sunset to sunrise with EnthuwareMoscow, RussiaEffective Java, Clean Code, Java 8 (Herbert Schildt), Data Structures and Algorithm, Design Patterns
Akshay GargSeptember 18, 201785%Enthuware Mock Exams for 1Z0-804, OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates, OCP Java SE 7 by Mala Gupta IndiaOCE
Maisie EberlAugust 4, 201786%No previous java experience. Read K&B oca/ocp book 3 times and finished Enthuware all 9 tests with average 75%. Preparation time is 6 weeks. If i would have more time, I would read the book once more.Munich, GermanyData Structures and Algorithm, Design Patterns
Adam LukacsSeptember 23, 201673%Mala Gupta - OCA Java SE 7 Programmer II Certification Guide , Kathy Sierra & Bert Bates - OCA/OCP Java SE 7 Programmer I & II Study Guide, Enthuware Mock ExamsNew York, NYJava EE 6 Java Persistence API Developer Certified Expert 1Z0-898 
Mike PetrovAugust 11, 201686%(Story) K&B 6, K&B 7, EnthuwarePolandOCPJP 8 Upgrade (1Z0-810)
Pritha BanerjeeJul 11, 201681%Enthuware Mock Exams for 1Z0-804, ExamLab, OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates  IndiaCompetitive coding
Ádám BaloghJul 04, 201695%My experiences HungaryDesign Patterns, Clean Code
Smoljanov SergejMay 16, 201693%Topic that describe preparation UkraineSpring Framework
Javid AzimliDecember 23, 201585%Enthuware Mock Exams for 1Z0-804, Java SE 7 OCP by Ganesh and Sharma, OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates AzerbaijanOCPJP8 Upgrade
Huzefa KakaOctober 6th, 201580%Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates IndiaOCEJWCD
Manoj ShekhawatJuly 26, 201576%Enthuware Mock Exams for 1Z0-804, OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates IndiaBig Data Certifications
Lorenzo GallucciJune 29, 201595%Enthuware Mock Exams for 1Z0-804, OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates ItalyJava8 Certifications
Ria von der WartburgJune 23, 201591%Enthuware Mock Exams for 1Z0-804, OCA/OCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert Bates -> My ExperienceAustriaAndroid & world domination ;)
Marina VasilenkoMarch 23, 201593%Enthuware Test Studio 1Z0-804 OCAOCP Java SE 7 Programmer I & II Study Guide by Kathy Sierra & Bert BatesUkraineJava SE 6 Developer Certification
Ajay Joseph MeyneJanuary 1, 201570%Ganesh and Sharma AND Enthuware 1z0-804(thoroughly)IndiaSome personal projects
Umut BUYUKDURMUSNov 20, 201471%Enthuware Test Studio (1Z0-803) and KB7TurkeyPMP
Manish VermaSep 4, 201478%StoryIndiaSpring Web
Silviu BurceaAugust 28, 201490%SCJP6 by K&B, Enthuware testsRomaniaOCMJEA6 & OCAJP8
Marco Antonio Béjar VillalbaAugust 12, 201490%Apress - Oracle certified professional java se 7 programmer Exams 1z0-804 and 1z0-805, Enthuware testsMéxicoOCEJPA6
K. TsangApril 17, 201473%Story  
Bruno Soares BravoDecember 05, 201378%Oracle Certified Professional Java SE 7 Programmer Exams 1Z0-804 and 1Z0-805, Enthuware testsBrazil1Z0-810: Upgrade Java SE 7 to Java SE 8 OCP Programmer
Paweł BaczyńskiMay 21, 201383%Upgrade exam 1Z0-805Kraków, PolandOCPJP 8
Mac Sta. MariaAugust 31, 201293%Enthuware Test Studio (1Z0-803) and SCJP 6 books by K. Sierra and B. Bates  
Jorwin YauJune 1, 201276%SCJP 6 books by K. Sierra and B. Bates and used Master Exam  
Keith MenzelMay 13, 201293%Enthuware Test Studio for 1Z0-803 and SCJP 6 books by K. Mughal and by K. Sierra and B. Bates  
Robert Liguori2012PassedOCA Java SE 7 Programmer I Study Guide (Exam 1Z0-803) (Oracle Press) and Enthuware Test Studio (1Z0-803)  

Other related Java Certification Wall of Fames
OCAJP Wall of Fame

3 weeks ago