Page 1 of 1

Full 3-tiered implementation

PostPosted:Wed May 05, 2010 1:01 am
by si_sol
I know that some part of OpenKM already in 3-tier architecture. I think it's a good idea to implement it in full 3-tiered architecture (probably in future release). What I mean is like this :

End Users <-----> Servlet <-----> EJB <------> Data Store

With this architecture, there are several advantage :
- Server can be fully separated into several layer (say servlet is deployed in tomcat or jboss, EJB deployed in other Jboss server). Zero day bug in web server (servlet) is not end of day for the whole system (bussiness logic is in other server).
- More scalable : every layer can be deployed in cluster, so more scalable, suitable for big OpenKM deployment
- Bussiness logic is not directly attackable by end user, it burried deep in the other server (technically shouldn't have network connection with end user, just with servlet application)

Re: Full 3-tiered implementation

PostPosted:Wed May 05, 2010 8:38 pm
by jllort
Really OpenKM is prepared to deploy in EJB ( really since version 2.0 was fully supported, now we could supporting with minor effors, but nobody has wanted for it), but major installations don't need it. We've got bad experiences with EJB consumes so high memory.

Really distributing DMS charge is thinked in other way - repository ( what you've writen as data store ) - repository cluster configuration is the key, jackrabbit cluster configuration in several hardware machines. In this scenario is not needed to distributing EJB, really you install several jboss and distribute the repository.

Soap webservices are used for connecting to thirdparty software.

Are you worried about security ?

Re: Full 3-tiered implementation

PostPosted:Thu May 06, 2010 1:26 am
by si_sol
Yes, security is my concern. 3-tier is more suitable for lazy admin :mrgreen: