|PREV NEXT||FRAMES NO FRAMES|
Strutshas a monster of a learning curve and adds its own complexity with beginners making all manner of 'level error' mistakes such as mixing persistent level code with form beans and putting business logic directly into Actions.
|org.davesag.generica.servlet.plugin||Your application may extend the
|org.davesag.generica.util.harvester||A harvester is anything that grabs it's content on command from somewhere else.|
Web Applications are complicated beasts and while there are various frameworks, such as
Struts by the
Apache Foundation, that seek to standardise various patterns and minimise the complexity,
many users have found that
Struts has a monster of a learning curve and adds its own
complexity with beginners making all manner of 'level error' mistakes such as mixing persistent
level code with form beans and putting business logic directly into Actions. The Generica library adds several conceptual layers to Apache
Struts and implements
many of the core tasks that all
Struts programmers have to think about over and over again.
Generica builds on
Struts by providing a core set of handy business objects and
utilities that are useful for most web applications. It extends the many contructs
in Struts1.1 with the aim of eliminating much of the complexity of
shifting your work away from writing
Actions and form beans, into writing controller
classes that implement only the very specific business logic your web application requires, in
the form of
Generica was originally built with Hibernate in mind as a
persistance machanism, but the persistance logic is completely decoupled from the rest of the code so you can
Hibernate or with onl a small anmount of effort, implement your own persistence plugins.
Generica treats your web application as a plugin to
Struts and allows almost endless
customisation. If you wish to provide shopping and credit card authorisation features to your web app
you can use Generica's
AbstractCreditCardAuthoriser to provide the basics.
Userwith encrypted password,
Moneyobject and simple
CreditCardAuthorisationto your app.
MediaHarvestersand so forth.
Pipesfor simplifying multi-page
Formsthat feed back upon themselves
Formsthat mean you don't have to write any of your own
Forms. Nope, none.
Controllerinterfaces that you can implement and then define in
struts-config.xmlthat add your custom business logic to the generic actions. This is very powerful.
Log4Jsupport at all levels.
Right now this code is in development and being used to power the development of five commercial web applications and a couple of non-commercial web apps. It is in fact this process of developing multiple projects simultaniously that has inspired the development of this suite.
More docs are on their way, as well as a bunch of examples including some sort of pet-store.
Licence questions should be directed to me right now.
Contact Dave Sag for more info.
|PREV NEXT||FRAMES NO FRAMES|