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

I enjoy the process of developing software, which includes many various activities. But learning and teaching new software are the two activities I enjoy the most. During my 30-year career I’ve been working as an independent contractor, taught countless training classes, prepared and read hundred of resumes, co-founded a couple of startups. You might be thinking that now a grouchy old programmer will start complaining that young software developers don’t know how to program? Don’t be. It’s all the way around. The skills required today for getting a Software Developer job are different than in the nineties. I’m not even talking about programming languages that were popular then and now. The mere number of different languages, tools, frameworks, and platforms that must be present on a resume today is piling up. It’s more difficult to become a competitive software dev... (more)

Secrets Of The Masters: Core Java Job Interview Questions

JDJ's Enterprise Editor, Yakov Fain (pictured) writes: If you are planning to hit the job market,  you may need to refresh some of the Java basic terms and techniques to prepare yourself for a technical interview. Let me offer you some of the core Java questions that you might expect during the interviews.  For  most questions  I’ve provided only  short  answers to encourage further research.  I have included only  questions for mid (*) and senior level (**) Java developers. These sample questions could also become handy for people who need to interview Java developers (see also ... (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)

Java Serialization

In lessons 5 and 6 of this series, you've learned how to use some of the Java streams to read or write bytes, characters or numeric data. This lesson is about reading or writing entire Java objects into streams. Let's say your application uses a class that looks like this: class Employee { String lName; String fName; double salary; java.util.Date hireDate; String address; } Now consider the following scenario: a program HeadQuarterEmpProcessor creates an instance of the object Employee. The values of its attributes (object's state) have to be saved in a file or some other stream. L... (more)

Methods, Constructors, Overloading and Access Levels

Methods tell us what a class can do.Developers can define their own methods and Java Developers Kit has a variety of classes and each of them may contain methods. Some methods require arguments - the incoming data that have to be processed. For example, here is the code to convert a String value to a number of the type of integer: String testStr = "5000"; int test = Integer.parseInt(testStr); It is said that the method parseInt() has one argument of type String. The method parseInt() is defined in the Java class Integer. Programmers could also define methods that take arguments, fo... (more)