Login  Register

Framework Independence

Posted by David E Jones-2 on Aug 13, 2006; 8:23am
URL: http://ofbiz.116.s1.nabble.com/Framework-Independence-tp170631.html


Hello all,

In preparation for doing a release candidate, and later a real  
release (soon after incubator graduation), I did a bit of work to  
make it possible to run the framework without the applications  
directory.

This included a new little feature in the entity engine to be able to  
extend entities defined elsewhere using the "extend-entity" tag.  
There were also a few things moved from applications to framework,  
and from framework to applications. This included some important  
things to note that have changed:

- control servlet request events (mainly checkLogin, login, logout,  
checkExternalLoginKey, etc) are now in:  
org.ofbiz.webapp.control.LoginWorker

- the LoginEventListener (referred to in web.xml files) is now here:  
org.ofbiz.webapp.control.LoginEventListener

These have been updated in all of the files in OFBiz so everything  
should be working fine... If you run into anything please let me know  
and I'll look into it right away!

For convenience (and since doing search and replace it's not really  
any extra work... ;) ) attached are some patches for the financials  
and crmsfa modules.

This gets us pretty close to ready to do a complete release and a  
separate framework-only release. For those who want to just drop  
their app into the framework, you can now run just about everything  
even if the applications directory is not there, with exception of a  
few pages like the entity performance tests in WebTools that refer to  
the Party and Product entities and need to be changed, probably to  
point to the Example and such entities.

-David