Jump to Navigation

java development

Java Transaction Amount (Money) Class

When writing applications that need to track financial transactions most developers use BigDecimal to ensure that rounding is done properly and that there is no danger of arithmetic overflow or precision and scale being lost when performing arithmetic operations.

Using BigDecimal for tracking financial transactions is fine until you need to take into account other aspect of a financial transaction such as:

Hibernate's HQL "inner join on" limitations

We use hibernate on our projects for the ORM technology. We are starting to use EJB3 now for all new development. Luckily its very similar to hibernate so we don't have to re-skill too much.

Hibernate HQL Inner Join

An issue that I came across recently was hibernate's HQL language inability to handle "inner join on" clauses. If your domain entity model has relationships defined between the related objects then something like

Maven 2 -- classworlds.Launcher not found

The other day I suddenly started getting this error when running maven 2 on my gentoo box.

Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/classworlds/Launcher

XFire and Spring dependency conflict

Don't you hate it when you figure out a bug only to forget it two weeks later? This usually happens with those bugs which aren't your fault. One such bug I came across recently, was when I was using XFire 1.2.6 and Spring 2.0.2.

When trying to view the wsdl for the service I got the following error in the tomcat logs:

Tips for using Maven2

A while ago I decided it was time to abandon the old familiar Ant build tool and try Maven. Everyone claims that Maven is much better than Ant so I thought lets give it a go. Unfortunately I found the documentation available on the net confusing and hard to follow.

Tips on using Struts validation framework

Struts Validations Framework How to


The struts validation framework is quiet straight forward to use but there are lots of little gotchas that slow down the learning process. It should take one no more than two hours to understand and use the validation framework. Here are some of pointers that help new users of the framework.

Why maven sucks!

Ok, generally I agree that Maven is a good tool, its just that it promises to be a great tool but fails to deliver on its central promise of easy dependency management. The main issues I have with Maven are:

  • Poor and misleading documentation,
  • Repository hell

Poor documentation

Java Development

Jumping Bean has java expertise in the Java enterprise development and the Java mobile space. Our team of skilled developers can either compliment your existing team or you can outsource the entire development to us.

Java Enterprise Application Development

Using our extensive skills and experience Jumping Bean can develop custom applications to meet your unique needs. We architect our applications, reusing open source components where possible, saving time and money, and improving the overall reliability and security of the application.

Contact Jumping Bean now via email or phone us on 011-781 8014 for your Java development requirements.

Subscribe to RSS - java development


by Dr. Radut.