Jeanne Boyarsky

author & internet detective
+ Follow
since May 26, 2003
Jeanne likes ...
Eclipse IDE Java VI Editor
Forum Moderator
New York
Cows and Likes
Cows
Total received
723
In last 30 days
9
Total given
99876
Likes
Total received
3919
Received in last 30 days
20
Total given
2806
Given in last 30 days
10
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt Green check
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Jeanne Boyarsky

This week, we're delighted to have Jeff Friesen helping to answer questions about the new book Java XML & JSON.
See the table of contents or a free preview online.

The promotion starts Tuesday, February 12th, 2019 and will end on Friday, February 15th, 2019

We'll be selecting four random posters in this forum to win a free copy of the book provided by the publisher, Apress.


Image from https://images-na.ssl-images-amazon.com

Please see the Book Promotion page to ensure your best chances at winning!

Posts in this welcome thread are not eligible for the drawing, and should be reserved for welcoming the author. Questions posted in this topic are subject to removal.

Campbell Ritchie wrote: You will also have to use the NIO classes and try‑‑resources from Java7,


Note that these are on the 809 (OCP), not the 808 (OCA)
Congratulations! Those are awesome scores!

I appreciate that you posted your end of chapter and mock scores here. It's helpful for people assessing whether they are ready.
Got it. So the idea is to have four local databases instead of one.

I think you are going to need to look at bandwidth use for the database. It might be easier to have one database that all four grids reference. Or it might be easy to keep the views in sync and be a moot point.
I wrote a blog post about the possible meanings of "it's easy". Can you think of any more?
Are you saying that you still get:
mes1: Sender: null subject: null content: null date: null
mes2: Sender: google100gmail.com subject: Subject content: how's going? date: 2/1/1998
1 week ago
Where did you hear the word? What was the context? Is there sample code? Did you read it on a website?
1 week ago

rian bron wrote:
//output "Daniel"
//output "Daniel"
is these outputs are correct. or whether the first output will be "hello".


They will both be "hello" because you are calling the "get" method before anything else happens.

rian bron wrote:
and another question, is it possible to write the constructor name only as instead of ?


In this case, you can. When you remove the "public", the access type is package-private. This means you can use it in that class or package.
1 week ago
When I run your code, I get:


The output you describe shouldn't be possible. Maybe try re-compiling in case you aren't running the same code you posted here?
1 week ago
Interesting question. I'd say it's a web application. Or an enterprise web application. Or a web platform.
1 week ago
That's not a lot of data so whatever you choose, it'll be quick.

Since you are migrating between schemas, you need to express how the data should change. While I imagine that data warehouse tools can do this, it seems like overkill for your scenario. I recommend just writing a program to do it.
1 week ago

Bob Matthews wrote:The four computers are used to run four different database table configurations


I don't understand this. Are you saying to separate tables across four computers? That seems unnecessary.

Things to think about: how much data will you have in the database? is this program IO or CPU bound? What limitations do you hit on a single computer? How many users will you have?

Will Myers wrote:I can see this book is 456 pages which doesn't seem long enough to cover the topics in any great detail (the OCP study guide is around 950 pages) so who is the target audience?


The OCP study guide has to cover a bunch of edge cases and details that are on the exam. It also needs to have practice questions that take up a lot of space.

The Nutshell book actually covers a lot more material in a shorter space.
2 weeks ago
First, a big thanks to Ben Evans & David Flanagan for being here to promote the book Java in a Nutshell.

The winners are:

Will Myers
Vanessa Williamson
Dave Tolls
Cezar Apulchro

Please send your snail mail address to bookpromotion AT javaranch DOT com. To ensure the quickest response, please provide the following:

Your name (first and last - if your CodeRanch name is different, please include both your real name and Ranch name)
Email
Country (needed even if requesting an e-book)
Address
Phone Number


Also, please include the following as the subject of your Email.

Book Promo Winner - Java in a Nutshell - Tuesday, January 29th, 2019


Image from https://images-na.ssl-images-amazon.com

As noted in the Book Promotion Eligibility Requirements and Legal type stuff, the winners have 8 days to submit their information. Within 3 days of receipt of your email, we will reply to let you know we got it. If you don't hear back, the goat might have eaten your email. Please let us know by posting in the Ranch Office so we can check on it. Once you have received your copy please let us know by editing the Book Promotions Winners Page and updating the 'Status' column to say you have it.

Thanks and congrats to all the winners.
2 weeks ago
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
  • 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
    2 weeks ago