Wednesday, April 23, 2008

Where’s my data coming from?????

I work on applications that interface with other applications using Web Services, and XML feeds. These apps help track employee information for different companies to track thing like pay, performance, and security issues. The problem is, I don’t know where the actual content is originating from. That can be problematic, because you are assuming that your data provider will let you know if there is a format change or discontinuation coming down the pipe. Typically, the provider will let you know, somehow. However, in the case of systems “piggy backing” on data of other systems, then in turn, providing that data to further systems, eventually, the message of change gets lost.

I found this out the hard way a couple weeks ago. Luckily for me, it was for a low priority system. I manage a series of blogs for a corporation. I don’t manage the content, but I taker care of the themes and plugins. One of the plugins that I wrote was a “Company Updates” plugin, basically an RSS type of news reader that uses plain XML, and not the RSS standard. The data was coming from what I thought to be the HR department. However, they were just sending it to me through a XML feed, as they were getting it from a small group in the company who were generating the data by hand. Well this group changed the format of the XML tags, and notified HR. But HR didn’t notify me. All of a sudden, I come to work and all of the Blog users were calling me because the “Company Updates” feed was busted. I noticed the change in the XML feed, so I fixed the problem. However I couldn’t understand why I wasn’t notified.

I contacted HR, and they didn’t know anything because they never wrote the Change notification down. Apparently the employee who was notified about the change assumed that in my super natural power over XML feeds, my plugin would have updated dynamically with the XML change. True, if I had a DTD or Schema, I could have written a more intelligent plugin, but I didn’t have a DTD or Schema, and this was a pretty small system. In this case, it is easier to modify the code as changes occur. Anyway, the HR people got me in touch with the group who produces the feed. They told me about the notifications. Needless to say, I switched the origin of the feed to this group.

The moral of the story is that documentation is a REALLY good thing. In this case the problem was small, and easily rectified. However, it made me review my other interfaces, and I decided to write up a Provider/Consumer agreement about data, so the actual origin of the data is known. This agreement is review by all parties in involved and helps to keep me in the loop when changes happen.

Wednesday, January 16, 2008

Sun buys MySQL

I just read on Slashdot that Sun Microsystems acquired MySQL. That is of particular interest to me because I love MySQL. I use it for all of my side projects and some of my professional projects. It should be interesting because MySQL has gained a lot of popularity with PHP developers and the whole LAMP (Linux, Apache, MySQL, and either Perl, Python, or PHP) movement. Many web developers who use MySQL, don't seem to think of Java as the first language to use with it. Java, being Sun's major programming platform, is now going to be linked to MySQL. So I wonder if the LAMP acronym might be changed to LAMJ???? I know, that doesn't make much sense. But from my perspective, a web developer who loves to develop in Java, that combination opens a lot of doors.

This acquisition might also open MySQL up to a more professional world. For the past 10 years, though MySQL has been used in some minor projects and applications, the big question I always see in regards to databases is "Oracle or SQL Server?" Many of the organizations I worked for didn't really trust MySQL. So now, I wonder if companies and organizations might change their mind, now that MySQL has Sun behind them.

Tuesday, December 18, 2007

What happened to javarss?

About a year ago, javarss.com got hacked. Back up, for those who do not know that Javarss is, it was a simple site that had a really nice AJAX driven interface containing RSS feeds from all of the major Java websites. It was simple, just a bunch of links, organized by Website, and when you hovered over them, you'd get a brief synopsis of what the article was about. A one stop shop for Java info and advancements. For busy people, like me, it saved me the trouble of surfing through a dozen or so web sites each day to to find interesting topics.

Well, it was great, until it got hacked back in March 07. The hacker go into the server, and replaced the javarss page with a evil (and kind of neat) looking page, proclaiming "Hacked By Secretary Lucifer". The hacker even left a couple email where the server admins can contact them, possibly about getting their access back. Well, a couple months later, the server admins finaly gain control again, but they never bring Javarss back up. All that remains is a message that reads "We are restoring the site. Please visit us later...". This has been like this for about 6 months. I would love to know how the hackers got in, I love learning about that stuff.

So, what happened? I mean, c'mon, they are just loosing money, and loosing loyal followers with each passing day that they stay closed. I can honestly say that since their demise, I have started to frequent DZone a lot more. DZone is a similar concept, but with a much more rich interface, and they are find articles for languages other then Java. After all, we are developers, not Java Developers. So, I highly recommend you check it out if you haven't already.