Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update the Workflow Engine section

...

Workflow Engines

XSL:FO (FOP)

...

The ETag header is causing an issue with browser cache not being updated when the server has been updated. Actually a weak ETag, see http://en.wikipedia.org/wiki/HTTP_ETag

Seems like tomcat’s DefaultServlet will only serve weak ETag’s even though tomcat7+ does have code for strong ETag but is never used and there is no documentation on how to set it

A possible solution is to remove If-None-Match request header and ETag response header in apache http server

RequestHeader unset If-None-Match

Header unset ETag

 

Anchor
SQLQueriesDurations
SQLQueriesDurations

How to measure SQL queries durations

If a query takes more than 150 ms its duration is shown in log. To change that look for:

Debug.logTiming("Ran query in "

in GenericDAO.java

 

Anchor
DifferenceListInScreen
DifferenceListInScreen

What is the difference between [+0] and [] in a widget screen file?

[] If the list does not exist, create a new list and append item to it. If the list exist, append item to the end of the list

[+0] If list does not exist, create a new list and append item to it. If the list exist, insert item at the beginning of the list

 

Anchor
WorkflowEngine
WorkflowEngine

What's the recommended workflow engine in OFBiz? Is it Shark?

OFBiz gave up on Workflow Engines. Shark was implemented last but never really used in OFBiz. Instead of using a Workflow Engine, OFBiz uses an Event Driven Architecture (EDA), so ECAs (SECA, EECA, MECA) are used in OFBiz to drive the Workflow. ECA is the acronym of Event Condition Action. SECAs are for Services (triggered on services conditions), EECAs are for Entity (triggered on entities conditions), MECAs are for Mail.