Are portlets dead? JSR168 and JSR286 versus reality.
Eric Spiegelberg, an experienced JEE and portlet developer, evaluates in his article JSR-286: The Edge of Irrelevance the changes brought to the portlet community by the "new" JSR 286 and comes to the sad conclusion that the portlet technology has missed its chance and is declining in interest and momentum and JSR 286 won't change that. Only rarely do the benefits of this technology outweigh the additional complexity, restricted programming model, and other drawbacks. He explains his opinions and gives reasons for them pretty well and I can only agree.
Some of the points we can make here are:
Continue reading →
Eclipse 3.4: New Update Manager and broken Extension Locations
In Eclipse prior to 3.4 you could have a number of external "Extension Locations" for plugins/features you didn't want in the Eclipse installation directory or that you wanted to share among multiple Eclipse installations. In the Update Manager wizard you could have even selected that you want a plugin installed into a particular extension location. Since Eclipse 3.4 (Ganymede) this isn't possible anymore.
Problem 1: Links to the external Extension Locations are ignored
Continue reading →
Webapp performance monitoring with Glassbox 2.0: How does it work?
A word of warning: Information on this page originates from my exploration of Glassbox performed in Oct 2008 and may be inaccurate. Ron Bodkin, the mastermind behind Glassbox, was so kind as to review this but still there may be some mistakes or inexact informatiom left. In any case blame me :-)
Introduction
Continue reading →
Injecting better logging into a binary .class using Javassist
Continue reading →
Add method tracing (params, result) to existing application w/o modifying it
Have you ever needed to learn what's going on in a 3rd-party java application and yet didn't want to debug it and step through it? Were you wishing to be able to see what methods get called in what order together with their actual parameters and return values? There is a "simple" solution: AspectWerkz.
Quick start:
Continue reading →
The Ultimate Web UI Framework
Continue reading →
Introducing Facelets
You might have already heard about Facelets (docs), a library for Java Server Faces (JSF), and wondered why it is popular and what it is good for. I've wondered too and now I want to share the answers with you.
Warning: I'm a novice to Facelets and some things may be not completely exact.
Continue reading →
Truncating UTF String to the given number of bytes while preserving its validity [for DB insert]
string.substring(0, DB_FIELD_LENGTH);
Continue reading →
VMWare: Shrink image even though it’s a snapshot
Continue reading →
Dependency Finder 1.2.0 for Java
Dependency Finder for java can help you to find your way in unknown class files/library.
Usage:
Continue reading →
Troubleshooting Class/Resource Loading on an Application Server
If you need to find out where is a certain class loaded from or where a class has loaded a resource (typically a configuration file) from, you can use the JSP below - just put it to your web app and point a browser to it.
Continue reading →
WAS 6.0 ant tasks: Install an app with an external Ant
There are special ant taks to install/start/.. an application to a WebSphere App Server 6.0. It's easy to run them with WAS's ant script (<was>/bin/was_ant.bat) but not so trivial to get them working with an external ant, which may be necessary because WAS has an old version of ant. So lets see how to do it.
Continue reading →
RAD, WAS 6 Test Env and J2EE security: getting rid of “No received or invocation credential exist on the thread”
Continue reading →
RAD: Profiling a portlet
Continue reading →
Kill a zombie database (not in the directory but can’t create it)
Continue reading →