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

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 was damn high. My regular blood pressure is typically around 140/90. If you think that presenting in front of a large group of people makes me stressed out, this is not the case. I’m pretty experienced speaker and, actually enjoy presenting. I thought that was a device failure. I’m writin... (more)

JCrete 2014

I spent the last week in the beautiful island of Crete. It was my second JCrete unconference. Last year I was blogging each day and you can see all these blogs here. This year JCrete was as good as always. Geertjan Wielenga wrote a detailed report here. Stephen Chin’s took an awesome photo of all unattendees. The number of people on the waiting list for JCrete was the same as the number of attendees. JCrete is and will remain successful because the attendees are either seasoned software developers or are eager to learn from others. But for me, the atmosphere is the main reason f... (more)

What’s the Difference Between Abstract Classes and Interfaces?

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... (more)

JavaFX Event Handling and Property Binding

Some time ago I blogged that Java Swing should be deprecated and replaced with JavaFX. In this blog I’ll show a piece of JavaFX namely event handlers and binding. I’ve created a simple Sign In window with a GridPane layout (it’s JavaFX equivalent of Swing’s GridBagLayout). I’m not going to spend much time on the GridPane itself, but will show you a basic event handling and a binding. In JavaFX an event object is represented by the instance of the class javafx.event.Event. There are different ways of handling events. Depending on how you structured your application you can handle... (more)

Using URL Shorteners in Technical Documents

I spend a large portion of my time preparing courseware materials, writing books and technical documentation. These documents include hyperlinks, and some of them can be a 100+ character long. Do you include the long URLs in your docs? The immediate answer is to use one of the services like bit.ly, tinyurl.com, is.gd and the like.Beside shortening URLs the may offer other services like click-stats or real-time analytic data. But all of these services are backed by rather small companies. What if your preferred URL shortener is out of business, but thousands of your books are bei... (more)