J2SE 5 (Tiger) has been finally released as General Availability.
Download it
Check the new features and enhancements
Tiger Roars: The Release of Java 2 Platform, Standard Edition (J2SE) 5.0, an Interview with Sun Fellow Graham Hamilton
Monthly Archives: September 2004
Want to hire an Apache developer?
The Apache Software Foundation, the most respected organization in the open source world, has opened a mailing list to allow posting job offers to the members of the community. Offers can be sent the to jobs (at) apache (dot) org.
Struts Or JSF? Struts And JSF?
Craig McClanahan, the original creator of the Struts Framework and the co-specification lead for JavaServer Faces 1.0 (JSF) has wrotten a very interesting entry in his weblog about Struts and JSF integration, with some comments about Spring and JSF.
Definitively JSF is on the top of my list of TODO tasks.
Avoid duplicated info in the Spring application context
Some configuration is shared across many projects and duplication must be avoided, e.g. for hibernate configuration this can be achieved using ArrayList for properties of type List and a custom class HibernateProperties for properties of type Properties.
${hibernate.dialect} ${hibernate.show_sql} ${hibernate.hbm2ddl.auto} net/sf/oness/party/model/party/bo/Party.hbm.xml
This way mappingResources can be overriden in each project for their set of classes and hibernateProperties can also be overriden to get values from JNDI as I do in the ONess project.
New ONess module order to invoice
The module order which models the process order to delivery docket to invoice has been added to ONess.
Avoiding OutOfMemory errors in Maven (part 2)
As Rick Hightower stated in a previous comment, another way to avoid running out of memory is forking the virtual machine. When doing so the MAVEN_OPTS doesn’t affect the new vm, you have to use the maven.junit.jvmargs
property.
maven.junit.fork=true maven.junit.jvmargs=-Xmx256m
Avoiding OutOfMemory errors in Maven
If you are getting out of memory errors when running Maven you can increase the amount of memory used.
You only need to set the environment variable MAVEN_OPTS, e.g. MAVEN_OPTS=-Xmx512m if you want to use 512 MB of memory.