Win a copy of Programming with Types this week in the Angular and TypeScript forum
or The Design of Web APIs in the Web Services forum!

Frits Walraven

Creator of Enthuware JWS+ V6
+ Follow
since Apr 07, 2010
Frits likes ...
Android Chrome Eclipse IDE
Amersfoort, The Netherlands
Cows and Likes
Cows
Total received
298
In last 30 days
0
Total given
826
Likes
Total received
510
Received in last 30 days
1
Total given
503
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Frits Walraven

After over a year's lapse, we decided to re-invent the Journal.  It is now an "editor's picks" format brought to you by the staff of JavaRanch.  Read what your favorite moderators think is hot!

2019
  • November 2019 Journal
  • October 2019 Journal
  • September 2019 Journal
  • August 2019 Journal
  • July 2019 Journal
  • June 2019 Journal
  • May 2019 Journal
  • April 2019 Journal
  • March 2019 Journal
  • February 2019 Journal
  • January 2019 Journal


  • 2018
  • December 2018 Journal
  • November 2018 Journal
  • October 2018 Journal
  • September 2018 Journal
  • August 2018 Journal
  • July 2018 Journal
  • June 2018 Journal
  • April 2018 Journal
  • March 2018 Journal
  • February 2018 Journal

  • 2017
  • December 2017 Journal
  • November 2017 Journal
  • October 2017 Journal
  • September 2017 Journal
  • August 2017 Journal
  • July 2017 Journal
  • June 2017 Journal
  • May 2017 Journal
  • April 2017 Journal
  • March 2017 Journal
  • February 2017 Journal
  • January 2017 Journal


  • 2016
  • November 2016 Journal
  • October 2016 Journal
  • September 2016 Journal
  • August 2016 Journal
  • July 2016 Journal
  • May 2016 Journal
  • April 2016 Journal
  • March 2016 Journal
  • February 2016 Journal
  • January 2016 Journal


  • 2015
  • October 2015 Journal
  • July 2015 Journal
  • May 2015 Journal
  • April 2015 Journal
  • February 2015 Journal
  • January 2015 Journal


  • 2014
  • December 2014 Journal
  • October 2014 Journal
  • July 2014 Journal
  • June 2014 Journal
  • May 2014 Journal
  • April 2014 Journal
  • March 2014 Journal
  • February 2014 Journal
  • January 2014 Journal


  • 2013
  • December 2013 Journal
  • October 2013 Journal
  • September 2013 Journal
  • August 2013 Journal
  • July 2013 Journal
  • January 2013 Journal


  • 2012
  • September 2012 Journal
  • August 2012 Journal
  • July 2012 Journal
  • June 2012 Journal
  • March 2012 Journal
  • February 2012 Journal
  • January 2012 Journal


  • 2011
  • October 2011 Journal
  • August 2011 Journal
  • July 2011 Journal
  • June 2011 Journal
  • May 2011 Journal
  • April 2011 Journal
  • March 2011 Journal
  • February 2011 Journal
  • January 2011 Journal


  • 2010
  • December 2010 Journal
  • November 2010 Journal
  • October 2010 Journal
  • September 2010 Journal
  • August 2010 Journal
  • July 2010 Journal
  • June 2010 Journal


  • 2009 and earlier Journals
    1 month ago
    Welcome Jeanne & Scott  

    Enjoy your book promotion week!
    Pass the test? Add your name to the wall, partner.

    OCMJEA Wall of Fame [order by Date]
    VersionNameFinal Exam DatePart 1 ScoreAssignment ScoreStoryAssignmentWhat's NextCountry
    JEE6Thierno DialloAugust 29, 201975%150/160-Retire EarlyTBDSwitzerland
    JEE6Adriano Palomino6th Apr 201981%148/160https://coderanch.com/t/709565/Quick Computer-Brazil
    JEE6Giritharan ThavalingamMay 25, 201876%140/160-Wireless Phone Company-Canada
    JEE6Mahmut ErenOctober 19, 201876%147/160-Quick Computer-Turkey
    JEE6Nataraj BasappaSeptember 26, 201873%152/160https://www.natarajmb.com/2018/09/journey-to-ocmjea/Quick Computer-UK
    JEE6Mustapha SENHAJIFebruary 03, 201873%142/160-Retire EarlyAWS Solutions ArchitectMorocco
    JEE6Gautam DebDecember 15, 201776%156/160-Retire Early-India
    JEE6Ernest BarrosoNovember 02, 201778%131/160Two months on the 3 stepsGemstone InternationalSpring Professional CertificationVenezuela
    JEE6Francesco FabiOctober 09, 201771%148/160-Team DoctorTOGAFItaly
    JEE6Om Narayan PandeyJune 26, 201780%156/160-Dream Car-India
    JEE6Samrat RoyMay 24, 201783%155/160https://coderanch.com/t/680789/certification/OCM-JEA-storyGemstone International-India
    JEE6Sanjay GarothayaMay 01, 201780%151/160-Team Doctor-USA
    JEE6Amine Ouali AlamiApril 02, 201778%156/160-Utility international-Morocco
    JEE5Rajesh NarayananMar 17, 201792%143/160-Team Doctor-India
    JEE6L. WitkowskiMar 1, 201771%140/160-Retire Early-Poland
    JEE6Rajesh Kumar SrivastavaJan 24, 201773%139/160-Utility InternationalExpertise in Machine Learning & AIIndia
    JEE6Raghavendra DesojuJan 23, 201783%149/160-Quick ComputerAWS Solutions ArchitectUSA
    JEE6Carlo CangemiDecember 23, 201688%144/160-Dream Car-Italy
    JEE6K. TsangDec 2, 201671%-(JEE5 upgrade)---Hong Kong
    JEE6Sergio Navarro GarzaMay 28, 201683%149/160-Utility InternationalTOGAFSpain
    JEE6Caio BessaMay 19, 201671%143/160-Retire EarlyIELTSBrazil
    JEE6Mithun M SMay 05, 201678%141/160StoryWireless Phone CompanyTOGAFIndia
    JEE6Yogaraj KhanalMarch 23, 201671%138/160-Quick ComputerOSCPNepal
    JEE6Angelo VerdicchioFeb 05, 201683%148/160-Factory HomesImprove design & architecture skillsItaly
    JEE5Sourav BiswasFeb 17, 201693%144/160-Retire EarlyImprove design & architecture skillsAustralia/India
    JEE6Siddhesh JogJan 27, 201676%146/160-Wireless Phone CompanyImprove design & architecture skillsIndia
    JEE6Mika KilpeläinenDec 7, 2015PP-Gusher OilHTML+CSSFinland
    JEE6Vijay SNNov 28, 201586%145/160 90%-Wireless Phone CompanyImprove Architect SkillsIndia
    JEE6Efthymia ArmanidiJune 2, 201571%149/160 93%-Team DoctorITILGreece
    JEE6Rodrigo CayresOct 19, 201581%153/160 96%-Big Smokes Cigar ShopOCEJEE6JSFD (JSF)Brasil
    JEE6Vijaya RaghavaSept 26, 201581%143/160-Team DoctorPMP, HadoopIndia
    JEE6Claudia ArévaloJun 25, 201588%153/160StoryFactory HomesTOGAFColombia
    JEE6Heliton Rodrigues Aranha FilhoApr-30-201573%NA (JEE5 Upgrade)https://coderanch.com/t/650230/java-Architect-OCMJEA/certification/Certified-OCMJEA-finallyNA (JEE5 Upgrade)TBDBrazil
    JEE5K. TsangMar 4, 201589%144/160part1 part2/3Quick Computer-Hong Kong
    JEE6Mike DegteariovMar-31-201578%151/160-Team DoctorHadoopCanada
    JEE6Bora SevenMar-12-201571%140/160StoryBig Smokes Cigar ShopTOGAF9Turkey
    JEE5Heliton Rodrigues Aranha FilhoOct-18-201471%141/160https://coderanch.com/t/650230/java-Architect-OCMJEA/certification/Certified-OCMJEA-finallyFactory HomesTBDBrazil
    JEE6Rahul SharesthSep-19-201483%141/160-DreamcarTBDIndia
    JEE6Mahavir SinghAug-10-201471%140/160-Utility InternationalImprove Architect skillsIndia
    JEE5Anuj SethiJul-1-201490%141/160-Team DoctorImprove architect skillsIRE
    JEE6Raffaele SangiovanniMay-1-201480%153/160-Wireless Phone CompanyScrumITA
    JEE5Pothiraj MarichamyMar-1-201495%P-Team DoctorTBDUSA
    JEE5Uma Monday2014-02-2895%145/160-Gemstones InternationalTOGAF9USA
    JEE5Sirish K Somanchi2013-06-1178%152/160-Team DoctorTOGAF9India
    JEE5Marco Bresciani2013-01-3164%134/160-Wireless Phone CompanyRuby and RoRItaly
    JEE5Subrahmanyam BV2012-12-1589%152/160-Team Doctor-India
    JEE5Sachin Dixit08-Dec-201278%144/160-Team DoctorPMPIndia
    JEE5Diego Lins de Freitas11-October-201285%140/160-Quick ComputerIEEE - CSDPBrazil
    JEE5Juan Gonzalez del Pino11-October-2012PPStoryGusher OilNot sureSpain
    JEE5Chandra S Billanuka15-July-2012PP-Wireless Phone CompanyTBDUSA
    JEE5Chennakrishna R Gottam29-July-2012PP-Gusher OilPEGAUSA
    JEE5Srinivasulu Kopparapo06-July-2012P71%"Here"Gusher OilJava Enterprise Edition Certified MasterUSA
    JEE5Sudha Sundar18-Feb-2012P153/160HereGusher OilOracle IT Implementation Specialist, PMPUSA
    JEE5Neeraj Javiya21-Jan-2012PPHereTeam DoctorTBDUSA
    JEE5Mahesh R. Desai12-Dec-2011PP-NA (JEE5 Upgrade)Oracle Linux Fundamentals, PMPCalifornia, USA
    JEE5Sada Kurapati22-Dec-201195%146/160Part I StoryGusher OilTOGAFUSA
    JEE5Mahesh R. Desai12-Dec-2011PP-NA (JEE5 Upgrade)Oracle Linux Fundamentals, PMPCalifornia, USA
    JEE5Eric Manuguerra04-Oct-201185P-Factory HomesTBDFrance
    JEE5Mayur Bodkhe27-Sep-2011P143/160-Wireless Phone CompanyTBDUK
    JEE5Sankha S Pathak27-Aug-2011P155/160-Wireless Phone CompanyTOGAFINDIA
    JEE5Vignesh Murali Natarajan21-Aug-2011100P-Big Smokes Cigar ShopPMP?India
    JEE5M. A. Riveros T.21-Aug-2011PP-DreamcarTBDColombia
    JEE5Jari Timonen29-JUN-2011PPPart1Factory Homes-Finland
    JEE5Roxana Crisan17-Jun-201193P-DreamcarTBDRomania
    JEE5Tan Chin Sheng12-Jun-201196P-Factory HomesTOGAF9Singapore
    JEE5Ashutosh Sharma29-Mar-2011PPHereBig Smokes Cigar ShopTOGAF9USA
    JEE5Martin Zisler19-Jan-2011PP-Gusher OilJEE6 WebservicesSwitzerland
    JEE5Wolfgang Unger21-Dec-2010PP-Big SmokesHoliday in BrazilGermany
    JEE5Jeanne Boyarsky17-Nov-201087PHereFactory HomesTBDUSA
    JEE5Rupesh Kumar17-Nov-201082P-Dream CarTBDUSA
    JEE5Sylvain Duchesne12-Nov-2010PP-Dream CarSCEA for Java EE6 - UpgradeCanada
    JEE 5Ravi Iyer21-Oct-2010PPStoryFactory Homes-India
    JEE5Kuppusamy Venkatasubramanian19-Jul-201085PHereDream CarTBDSingapore
    JEE5Varun Chopra03-Mar-201096PStoryFactory HomesTBD-
    JEE5Jose Luis Iturbide24-Apr-200971PStoryFactory HomesSpring & AndroidMexico
    J2EEGabriel Belingueres30-Dec-20088591-Fly By Night--
    J2EEStefan Meier29-Dec-20088977StoryFly By NightSCEA5 Upgrade-
    J2EEMahesh R. Desai12-Dec-20088189StoryFly By NightSCEA for Java EE6 - UpgradeCalifornia, USA
    J2EEPaul Michael5-Nov-20089177StoryFly By NightFlex or .Net-
    J2EEAbhinav Srivastava6-jul-20088995hereFly By Night  --
    J2EEAshish Sarin15-Aug-20087092hereFly By NightTOGAF-
    J2EEPatrick Williams14-Nov-20078587StoryFly By NightSCJD & Upgrades-


    Other Java Certification Wall of Fames

    SCJA Wall of FameSCJP Wall of FameSCJD Wall of FameSCBCD Wall of Fame
    2 months ago
    I am sorry about that, can you post the information here so that I can put it there for you?

    Piet Souris wrote:@Frits
    in your code snippet you changed OP's 'notify' to 'notifyAll'. You didn't mention it, that change is essential to make the code run, otherwise it is very likely to block. That becomes more apparent if you do: Producer2 p1 = new Producer2(c, 11 - i);


    You are right!

    @Mark: Can you explain why it is essential to use notifyAll?
    2 months ago
    Hi Mark,

    Great that you solved your problem, but you were actually almost there with your first implementation.

    1. When you call wait you tell the thread to wait but with my current understanding the thread can only be "awoken" by assigning it an object to listen to, often called a lock.


    Yes, but instance methods are synchronized over the instance of the class owning the method. So in your first example the CubbyHole was used as the object to lock on. Note also that you instantiated one CubbyHole object.

    Slightly changing your first implementation:

    results in:

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10

    2 months ago

    Second question: I found (practically) that the following mapping:


    I can only answer your question from the specs (just looking at JPA 2.0 section 2.4.1)

    The correct mapping is is the one where you explicitly tell the JPA provider that the "masterKey" attribute of the OrderDetailKey contains the mapping to the OrderMaster. (you can leave out the "masterKey" attribute from the annotation @MapsId("masterKey") when the composite key of the OrderDetail and OrderMaster are the same, but the @MapsId should be there.)

    When using the @MapsId annotation, the specs state that:

    The embedded id attributes that correspond to the relationship are treated by the provider as “read only”—that is, any updates to them on the part of the application are not propagated to the database.



    That the mapping without the @MapsId works can be luck or can be a non-spec-related feature of the JPA implementation you are using. (it might not be portable to another JPA implementation)
    Hi Hanumant,

    Welcome to the ranch (again) and enjoy your promotion week!
    Congratulations      
    4 months ago
    Congratulations guys, well deserved  
    5 months ago

    Could they be sufficient?


    I am not sure but maybe Mikalai can answer that. Just post the question here and see what he thinks.
    If you haven't done any previous JEE exam it will be an enormous task. You will have to go through a number of books (or relevant specs). You might even start with preparing one of the previous EE exams and see how much work it is.

    Have you read this thread? Note that Mikalai Zaikin had almost all previous EE-certifications and found this one very difficult....