MMBase

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 » Database ORM » MMBase 
MMBase
License:Mozilla Public License
URL:http://www.mmbase.org/
Description:MMBase is an object relational mapping tool to build advanced web-applications.
Package NameComment
org.mmbase org.mmbase

The implementation of MMBase, an open source content management system.

@since MMBase-1.0
org.mmbase.bridge org.mmbase.bridge

The main interface to MMBase, also known as `MMCI' (MMBase Cloud Interface). One of the core interfaces of this package is indeed `Cloud', which gives direct access to MMBase data.

Script languages can access MMBase in this way. JSP can e.g. do this rather directly, or a little less directly by use of the MMBase Taglib.

@since MMBase-1.4 @see org.mmbase.storage.search.SearchQuery
org.mmbase.bridge.implementation
org.mmbase.bridge.util org.mmbase.bridge.util

This package contains several bridge related classes which can be used independently of the rest of MMBase.

This package contains also some implementation of bridge interfaces. In contradiction to implemenations in org.mmbase.bridge.implementation, these classes do not depend on MMBase core classes, and have public constructors.

@since MMBase-1.7
org.mmbase.bridge.util.xml org.mmbase.bridge.util.xml

Contains utility functions that perform XML functionaly on MMBase bridge objects. This normally means a connection between org.w3.dom.* and org.mmbase.bridge.*

@since MMBase-1.6 @see org.mmbase.bridge.Cloud
org.mmbase.bridge.util.xml.query
org.mmbase.cache org.mmbase.cache

The goal of this package is to centralize the MMBase caches. Every cache extends the abstract 'Cache' class, which also contains the static methods to obtain a list of al caches.

All caches which are based on the Cache class can also be configured (activity, size) by <config>/caches.xml.

@since MMBase-1.6
org.mmbase.cache.implementation
org.mmbase.cache.xslt org.mmbase.cache.xslt

Provides the caches which can be used when doing XSLT conversions. Like a cache for Templates and a cache for Factories.

There is also a cache for XSLT results.

@since MMBase-1.6
org.mmbase.clustering
org.mmbase.core
org.mmbase.core.event
org.mmbase.core.util
org.mmbase.datatypes
org.mmbase.datatypes.processors org.mmbase.datatypes.processors

Plugins into set- and getValue methods on Node (Setting and getting Fields).

In this directory the framework for putting functionality there is implemented. The basic agent is 'ValueIntercepter' which reads an XML and provides the set- and get-Value implemntation with the specified 'Processor'.

When functionality is added to a certain field type then a Processor must be implemented and turned on in datatypes.xml or the builder xml.

Processors can be parameterized in two ways. Using a {@link ParameterizedProcessorFactory} or {@link ParameterizedCommitProcessorFactory} or simply by using bean-like setting on the instance. Both ways are recognized in builder xml's.

@since MMBase-1.7 @see org.mmbase.bridge.Node
org.mmbase.datatypes.processors.xml
org.mmbase.datatypes.resources
org.mmbase.datatypes.util.xml
org.mmbase.framework org.mmbase.framework

The package contains the component framework of MMBase.

Key classes in this package are:

  • Framework
  • State. The render state. The framework is responsible for calling State.getState(request). See BasicFramework.
  • The ComponentRepository. There is one instance of this in every MMBase, and all Components, can be found in here.
  • UrlConverter. The framework is also responsible for producingURL's. This can be implemented seperately (BasicFramework maintains a list of external UrlConverters to implement it's own url-conversion functionalilty)
@since MMBase-1.9
org.mmbase.framework.basic
org.mmbase.model
org.mmbase.module org.mmbase.module

The modules used to load MMBase and optional MMBase functionality.

The classes in this package consist of a number of base classes that define the module structure. Module and ProcessorModule define basic module functionality, while ModuleProbe can be used to trigger periodic maintenance.

The remaining classes are specific implementations of the Module. These modules can be used to add fucntionality to MMBase. This includes support modules for the scripting language SCAN, and modules for caching, email, communication, statistics, polls, user and session maintenance and transactions ('TCP').

Note that a number of essential modules, in particular MMBase, MMAdmin and JDBC, are located in their own packages.

org.mmbase.module.builders org.mmbase.module.builders

The MMBase standard and optional builders.

