Hi all,
I am designing an ERP-Like system based on SpringFramework 2.0, and I have not seen equivalent spring architecture samples out there...
Here is the server components Design/requirements :
1. main server application which use spring IOC framework to load all the shared components : Hibernate, tomcat embedded, jotm...
1.1. Using a spring GlobalAppContext (Enterprise Level)
1.2. loading startup/config data from files (classpath or Ext. filesystem )
1.3. using an embedded central Database (HSQL, Derby, ... )
2. Define many Web applications controled by the embedded tomcat
2.1. webapp have its root directory and initialise from files as in 1.2.
2.2. webapp use/access complementary/extension database (hibernate)
2.2. webapp use the shared hibernate, spring, jotm components
2.3. webapp use a spring WebAppContext connected to GlobalAppContext
3. Define many Business applications (non-Web applications)
3.1. BA use RMI (command object) or SOAP (XML) as interface
3.2. others BA, webapps, GUI clients, are the main usual clients of BA
3.3. BA use a spring BusinessAppContext related to a parent AppContext
3.4. the root AppContext here is the GlobalAppContext
3.4. BA also need Hibernate and JOTM to acces the databases
Do this make sense with springFramework 2.0 and Hibernate 3.1 ?
If yes how do you :
1. configure spring in the main application to inject embedded tomcat
1.1. Howto define the GlobalAppContext ?
1.2. Howto WebAppContext and relate it to parent GloabalAppContext
1.3. Howto BusinessAppContext and relate it to a parent AppContext
2. Define and use Hibernate sessions at each level (optimal/workable)
3. Define transactions accross the levels or at a specific level
I suppose this can be explained by integrating the hibernate expert viewpoints with the spring architech viewpoints.
Please... The solution must take Hibernate constrains in consideration as it is a required component. But JOTM can be replaced by any other transaction management solution.
Thanks for any help as this is very urgent and I don't really know how to begin. Can the actual spring Framework 1.2.x version do the same job ?
Regards![]()


Reply With Quote
I will be interested on how this continues....
