23 September 2009 | Uncategorized | RobbieC
XMLSpy or Liquid XML Studio are tools you could use for generating an XSD from XML. If you prefer some open source alternative, try Apache XMLBeans. It comes with some useful tools such as inst2xsd. It converts your sample XML to XSD. It comes with some arguments to tweek the generated XSD.
I integrated the inst2xsd [...]
No Comments
23 September 2009 | Camel, Java, Spring | RobbieC
Camel allows you to define Type Converters by putting the annotation @Converter at class and converter-method level. You need to define a file META-INF/services/org/apache/camel/TypeConverter, which contains a comma separated list of packages Camel has to scan for Converter classes.
All fine as long as your Converter doesn’t need any dependencies injected. The Camel manual ‘extensively’ describes [...]
No Comments
22 September 2009 | Spring | Youri De Bondt
Imagine having a factory bean like MethodInvokingFactoryBean or MapFactoryBean (or any factory bean, but I’ll use these two as an example) and you want to call it using getApplicationContext().getBean(”myFactoryBean”).
In case of the MethodInvokingFactoryBean you will get the returnvalue of that method back (which can be “null”, even though getApplicationContext().contains(”myFactoryBean”) returns “true”) . If you’re [...]
No Comments
21 September 2009 | WordPress | RobbyVD
If you would like to be notified of the comments written on this blog, then you can subscribe to the comments feed.
This is the URL:
http://javablog.pearlchain.net/wordpress/?feed=comments-rss2
Comments Off
21 September 2009 | General | JanC
One of the more annoying things you have to do as a developer is that you have to work with office tools every now and then and they have a default ‘Personalized Menus and Toolbars’ option.
What does this mean?
Whenever you look for a menu-item, it is sometimes ‘hidden’ unless you click on the arrow-marker on [...]
No Comments
18 September 2009 | General | RobbyVD
From now on, all publication of posts on this blog will automatically generate a tweet on http://twitter.com/PearlChain.
With thanks to the Wordpress plugin Twitter Tools!
Remark: the author can still choose to not publish a tweet by turning “Notify Twitter about this post? ” to “No” for his post.
No Comments
17 September 2009 | General, Hibernate, Java | StevenV
I’ve noticed that we are facing more and more performance issues in our application. At this moment there are two main culprits :
Too much data fetched
We’ve had some problems in the past that too much data was sent from server to client. When using@PropertyDescriptor in our application only the needed data is sent from server [...]
No Comments
14 September 2009 | Architecture, Java, Spring | VitalyK
Our flagship product, Supply-It, is a planning application that (amonst others) is capable of scheduling the complete workload of production plants. This can results in quite elaborate plannings with numerous production orders.
The logic that caused the planning to be what it is, is often quite complex and it may often be tough to understand [...]
No Comments
14 September 2009 | Java | KennyDS
Sometimes tests fail on our Hudson server even if they run fine into Eclipse. This was once again such a case. We where trying to run a test that makes calls to a graphical shell. In eclipse they ran just fine but on the hudson server they tried to connect to an X11 server (a [...]
No Comments
11 September 2009 | Java, Unit testing | RobbyVD
Today we found out that a number of our unit tests were failing on the build server (and rightly so), but not on the developer’s PC.
This was caused by the fact that assertions were not enabled in Eclipse.
To avoid these problems in the future, we now ask everybody to adhere to the following guidelines:
You should [...]
Comments Off