ONess demo site down for maintenance

The ONess demo site is down for maintenance, so please be patient. Soon it’ll be up with a better bandwith.

Open Source: Open for Business

Here you can find an interesting report about business and open source.
Leading Edge Forum Report 2004, Open Source: Open for Business

Map with visited countries

This is the map of contries I’ve been to:

You can also create your personalized map of europe

Does Sun test its webapps?

I was taking a look to the JUG section of java.sun.com and went to the search form . I just clicked the Search button without entering form data and voil�! I got an exception, not only telling the system was not througly tested but also that the underlying database is Oracle (see the “ORA” code)
java.sql.SQLException: ORA-00936: missing expression

This made me recall a conference about search engines where I was told that the most searched word was… the empty string! So don’t underestimate user dumbness 😉

Maven ibiblio repository mirrors

There are some mirrors of the main maven repository at ibiblio that you can use for faster
downloads:
http://mirrors.sunsite.dk/maven/
http://ftp.up.ac.za/pub/linux/maven/
http://download.au.kde.org/pub/maven/
http://public.planetmirror.com/pub/maven/
http://public.www.planetmirror.com/pub/maven/
http://smokeping.planetmirror.com/pub/maven/
http://horde.planetmirror.com/pub/maven/
http://curl.planetmirror.com/pub/maven/
http://python.planetmirror.com/pub/maven/

Just change your maven.repo.remote property to any of these.

Spring transactions and Hibernate session

When using Spring transaction proxy org.springframework.transaction.interceptor.TransactionProxyFactoryBean with an Hibernate transaction manager org.springframework.orm.hibernate.HibernateTransactionManager you should know that Hibernate session will be opened at the start of the transaction and closed at the end. Any modification to persistent objects will be flushed to database, so be careful when in service managers (aka business delegates or facades) you touch Hibernate persisted objects. What I’ve done is return clones of them in my DAOs so they can be used as Transfer Objects, changing its state will not change database state.

Be sure that in the TransactionProxyFactoryBean bean definition you add transactionAttributes for every method in the facade or the session will be closed every time a DAO call spring HibernateTemplate.execute method. I forgot this for get* methods and got errors difficult to debug.

Maven repository search tool

If you’re looking for a library and don’t know where it is check this search engine

Displaying a graph of Spring beans

Mike Thomas has developed SpringGraph a stylesheet to generate a graph from Spring beans in application context.
I took it and developed the maven-springgraph-plugin, check the sample output. I think spring users will find it useful.
The main drawback is the need to install Graphviz, so if anyone knows a Java implementation to make graphs, please tell me.

New ONess modules released

I’ve just released the following modules

  • ONess Common 0.2
  • ONess Common-Maven 0.3
  • ONess Common-Model 0.3
  • ONess User Management Model 0.2

Tomorrow I’m releasing the other ones.

Check the changelogs at http://oness.sourceforge.net/multichanges-report.html

More ONess modules released

Today the other modules have been released

  • ONess Common Webapp Controller 0.3
  • ONess Common Webapp View 0.2
  • ONess User Webapp 0.2
  • ONess Inventory Model 0.1
  • ONess Inventory Webapp 0.1
  • ONess Party Model 0.3
  • ONess Party Webapp 0.3

As before, check the changelogs at http://oness.sourceforge.net/multichanges-report.html