rife 1.6.1

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » rife 1.6.1 
RIFE
License:
URL:http://rifers.org/
Description:RIFE is a full-stack web application framework with tools and APIs to implement most common web features.
Package NameComment
bsh.util
com.tc.object.loaders
com.uwyn.rife Provides global information classes for the RIFE framework.
com.uwyn.rife.asm Provides a small and fast bytecode manipulation framework.

The ASM framework is organized around the {@link com.uwyn.rife.asm.ClassVisitor ClassVisitor}, {@link com.uwyn.rife.asm.FieldVisitor FieldVisitor} and {@link com.uwyn.rife.asm.MethodVisitor MethodVisitor} interfaces, which allow one to visit the fields and methods of a class, including the bytecode instructions of each method.

In addition to these main interfaces, ASM provides a {@link com.uwyn.rife.asm.ClassReader ClassReader} class, that can parse an existing class and make a given visitor visit it. ASM also provides a {@link com.uwyn.rife.asm.ClassWriter ClassWriter} class, which is a visitor that generates Java class files.

In order to generate a class from scratch, only the {@link com.uwyn.rife.asm.ClassWriter ClassWriter} class is necessary. Indeed, in order to generate a class, one must just call its visitXXX methods with the appropriate arguments to generate the desired fields and methods. See the "helloworld" example in the ASM distribution for more details about class generation.

In order to modify existing classes, one must use a {@link com.uwyn.rife.asm.ClassReader ClassReader} class to analyze the original class, a class modifier, and a {@link com.uwyn.rife.asm.ClassWriter ClassWriter} to construct the modified class. The class modifier is just a {@link com.uwyn.rife.asm.ClassVisitor ClassVisitor} that delegates most of the work to another {@link com.uwyn.rife.asm.ClassVisitor ClassVisitor}, but that sometimes changes some parameter values, or call additional methods, in order to implement the desired modification process. In order to make it easier to implement such class modifiers, ASM provides the {@link com.uwyn.rife.asm.ClassAdapter ClassAdapter} and {@link com.uwyn.rife.asm.MethodAdapter MethodAdapter} classes, which implement the {@link com.uwyn.rife.asm.ClassVisitor ClassVisitor} and {@link com.uwyn.rife.asm.MethodVisitor MethodVisitor} interfaces by delegating all work to other visitors. See the "adapt" example in the ASM distribution for more details about class modification.

The size of the core ASM library, asm.jar, is only 31KB, which is much more smaller than the size of the BCEL library (350KB without the class verifier), and than the size of the SERP library (150KB). ASM is also much more faster than these tools. Indeed the overhead of a load time class transformation process is of the order of 60% with ASM, 700% or more with BCEL, and 1100% or more with SERP (see the test/perf directory in the ASM distribution)! @since ASM 1.3

com.uwyn.rife.asm.attrs Provides an implementation for optional class, field and method attributes.

