Days of …

Just another rants and opinions weblog

Category Archives: filenet

Filenet does XSLT

When some developer sees the XSLT first time she tries to use it the “normal” way – she builds procedural code. Resulting XSLT template will have horrendous memory footprint and will performs really slow. This is exactly what happens with Filenet Workplace. If you have been on Filenet Fundamentals or Filenet Web Framework course, you [...]

This is how exceptions are handled

This is how WcmController.java, the “Controller” part of FileNet Workplace’s implementation of MVC pattern, handles exceptions: First, declare this: [java] private Exception configureWindowIdException = null; [/java] Then, in ConfigurePage function, do this: [java] public void configurePage(ServletContext applicationValue, HttpServletRequest request, long windowIdMode) throws Exception { … skipped … configureWindowId(request); // If configureWindowId constructed an exception, throw [...]

Filenet Workplace inheritance

While discovering internals of Filenet Workplace I decided to create a class diagram. Here is the starting diagram: Apparently there is something wrong with the inheritance and everything use everything else and share the data. This is not OOP, it’s good old VB style of programming done by somebody, who was converted to a java [...]

Filenet Workplace oddities

Now starting to investigate how Filenet Workplace works and how to integrate and extend it with Java Server Faces (JSF). Created a new web project project in Rational Software Architect and imported Workplace into it. Right after the start discovered that it fails to run on localhost. “Huh? This is strange”. Looked up the source [...]