Tag Archives: j2ee

Resolution list for 2008

A new year is now beginning and that usually means New Years Resolutions, so here are mine, just the geek oriented and in no particular order:

  • Finish TemujinPhoto, finally I’m working on it and in a few weeks I hope to have a working beta.
  • Probably this is the year I’ll take a certification, most likely a Microsoft Certified Professional. Probably…
  • Take photos.
  • Must dive into .Net 3.5 and LINQ.
  • Been thinking about creating a desktop client for Remember The Milk in WPF, I’m needing one and the guys at RTM have a neat API (WPF is for learning something new).
  • Must buy a tripod, need to do night shots.
  • Get a taste of EJB 3.0 and the Spring 2.5, just a small taste to check what I’ve been missing on the Java world.
  • Put my reading up to date, I still haven’t read this one (no need to buy me a copy, I already own one and it has been gathering dust for some time).
  • Take more photos: night photos, motion photos, street photos, concept photos and all kinds of photos I haven’t been doing lately.
  • There has been some ideas to make a few short movies, I sure hope we can turn them real. Another reason to buy a tripod…
  • Probably dump Windows on my laptop completely, I’m getting happier with Ubuntu everyday.

There’s nothing like turning your New Year resolutions public, or at least part of them…

Keeping the head above the water…

Rockford Lhotka in his latest post writes about being a better developer, and there’s one point that caught my eye:

Keep my head above water

Microsoft has recently, and continues into the foreseeable future, to come out with new technology releases at a ridiculous pace. By “head above water” all I really mean is that I want, at least, to have a general clue about the purpose and real capabilities of all the stuff they are throwing at us. Not just the marketing hype, but what it really means.

I’ve been suffering this for some time, for the last year and a half I’ve been working in a project with cutting edge technology: .Net 3.0 when WCF still was called Indigo specially WCF. Although it has been a long project I still fell I have some ground to cover here and there, and I’m already ruling out all those presentation based technologies (like ASP.Net AJAX, WPF or Silverlight) that I know I wont use in th forthcoming future. But right in front of me already lies things like LINQ and C# 3.0, and all of this just in Microsoft world: I haven’t had an opportunity to get decent a decent glimpse of EJB 3.0.

I guess the trick is to try to keep the head above the water, at least to know what’s out there and that may hit you one of these days…

Mocking web services with SoapUI

The latest release of my favorite web service testing tool has a really interesting feature:

Support for Mocking of Web Services directly from within soapUI. Mock Services can be run either from inside soapUI or with one of the IDE/Maven/CommandLine plugins.

In a service oriented architecture is usual, and desirable, to have contract definition (i.e. the web service WSDL and schema) before the service implementation is available or, at least, is robust enough for testing. Having such a tool makes the development of clients for such services much faster and removes the part of the pressure of service implementators.

Mocking web services along with other nice features like unit testing or load testing makes SoapUI probably the best tool for web service testing around, it was the only Java tool I was able to push in the Microsoft-based environment I’m working at.
 

Web Service Mocking [via SoapUI Documentation]

Technorati Tags:

Javapolis 2006 Presentations

Javapolis has become one of the major Java events in Europe, combining in one place and one week the latest trends in different kinds of presentations. Last year’s edition took place in December and now the videos of several presentations, hopefully all of them in the near future, are being released online, something really neat for people like me that couldn’t be there:

Javapolis 2006 Presentations

There’s more content, such as presentation slides in pdf, available at Javapolis homepage (requires fres registration).

Don’t Let Hibernate Steal Your Identity

This was my first real issue with Hibernate when working, right after trying to understand how mapping files work and all the other "hey… if put this here what happens if I put this here".

The problem is simple, the default behaviour of the equals method doesn’t fit in a what you would need for an Hibernate object: it’s relies on the internal hash code generated for each instance, so it will not distinguish between two different instances that represent the same row in the database. The immediate solution is obvious, override equals and hashCode methods so we can, at least, compare the id’s of the objects to check whether they represent the same database entity, but this raises another problem: when an object hasn’t been saved in the database (the id field is still null) there’s no way to compare it to another one.

It’s becoming clear that problem is gets more complicated each time we look at it, but James Brundege came to the rescue and released a fine article where he takes this issue one step beyond, or even two.

ONJava.com: Don’t Let Hibernate Steal Your Identity

 

Technorati Tags: java, hibernate, orm, o/r mapping, database

Apache Geronimo J2EE certified

The J2EE application server from Apache, Geronimo, has achieved Sun’s J2EE 1.4 certification and has become the third certified open source server, the others are JBoss and JOnAS.

…Or is it the second?? There’s some discussion whether JBoss is truly an open source project, unlike Apache Geronimo or JOnAS, which are community driven efforts, JBoss is the product of an open source company. I kind of agree with this view, although JBoss is a fine product and I’m using it right now I don’t see it as an open source project, but something like a “free comercial product with source code”. This issue has led to a huge debate on what open source really is, like the Open Source Monopoly article, and how it may evolve in the near future. And, just putting more gas into the fire, some may argue about the closer relationship of Apache Foundation and IBM;)

Even so, and putting all these questions aside, this is excellent news for the Java world.

Technorati Tags: , ,

Switch to our mobile site