The classes in this package are extensions of MMObjectBuilder, or support classes for these builders (such as probes and exceptions).

Each class implements some additonal Functionality. A number of these builders work together to form an application.

The default (featureless) builder used by MMBase is Dummy. Note that a number of essential buidlers (core buidlers) are located in a separate package.

@see org.mmbase.module.core.MMObjectBuilder
org.mmbase.module.core org.mmbase.module.core

The core classes for MMBase. These classes define core functionality and the building stones of the MMBase cloud.

The main classes defined here are MMBase, which is module that loads and initializes the MMBase cloud, MMObjectBuilder, which represents collections of objects of a specific type, and MMObjectNode, which represents individual objects in the cloud.

Other classes define code for handling inter-server-communication, virtual and temporary objects, transaction handling, and MMbaseObservers - classdes that 'observe' and react to events in MMBase.fc

org.mmbase.module.corebuilders org.mmbase.module.corebuilders

The MMBase core builders.

The classes in this package are extensions of MMObjectBuilder that implement essential functionality for MMBase. The builders are directly instantiated by MMBase and are (with the exception of OALias) mandatory.

@see org.mmbase.module.core.MMObjectBuilder
org.mmbase.module.database org.mmbase.module.database

The classes and interfaces that arrange the actual connection to JDBC database.

It contains the JDBC module, which implements the JDBCInterface and is the main entrypoint when retrieving a connnection to a selected database layer (defined in the support package).

It also contains code for the implementation of a connection pool, for use with JDBC2.

@see org.mmbase.storage.StorageManagerFactory
org.mmbase.module.tools
org.mmbase.security org.mmbase.security

The security infrastructure of MMBase. MMBase has a pluggable security system, which is currently called from within the bridge implementation. The core of this setup are the abstract classes `Authorization' and `Authentication', which are connected with 'UserContext' implementations.

There are several interesting security implementations available in a standard MMBase installation, but you can always implement your own. The implementations can be found in subpackages of org.mmbase.bridge.implementation.

  • The most powerful implementation is the 'context' implementation which supplies a a system of user, groups and 'contexts', which is configured by a sophisticated xml file.
  • Another implementation is the 'cloud' implementation which is a simpler system with only users (no groups) which are stored as MMBase objects, so you can administrate this with the normal MMBase edit tools.
  • There is also a 'context' implementation available which is completely in cloud. This one is shipped as an MMBase 'application'.
  • more..?
@since MMBase-1.4 @see org.mmbase.bridge.Cloud @see org.mmbase.security.implementation.context.ContextAuthentication @see org.mmbase.security.implementation.basic.AuthenticationHandler @see org.mmbase.security.implementation.cloud.Authenticate
org.mmbase.security.classsecurity
org.mmbase.security.implementation.basic
org.mmbase.security.implementation.context
org.mmbase.servlet org.mmbase.servlet

