Entity Engines for Java
I've been reading the documentation for Ofbiz, an "open source enterprise automation software project". Basically the project provides almost everything you need to create an ERP, a CRM or whatever Enterprise application you want.
One of the most interesting concepts they implement is the Entity Engine. In a nutshell, the engine allows you to deal with entities in your domain model dynamically. You don't need to create a class for every entity you need to define. Instead, you declare your entities using XML, and the Entity Engine does all the entity relationship and the OR mapping, giving you a GenericValue class that you use to get the info in and out of your entities.
When I was using Dynamo Commerce Server a couple of years ago, they had a similar concept called Repository, which would let you create Repository Items using XML. I always thought that was a cool concept, because it would let you customize your business entities to your needs, w/o having to recompile anything, as the entities were really just XML definitions.
Now, I know that JIRA is using Ofbiz's entity engine, but I wonder why there hasn't been something similar to this available as an open source project? I wouldn't want to download a whole ERP/CRM just to take out the entity engine.
I guess you could somehow repackage only the entity engine from Ofbiz and offer it as a standalone project, but it would be better to find something already in the wild and ready to work. Does anyone know of something like this? would you use something like this?
One of the most interesting concepts they implement is the Entity Engine. In a nutshell, the engine allows you to deal with entities in your domain model dynamically. You don't need to create a class for every entity you need to define. Instead, you declare your entities using XML, and the Entity Engine does all the entity relationship and the OR mapping, giving you a GenericValue class that you use to get the info in and out of your entities.
When I was using Dynamo Commerce Server a couple of years ago, they had a similar concept called Repository, which would let you create Repository Items using XML. I always thought that was a cool concept, because it would let you customize your business entities to your needs, w/o having to recompile anything, as the entities were really just XML definitions.
Now, I know that JIRA is using Ofbiz's entity engine, but I wonder why there hasn't been something similar to this available as an open source project? I wouldn't want to download a whole ERP/CRM just to take out the entity engine.
I guess you could somehow repackage only the entity engine from Ofbiz and offer it as a standalone project, but it would be better to find something already in the wild and ready to work. Does anyone know of something like this? would you use something like this?
public class JavaPosse extends JavaCast implements PodCast
lame title, isn't it?
A couple of months ago I presented a Podcast related to Java, Javacast. Well, for reasons that are still unknown to me, javacast went 'out of the air'.
But they are back! Sort of... They have created a new endeavour, JavaPosse, which so far has had some interesting podcasts. Hopefully this time they'll stay 'on air' longer.
But they are back! Sort of... They have created a new endeavour, JavaPosse, which so far has had some interesting podcasts. Hopefully this time they'll stay 'on air' longer.

Categories : Java
Gmail oopses
So, if you use Gmail, I'm sure you're also getting the regular 'Oops' message:

I've been having this error on and off for at least 3 weeks, and sometimes it annoys me (OK, every time). Doing a basic research, it appears many people are aware of this error, but no one knows why. Even though the system is in the 'beta' stages, I think an explanation from Google would be nice. Someone on some Spanish blog mentioned that it has to do with the domain changes they're doing because of the G-mail lawsuit, but there's no evidence supporting this.
Does the fact that the service is advertised as 'Beta' make it OK for a company to ignore these kind of problems?
UPDATE: I followed a suggestion that someone gave to me, and it seems that the problem has gone away. What I did, basically, was to modify my bookmark of gmail, to connect thru https. This seems to avoid the Oopses.

I've been having this error on and off for at least 3 weeks, and sometimes it annoys me (OK, every time). Doing a basic research, it appears many people are aware of this error, but no one knows why. Even though the system is in the 'beta' stages, I think an explanation from Google would be nice. Someone on some Spanish blog mentioned that it has to do with the domain changes they're doing because of the G-mail lawsuit, but there's no evidence supporting this.
Does the fact that the service is advertised as 'Beta' make it OK for a company to ignore these kind of problems?
UPDATE: I followed a suggestion that someone gave to me, and it seems that the problem has gone away. What I did, basically, was to modify my bookmark of gmail, to connect thru https. This seems to avoid the Oopses.
Categories : General
Switched Linux Distribution... Again
Hopefully for the last time
After playing with Ubuntu for a while, I decided it was time to test another Linux distribution. This time, I went with OpenSuSE 10.0. As always, installation wasn't a problem. In less than 25 minutes I had my system up and running. I liked the fact that opensuse, after installing, takes you directly to the login screen. No reboot required. It's been a while since I installed Windows XP on a machine, but I remember at least a couple of reboots to get my system installed.
Among one of the nicest features of opensuse is the fact that installing FreeNX is a breeze. And it works really good. I just wish I could 'detach' from a session, so I can return to the same session later.
The OSS version of SuSE does not include Java support on the installation CDs, but it's just a matter of adding a repository to the YaST installer to get Java. I installed Java 1.5 and Eclipse 3.1 with no problems.
Administration is somewhat different from other distributions. For example, they provide 'rcscripts', which are just links to the real scripts on /etc/init.d/. At first I found this a little odd, but now I got accustomed to them.
The only thing that I would change is the addition of sudo support, just like Ubuntu. In Ubuntu, you don't have to use a root account (in fact, you usually don't assign a password to root) but instead rely on sudo to do everything. The first account you set up has root sudo privileges, and you only need the password for the user to execute something as root. I hope more distributions chose this route.
I have yet to test my full set of hardware, but I'm sure I'll have little troubles.
Among one of the nicest features of opensuse is the fact that installing FreeNX is a breeze. And it works really good. I just wish I could 'detach' from a session, so I can return to the same session later.
The OSS version of SuSE does not include Java support on the installation CDs, but it's just a matter of adding a repository to the YaST installer to get Java. I installed Java 1.5 and Eclipse 3.1 with no problems.
Administration is somewhat different from other distributions. For example, they provide 'rcscripts', which are just links to the real scripts on /etc/init.d/. At first I found this a little odd, but now I got accustomed to them.
The only thing that I would change is the addition of sudo support, just like Ubuntu. In Ubuntu, you don't have to use a root account (in fact, you usually don't assign a password to root) but instead rely on sudo to do everything. The first account you set up has root sudo privileges, and you only need the password for the user to execute something as root. I hope more distributions chose this route.
I have yet to test my full set of hardware, but I'm sure I'll have little troubles.