Welcome!

From the Trenches of the Enterprise Software

Yakov Fain

Subscribe to Yakov Fain: eMailAlertsEmail Alerts
Get Yakov Fain via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories by Yakov Fain

Probably the most popular question during Java technical interviews is “What’s the difference between abstract classes and interfaces”.  In my own three year old book I’ve offered the following answer: “An abstract class may contain code in method bodies, which is not allowed in an interface.With abstract classes you have to inherit your class from the abstract one because Java does not allow multiple inheritance. On the other hand, you can implement multiple interfaces in your class.” But starting from Java 8 this answer is wrong. This is how I’d answered it now: “Both abstract classes  and interfaces allow you to implement common static methods while leaving the implementation of some methods to other classes. Abstract classes can also have instance-specific methods and they enforce vertical inheritance hierarchy.  Interfaces can’t have instance methods, but they... (more)

Social Networks Are Getting High

Not that I don’t like social networks, but I see no use for them in my personal life. I use Twitter for business reasons mainly, like advertising my upcoming training “JavaScript for Java Developers“, which doesn’t prevent me from posting a photo of two salmon heads that I was about to use for fish soup. Java developers eat fish too, and these fish heads could start a small talk with someone, who could decide to enroll in my training later. I have an account on LinkedIn, which, hopefully, one day will bring me some business opportunity other than these annoying emails “I want to a... (more)

Working on the Java Tutorial, Second Edition

In 2011 Wiley (Wrox) published my book “Java Programming. 24-Hour Trainer“. To be honest, I don’t like the title because it misleads people as if this book promises that the reader can learn Java within 24 hours. But creators of this series (many titles were published under this umbrella) meant to say that this book was like your personal instructor; 24 hours a day. Whatever. It’s not my call. But earlier this year I got a call from the publisher stating that they’re happy with the book sale numbers and want me to update the book and release the second edition reflecting the lat... (more)

Is HTML5 Web 3.0?

About six years ago I wrote a blog titled “I have no idea what  Web 2.0 means“.  That blog had link to a video where IT leaders were helplessly trying to explain what Web 2.0 means. One guy said something like this, “Everyone wants to do it, and you can’t find enough people to do it”.  I still believe Web 2.0 was nothing else but a catchy marketing term, which helped selling such events as Web 2.0 Expo, Web 2.0 Summit, and helped Forrester in selling their typical 7-page-for-1000-bucks-zero-info reports (this one was quietly removed). The Web 2.0 term is fully milked out and the... (more)

Yakov Fain's (@yfain) Blood Pressure At @ThingsExpo

Blood Pressure While Presenting at Conferences In June I was presenting at the Internet of @ThingsExpo at the Javits Center in New York City. During my talk I was demonstrating how to integrate consumer devices into a business workflow. In particular, I was doing live measuring of my own blood pressure to show how to integrate consumer devices into a business workflow. Internet of Things, you know. The results were automatically appearing in my customized Web application. When the results appeared on my mobile device I was quite surprised to see that my pressure was 200/120. This... (more)