By default ASM strips optional attributes, in order to keep them in the bytecode that is being readed you should pass an array of required attribute instances to {@link com.uwyn.rife.asm.ClassReader#accept(com.uwyn.rife.asm.ClassVisitor, com.uwyn.rife.asm.Attribute[], boolean) ClassReader.accept()} method. In order to add custom attributes to the manually constructed bytecode concrete subclasses of the {@link com.uwyn.rife.asm.Attribute Attribute} can be passed to the visitAttribute methods of the {@link com.uwyn.rife.asm.ClassVisitor ClassVisitor}, {@link com.uwyn.rife.asm.FieldVisitor FieldVisitor} and {@link com.uwyn.rife.asm.MethodVisitor MethodVisitor} interfaces. @since ASM 1.4.1

com.uwyn.rife.asm.util Provides ASM visitors that can be useful for programming and debugging purposes. These class visitors are normally not used by applications at runtime. This is why they are bundled in an optional asm-util.jar library that is separated from (but requires) the asm.jar library, which contains the core ASM framework. @since ASM 1.3.2
com.uwyn.rife.asm.util.attrs Provides attributes sub classes that can work with the ASMifier utility. @since ASM 1.4.3
com.uwyn.rife.authentication Provides classes, interfaces and elements for credentials, authentication sessions and "remember me" management.

Each feature is accessed through dedicated managers. These have several implementations according to the back-end store (for instance, memory or database).

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.authentication.credentials Provides classes and interfaces for credentials and "remember me" data structures.
com.uwyn.rife.authentication.credentialsmanagers Provides classes and interfaces for managing RoleUser credentials.
com.uwyn.rife.authentication.credentialsmanagers.databasedrivers
com.uwyn.rife.authentication.credentialsmanagers.exceptions Provides classes for the exceptions that can occur during the management of RoleUser credentials.
com.uwyn.rife.authentication.elements Provides elements for authentication and logout, using the variety of backend stores available.
com.uwyn.rife.authentication.elements.exceptions Provides exception classes for the authentication elements.
com.uwyn.rife.authentication.elements.testelements
com.uwyn.rife.authentication.elements.testelements.authenticationutils
com.uwyn.rife.authentication.elements.testelements.roleusersmanagerretriever
com.uwyn.rife.authentication.elements.testelements.sessionvalidatorretriever
com.uwyn.rife.authentication.exceptions Provides exception classes for the authentication framework.
com.uwyn.rife.authentication.remembermanagers Provides managers classes for "remember me" support.
com.uwyn.rife.authentication.remembermanagers.databasedrivers
com.uwyn.rife.authentication.remembermanagers.exceptions Provides exception classes for the "remember me" managers.
com.uwyn.rife.authentication.sessionmanagers Provides managers classes for authentication sessions support.
com.uwyn.rife.authentication.sessionmanagers.databasedrivers
com.uwyn.rife.authentication.sessionmanagers.exceptions Provides exception classes for the authentication session managers.
com.uwyn.rife.authentication.sessionvalidators Provides implementation classes for the session validators.
com.uwyn.rife.authentication.sessionvalidators.databasedrivers
com.uwyn.rife.authentication.sessionvalidators.exceptions Provides exception classes for the session validators.
com.uwyn.rife.cmf Provides classes, interfaces and elements for the content management framework.

It is geared towards the process of storing, loading, validating, formatting, transforming, versioning, retrieving and streaming of various content types.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.cmf.dam Provides classes and interfaces for the database access management of the content management framework.
com.uwyn.rife.cmf.dam.contentmanagers Provides managers classes for content information support.
com.uwyn.rife.cmf.dam.contentmanagers.databasedrivers
com.uwyn.rife.cmf.dam.contentmanagers.exceptions Provides exception classes for the content information managers.
com.uwyn.rife.cmf.dam.contentstores Provides managers classes for content data support.
com.uwyn.rife.cmf.dam.contentstores.exceptions Provides exception classes for the content data managers.
com.uwyn.rife.cmf.dam.contentstores.imagestoredrivers
com.uwyn.rife.cmf.dam.contentstores.rawstoredrivers
com.uwyn.rife.cmf.dam.contentstores.textstoredrivers
com.uwyn.rife.cmf.dam.exceptions Provides exception classes for the database access management of the content management framework.
com.uwyn.rife.cmf.elements Provides an element that serves streaming content data straight from the content management framework.
com.uwyn.rife.cmf.format Provides classes and interfaces that are able to format raw content data into typed data.
com.uwyn.rife.cmf.format.exceptions Provides exception classes for the formatting of the raw content data.
com.uwyn.rife.cmf.loader Provides classes and interfaces that delegate the loading of raw content data to back-end libraries.
com.uwyn.rife.cmf.loader.image Provides classes that delegate the loading of raw content data to image back-end libraries.
com.uwyn.rife.cmf.loader.xhtml Provides classes that delegate the loading of raw content data to xhtml back-end libraries.
com.uwyn.rife.cmf.transform Provides classes and interfaces that are able to transform typed content data.
com.uwyn.rife.cmf.validation Provides classes for the validation of content management framework bean properties.
com.uwyn.rife.config Provides classes for the configuration framework and for setting up RIFE itself even if no default configuration is available.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.config.exceptions Provides exception classes for the configuration framework.
com.uwyn.rife.continuations Provides continuations functionalities natively in Java.
com.uwyn.rife.continuations.basic Basic implementation of a continuation runner with associated classes.
com.uwyn.rife.continuations.exceptions Provides exception classes for the continuation functionalities.
com.uwyn.rife.continuations.instrument Performs the actual bytecode analysis and instrumentation to provide continuations.
com.uwyn.rife.database Provides classes and interfaces for the object-oriented query builders, database abstraction layer, persistance manager, query handling templates, fault-tolerant JDBC wrappers and connection pooling.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.database.capabilities
com.uwyn.rife.database.exceptions Provides exception classes for the database framework.
com.uwyn.rife.database.queries Provides classes and interfaces for the object-oriented query builders.
com.uwyn.rife.database.querymanagers.generic Provides classes and interfaces for the persistance framework.
com.uwyn.rife.database.querymanagers.generic.beans
com.uwyn.rife.database.querymanagers.generic.databasedrivers
com.uwyn.rife.database.querymanagers.generic.exceptions Provides exception classes for the generic query manager.
com.uwyn.rife.database.querymanagers.generic.instrument Performs the bytecode analysis and instrumentation for generic query manager functionalities, such as lazy-loading.
com.uwyn.rife.database.testdatabasedrivers
com.uwyn.rife.database.types Provides classes for the conversion from Java to SQL values and vice-versa.
com.uwyn.rife.database.types.databasedrivers
com.uwyn.rife.datastructures Provides classes with general purpose data structures.
com.uwyn.rife.engine Provides classes, interfaces and elements for the web application engine.

The web engine gives the best of request-based and component-based approaches in a consistent component object model.

It offers the following advanced features:

  • automatic propagation of modifications without having to restart
  • integrated web continuations in pure Java
  • behavioral inheritance
  • logic precedence
  • implicit reusable binary and source modules
  • enforced non-intrusive methodology for the declaration of the logic flow and the data flow
  • embedding fully functional components in views
  • configurable state storage
  • automated handling of file uploads with an integration of the content management framework for handling and storage of different media types
  • support for many Java scripting languages such as Groovy, Jython, Beanshell, Pnuts, Janino, ...
  • plain Java builders for all declarations with several alternative frontends in XML, Groovy, Janino, ...
  • centralized URL handling with support for localization and internationalization
  • IoC support
  • Ajax
  • Out of container testing
  • and much more...

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.engine.annotations Provides annotations to declare elements and site-structures for RIFE's web engine.
com.uwyn.rife.engine.elements Provides elements wigh common features that are useful in many web applications.
com.uwyn.rife.engine.exceptions Provides exception classes for the web engine.
com.uwyn.rife.engine.instrument Performs the bytecode analysis and instrumentation that is needed for the web engine features.
com.uwyn.rife.engine.testelements.annotations
com.uwyn.rife.engine.testelements.casefigures
com.uwyn.rife.engine.testelements.continuations
com.uwyn.rife.engine.testelements.cookies
com.uwyn.rife.engine.testelements.embedding
com.uwyn.rife.engine.testelements.embedding.embedded
com.uwyn.rife.engine.testelements.engine
com.uwyn.rife.engine.testelements.exits
com.uwyn.rife.engine.testelements.extending
com.uwyn.rife.engine.testelements.filter
com.uwyn.rife.engine.testelements.globals
com.uwyn.rife.engine.testelements.globals.group
com.uwyn.rife.engine.testelements.inheritance
com.uwyn.rife.engine.testelements.inputs
com.uwyn.rife.engine.testelements.outputs
com.uwyn.rife.engine.testelements.pagednavigation
com.uwyn.rife.engine.testelements.precedence
com.uwyn.rife.engine.testelements.roleuser
com.uwyn.rife.engine.testelements.submission
com.uwyn.rife.engine.testelements.subsites
com.uwyn.rife.engine.testelements.subsites.arrival
com.uwyn.rife.engine.testelements.subsites.departure
com.uwyn.rife.engine.testelements.subsites.globalexit
com.uwyn.rife.engine.testelements.subsites.globalexit.isolation
com.uwyn.rife.engine.testelements.subsites.globalexit.overloading
com.uwyn.rife.engine.testelements.subsites.globalexit.straight
com.uwyn.rife.engine.testelements.subsites.globalvar.defaulttriggeredchild
com.uwyn.rife.engine.testelements.subsites.globalvar.overridden
com.uwyn.rife.engine.testelements.subsites.globalvar.straight
com.uwyn.rife.engine.testelements.subsites.inheritance
com.uwyn.rife.engine.testelements.subsites.inheritance.parent
com.uwyn.rife.engine.testelements.subsites.inheritance.single
com.uwyn.rife.engine.testelements.subsites.inheritance.stack
com.uwyn.rife.engine.testwebservices.dwr
com.uwyn.rife.engine.testwebservices.soap.xfire
com.uwyn.rife.engine.testwebservices.webservices.hessian
com.uwyn.rife.feed Provides classes and interfaces for the content syndication framework.
com.uwyn.rife.feed.elements Provides elements for the integration of content syndication into a site.
com.uwyn.rife.gui
com.uwyn.rife.gui.model
com.uwyn.rife.gui.model.exceptions
com.uwyn.rife.gui.old
com.uwyn.rife.gui.ui
com.uwyn.rife.gui.ui.actions
com.uwyn.rife.gui.ui.commands
com.uwyn.rife.instrument

The classes that are responsible for performing byte-code instrumentation through agents and transformers.

com.uwyn.rife.instrument.exceptions

Common exceptions that are being used during the transformation of byte-code.

com.uwyn.rife.ioc Provides interfaces and classes for IoC capable properties that resolve and obtain their values at run-time.
com.uwyn.rife.ioc.exceptions Provides exception classes for the inversion of control support.
com.uwyn.rife.mail Provides classes and interfaces for the mail queue.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.mail.dam Provides classes for the database access management of the mail queue.
com.uwyn.rife.mail.dam.databasedrivers
com.uwyn.rife.mail.exceptions Provides exception classes for the mail queue.
com.uwyn.rife.mail.executors Provides executor classes for the processing of the mail queue with a scheduler.
com.uwyn.rife.pcj
com.uwyn.rife.pcj.hash
com.uwyn.rife.pcj.list
com.uwyn.rife.pcj.map
com.uwyn.rife.pcj.set
com.uwyn.rife.pcj.util
com.uwyn.rife.rep Provides classes and interfaces for the application repository.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.rep.exceptions Provides exception classes for the application repository.
com.uwyn.rife.rep.participants Provides classes for the standard repository participants.
com.uwyn.rife.resources Provides classes and interfaces for the resource abstraction framework.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.resources.databasedrivers
com.uwyn.rife.resources.exceptions Provides exception classes for the resource abstraction framework.
com.uwyn.rife.scheduler Provides classes and interfaces for the scheduler.

Each feature is accessed through dedicated managers. These have several implementations according to the back-end store (for instance, memory or database).

com.uwyn.rife.scheduler.exceptions Provides exception classes for the scheduler.
com.uwyn.rife.scheduler.schedulermanagers Provides classes and interfaces for managing schedulers.
com.uwyn.rife.scheduler.schedulermanagers.databasedrivers
com.uwyn.rife.scheduler.schedulermanagers.exceptions Provides classes for the exceptions that can occur during the management of schedulers.
com.uwyn.rife.scheduler.taskmanagers Provides classes and interfaces for managing tasks.
com.uwyn.rife.scheduler.taskmanagers.databasedrivers
com.uwyn.rife.scheduler.taskmanagers.exceptions Provides classes for the exceptions that can occur during the management of tasks.
com.uwyn.rife.scheduler.taskoptionmanagers Provides classes and interfaces for managing task options.
com.uwyn.rife.scheduler.taskoptionmanagers.databasedrivers
com.uwyn.rife.scheduler.taskoptionmanagers.exceptions Provides classes for the exceptions that can occur during the management of task options.
com.uwyn.rife.selector Provides classes and interfaces for dynamic context-sensitive XML file selection.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.servlet Provides classes to start and stop a RIFE application from a servlet container, both as filters and servlets.
com.uwyn.rife.site Provides classes and interfaces that provide useful features during the creation of a website. These include: automated form builders, constraints, validation, paged navigation.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.site.exceptions Provides exception classes for the validation framework.
com.uwyn.rife.site.instrument

Contains all the classes that perform byte-code analysis and transformations related to meta-data merging and constraints.

com.uwyn.rife.swing Provides convenience classes and interfaces for writing Swing interfaces.
com.uwyn.rife.swing.actions Provides convenience Swing action classes.
com.uwyn.rife.swing.documents Provides convenience Swing text documents.
com.uwyn.rife.template Provides classes and interfaces for the template engine.

Almost all template engines start out with a desire to seperate design from logic, they allow users to push or pull values into the template and then they get stuck. Design is far more complex than setting a couple of values, so they start providing simple logical constructs and loops, maybe even variables, blocks and scopes, functions to reuse code, etc etc ... and in the end run incorporate an entire language (JSP) or create a new one (PHP). All this is based on the assumption that the logic provides data to the design which is then decorated and rendered from within the template. Imho, a fundamental last step is missing which creates an overly complex model to try to simulate it.

When data has been integrated into a design, a template engine should allow the logic to retrieve the result and use the concrete version of the templated layout for real output and manipulation. This means that together with incorporating data, a template engine should also provide results and thus be able to work in a bidirectional fashion instead of the limited common unidirectional approach.

All of a sudden the template engine then becomes extremely simple, no need to integrate any kind of logical constructs or loops, the same logic that provided the data is able to select or repeat results easily. It can extract and combine them and if the template engine is powerful enough, use it as a scratchpad to assemble all the pieces of the layout in an efficient manner. All the required information is already available in the logic. You also don't have to worry anymore about just how much logic bleeds into a template. The entire template becomes totally language independent and designer-friendly.

Related Documentation

For overviews, tutorials, examples, guides, and documentation, please see:
com.uwyn.rife.template.exceptions Provides exception classes for the template engine.
com.uwyn.rife.test Provides classes and interfaces for the out-of-container testing framework.
com.uwyn.rife.test.exceptions Provides exception classes for the out-of-container testing.
com.uwyn.rife.tools Provides general purpose utility classes.
com.uwyn.rife.tools.exceptions Provides exception classes for the general purpose utilities.
com.uwyn.rife.xml Provides classes for facilitating the SAX parsing of XML.
com.uwyn.rife.xml.exceptions Provides exception classes for the XML parsing tools.
com.uwyn.rifetestmodels
database
elementjava
elementjava.pakkage.test
model
org.apache.bsf.engines.jacl
org.apache.bsf.engines.jython
pnuts.ext
tcl.lang
tutorial.authentication
tutorial.friends
tutorial.friends.backend
tutorial.inheritance
tutorial.numberguess
tutorial.numberguess.backend
tutorial.recursion
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.