tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Colantoni <alessandro.colant...@gmail.com>
Subject Mandragora framework, take it easy to design your model
Date Mon, 02 Mar 2009 16:37:52 GMT
Mandragora (http://mandragora.sourceforge.net/) is an opensource framework
that provides a pre-built infrastructure for every kind of java application.
If you use a MVC pattern in the application you have to design and
implement,  Mandragora provides you the infrastructure for the Model.
Typically, with MVC, the controller has to update or query the model, and
the view can query teh model as well. The model should be decoupled from
controller or view by a business delegate layer. So all access to the model
should pass trough the BD.
Mandragora provides more than one hundred of business methods, that your
controller for example, has just to call, without worrying about their
implementation. So How such methods call service facade,  application
services ,and DAO methods, is not about your care. Just do
bd.findByPrimarykey(....) or bd. storePathsCascade(...) and much more, to
execute very complex operations and queries such storing or modifying very
complex objects in the DB. Then you can extend the service facade,
application services and Dao implementation very easily, to better fit your
requirements, as Mandragora porvides a very easy to use IoC mechanism, to
allow you to choose which implementation of BD, ApplicationService, Service
FAcade or DAO interface to use, even at runtime.
All Tomcat user should spend some minutes downloading and trying it, to see,
how much time you can save, having yet ready to use the most common
operations (many crud methods and much more complex business methods), so in
your work you have just to focus on the particular Business Intelligence of
your concrete project, as all such bothering operations that you have to
repeat project after project, are already done, once for ever, and if you
improve them, such work is done for all your projects. Moreover all of that
is implemented using a well done infrastructure using the J2ee patterns, so
extending Mandragora  (http://mandragora.sourceforge.net/) for the busisness
method that you have to implement because you don't find in the  provided
ones, you are garanteed to implement a well done architecture.
If you wish to write new BD methods, you can do in terms of the already
existing Servcice Facade methods, or mixing with new SF methods written by
your own, that in turn ca be implemented in terms of existing Application
Service or DAO methods, or in terms of new ones that you write. All this is
very easy to use.  Download and spend 30 minutes. You will save week of
work.

Sorry for the annoyance, and to every one that is not interested, but it is
a serious project, with nearly 4 years of work, and my best wish is to share
t with the community, hoping to find people that could improve and add
always more methods.

Best regards

Alessandro Colantoni

http://mandragora.sourceforge.net/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message