ALL2012

2012-09-26 Java substring is incredibly slow
String.substring(int) incredibly slow for large Strings is my favourite bug!

I had trouble with this issue on 10th of September, when I installed an update of the JDK...
Suddenly my Eclipse editor plugin underperformed a bit - well - Eclipse freezed for minutes after each key stroke.

Reason enough to search the cause and change the plugin to use a char array plus a replacement for substring directly.
But all other Eclipse editors are still incredible slow...

Good enough: That bug was already reported.
Bad enough: The reaction to this bug report:
  • "Priority 3-Medium" for an issue that changes the performance of almost every application!
Guess it's time to compile the JDK yourself.

2012-09-21 Glassfish and its Memory Leaks
Glassfish is an widely used application server with full Java EE 6 support. One of the website's statements is:
  • 'The best open source application server in the industry today.'
Well, decide for yourself, if that slogan is true.

The matter here is the memory leak in glassfish on ear undeployment.

If you are developing applications with glassfish you know what I'm talking about.
Have a look to the loaded classes after server start (having the ear deployed) and five successive deployments:
gf-memleak1.png
read more

2012-04-10 Improved VisualVM 1.3.4
VisualVM is a nice tool to help search performance issues or memory leaks. But the version has a graphic bug in the monitor view. Simply wait until the graphs start shifting and try to understand what "Actually the current code works as designed" means. Or watch this video: http://franke.ms/download/20120410_1505_48.avi

Feel free to use the fixed VisualVM 1.3.4b1 version.

2012-02-09 Creating Java Memory Leaks with WeakHashMap
For many people Java is not only a programming language, it's more: it's a religion: They have a strong and unbreakable belief into the optimization capabilities of Java and neglect to pick proper algorithms. And with similar strength they trust into garbage collection. So many developers detected the class WeakHashMap and are using in it in the belief it solves all memory issues, but is this correct?

read more

2011-12-13 Improved VisualVM 1.3.3
VisualVM is a nice tool to help search performance issues or memory leaks. But the version has a graphic bug in the monitor view. Simply wait until the graphs start shifting and try to understand what "Actually the current code works as designed" means.

Feel free to use the fixed VisualVM 1.3.3b2 version.

2011-09-17 Released bejy V1.5.1.66
The BEJY project moved from an ANT base build to BNM (which is similar to Maven). With version 1.5.x.y BEJY starts to use JSE5.0 features. I am not sure if that results in a faster or smaller server, but common IDEs (like Eclipse) are displaying less errors.
The BEJY sub projects (BEJY Tiger etc.) will take a while until I have defined the correct product pom.xml. Stay tuned.

Go to BEJY download

2011-08-31 Released bb_mug 1.7.1 (update to 1.7.0)
The new version adds support to rename packages. By using this feature you can move classes 'out of the way' to prevent problems caused by different versions of the same libraries. read more or download it de.bb.product.bb_mug-1.7.1.jar

2011-08-14 Web Site Update with de.bb.web.wiki-0.2.0-SNAPSHOT.jar
Recently I rewrote the wiki servlet. The most important changes are
  • a new simple wiki to html convert, which is no longer based on a grammer. The wiki will always produce html and never complains about syntax errors.
  • support for svn. The scm is now configurable, svn and csv is supported.
  • added an upload page to easily upload (plus delete) files.
As soon it's stable (need to test it a bit more) you can download the wiki example webapp.

For now this page is using the new wiki servlet. Everything should look as unusal as usal.

2011-03-10 BNM 0.1.0 (BNM is Not Maven)
it took some time - since it worked for me already good enough - but now there is e new enhanced release. The version change indicates the end of the alpha state.

Even if there is Maven 3, BNM still build way faster. Another plus is the seamless integration into the Eclipse build process:
All opened Eclipse projects are build by Eclipse. All closed and referenced projects are build by BNM as needed. So a full build will switch between BNM and Eclipse until everything is built.

The BNM approach of managing pom project trees allows quick opening of projects in Eclipse and discarding Eclipse projects as needed. This helps to focus on your active projects.

If you have the time, give it a try. It may not fit all your needs, but new ideas sometimes improve existing processes.

Enjoy

rev: 1.2