MMBase is based on servlets. To start MMBase you have to have at least one servlet which extends MMBaseServlet. It could be MMBaseServlet itself (which can't do much by itself - it will give back the version only - but MMBase then is availabe in your JSP-pages).

The abstract 'BridgeServlet' can be used to base new servlets upon in which the MMBase 'cloud' is to be used.

A very normal servlet to have it a an image servlet. There are two now: ImageServlet and 'servdb'. The latter used to be the 'all purpose' MMBase servlet, but as soon as all purposes are migrated to stand alone, more clean, servlets this class will be deprecated.

There are also a few servlet presents in the package which are mere `test' or `demo' servlets.

@since MMBase-1.0 @see org.mmbase.bridge.Cloud
org.mmbase.storage org.mmbase.storage

The interfaces that define the classes for persistent storage of objects.

This package contains classes that define the Transaction and Storage interfaces, and exceptions that may be thrown by the implementation of these classes.

org.mmbase.storage.implementation.database
org.mmbase.storage.search package description

Provides interfaces for retrieval of data from {@link org.mmbase.storage.search.SearchQuery SearchQuery} objects.

org.mmbase.storage.search.implementation
org.mmbase.storage.search.implementation.database
org.mmbase.storage.search.implementation.database.functions
org.mmbase.storage.search.implementation.database.informix.excalibur
org.mmbase.storage.search.legacy
org.mmbase.storage.util
org.mmbase.util
org.mmbase.util.externalprocess
org.mmbase.util.functions org.mmbase.util.functions - The MMBase 'function framework'.

The function framework is all about the creation of {@link org.mmbase.util.functions.Function} instances, from which then, subsequently, function values can be acquired. To do that you need to supply the {@link org.mmbase.util.functions.Parameters} to the function.

Functions come in several different variants. There are completely stand alone functions, e.g. {@link org.mmbase.util.functions.Functions} (of which a limited number of instances can exists), but they can also be associated with some object (in OO speak: they mimic instance member functions of that object then). {@link org.mmbase.util.functions.NodeFunction} Function objects can e.g. be associated with {@link org.mmbase.bridge.Node} objects. Such function objects can exists very many (for every possible node, for every function on it, there can be a Function object). Other object instance related functions may be associated with Modules and NodeManager.

How to use functions

Taglib users would use the function tags. Those are documented in the taglib reference documentation (and a bit of small example code can be found in javadoc of {@link org.mmbase.util.functions.ExampleBuilder}). More taglib examples for functions can be found in /mmexamples/taglib/functions.jsp of the distro.

A programmer needs to know several things.

  • Functions are basically bridge things. So nodes are bridge Nodes.
  • FunctionProviders have {@link org.mmbase.util.functions.FunctionProvider#addFunction(Function)}
  • {@link org.mmbase.util.functions.AbstractFunction} is available to quickly define a function.
  • {@link org.mmbase.util.functions.NodeFunction} is available to quickly define a function on a Node.
  • An example of a node and builder function implementation can be found in {@link org.mmbase.util.functions.ExampleBuilder}.
  • You can also add functions to a builder in the builder XML. E.g. based on a method in another class, or other FunctionProvider.

@since MMBase-1.7
org.mmbase.util.logging org.mmbase.util.logging

The MMBase logging infrastructure. The main classes of this package are `Logger', which provides the interface for logging implementations (because the precise implementation is pluggable), and 'Logging', which takes care of the configuration and setting up of the logging system.

Another import class is 'Level' which describes the possible logging levels currently known by MMBase.

SimpleImpl is the most basic implementation of `Logger' but a more sophisticated one, based on log4j, can be found in a subpackage.

@since MMBase-1.4
org.mmbase.util.logging.java org.mmbase.util.logging.java

Classes related to the java.util.logging package (new in java 1.4). There are two things which you may want:

  • Make MMBase log with java.util.logging.Logger's. This is possible with the 'Impl' class of this package, which can be configured in log.xml. So, this wraps java.util.logging.Logger in org.mmbase.util.logging.Logger.
  • You have some class which asks for a java.util.logging.Logger where it will log to, and you want it to log to the MMBase log. For this, the 'MMBaseLogger' class is meant. So, this wraps org.mmbase.util.logging.Logger in java.util.logging.Logger.
@since MMBase-1.8
org.mmbase.util.logging.log4j
org.mmbase.util.magicfile org.mmbase.util.magicfile

This package contains the classes needed by org.mmbase.util.magicfile.MagicFile. A complete package is dedicated to this because it is quite a lot of code to put in one file.

The core class is `Detector'. MagicXMLReader creates the Detectors using an XML configuration file 'magic.xml'. 'MagicParser' contains the functions to generate a magic.xml from a UNIX 'file' file.

@see org.mmbase.util.magicfile.MagicFile
org.mmbase.util.transformers org.mmbase.util.tranformers

`Tranformers' define tranformations of Strings, byte arrays and streams.

Transformers are devided in three species. CharTransformers which transform some String to another String (or Reader to a Writer). Then there are transformation which take a byte array (or an InputStream) and transform that to a String (or a Writer), these are called ByteToCharTransformers. And the last type are are the ByteTranformers, which tranform a byte array to another byte array (or an InputStream to an OutputStream).

All Transformers can be specialized to 'ConfigurableTransformers'.

Several Abstract implemenations are present too. E.g. the 'ReaderTransformer' is nearly a complete CharTransformer, only the function wich pipes a Reader to a Writer is abstract. StringTranformer is a CharTransformer which' only abstract function is the one taking a String argument.

org.mmbase.util.xml
org.mmbase.util.xml.applicationdata
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.