Read Digital Edition


ADS BY GOOGLE
Top Three Links You Must Click On


Mentality Shift: from a RAD tool to Java and back
A blog by Yakov Fain

Mentality of programmers depends on a  programming language or tool they use. Should they even try to learn what's under the hood in a particular framework?

Ten years ago I've been programming in PowerBuilder. This is a RAD tool and it does a LOT for you automatically. Creating a simple CRUD application there is a matter of one day (hello from the 90th, RoR). Anyway, I did not care HOW PowerBuilder did it under the hood.

Then I switched to Java and started to spend all time programming this "under the hood stuff".  I've learned how to MANUALLY program servlets, JSP, EJB, et al.



Last year, I was working on a project that was using WebLogic's Workshop 8.1 (not a good tool), which was also providing a lot of auto-generated functionality. But after so many years of writing everything manually, it gave me an uneasy feeling: the tool was instantiating some objects (if I remember correctly they were called handlers) internally, without even providing the Java source code for that. One day we started getting sporadic NullPointerExceptions caused by these internal objects. That time I felt very insecure - nothing depended on me (in my PowerBuilder life this would be perfectly fine - my mentality was different). Tech support guys kept asking me to reproduce the error, but it's really hard...Neither level 1 nor level 2 support was able to help me with their own framework

These days Java has fifty frameworks that do the same thing as Struts. This is insane. A couple of days ago I ran into an online posting by a Delphi programmer who wants to switch to Java Web development. He’s asking if he should study Echo 2 or Wicket framework. He’s not even planning to learn the basics such as Servlets and JSP. He does not even want to understand how Java Web applications work under the hood. Yet another wannabe framework coder. Yet another dispensable commodity. This was your choice, but do not complain when you lose your job because there are legions of programmers in India having the same or better understanding of what’s going on in a Web application and can do this job for a half price.

Now I'm using another RAD tool called Flex 2 from Adobe. It has an XML-based declarative language called MXML that gets compiled into the object-oriented ActionScript 3, which in turn gets compiled into a bytecode and runs in Flash Player, which is a virtual machine. But the good news is that mxml compiler has a special option to keep the generated ActionScript code. Plus, the source code of Flex framework itself is available as well. This gives me some confidence and understanding of what's under the hood, and I can debug it if need be.

The moral: use a framework or a RAD tool to make your day-to-day life easier, but know how it works internally...just in case
About Java News Desk
JDJ News Desk monitors the world of Java to present IT professionals with updates on technology advances, business trends, new products and standards in the Java and i-technology space.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

  Subscribe to our RSS feeds now and receive the next article instantly!
In It? Reprint It! Contact advertising(at)sys-con.com to order your reprints!
Subscribe to the World's Most Powerful Newsletters

ADS BY GOOGLE
In CloudBerry Lab we are striving to make our customer service better. In this competitive market wi...
This past weekend I set out explore some of the extension capabilities of Google Wave. One of the we...
More good news for cloud computing! Google last week released its once mysterious Chrome Operating S...
We talk a lot about social media on Marketing Trenches. And for good reason – Social media seems to...
Intel has put out its promised beta SDK for Windows (C and C++) and Moblin (C) developers working on...
InformationWeek stumbled on a Microsoft patent application dating back to 2006 deceptively titled “M...
Berlin-based ThinPrint AG, the printer virtualization house, thinks it’s got a cloud solution for th...
Behaving like it’s got a future, Sun Monday put out what it calls a significant new version of Virtu...
IBM has acquired Guardium, a seven-year-old subsidiary of Israel’s Log-On Software transplanted to M...
But on the web, access to services is implicit in the fact that the business is offering the service...
Oracle has offered to cordon off MySQL inside a combined Oracle-Sun to get the European Commission t...
The second set of charges filed last week against Indian outsourcer Satyam Computer Services founder...
Gartner told Reuters that it overestimated how many PCs Acer shipped in the last seven quarters by a...
Gartner is buying ~$40 million-a-year AMR Research Inc for close to $64 million in cash. AMD special...
Singed by user reaction to its plans to up the price of its support contracts, SAP Tuesday postponed...
Apparently Google Gears ain’t gonna stick around that long. Google Apps will eventually get their of...
Office Web Apps, Microsoft’s answer to Google Apps, are supposed to be out sometime in June along wi...
Gartner thinks the server business has stopped sliding into the abyss. Third-quarter sales weren’t a...
Oracle seems to have divided the open source ranks over the MySQL delay it’s having closing its acqu...
We hear – well, you know how people talk – that Oracle has been quietly meeting with the European Co...