General
Installation and Compatibility
Dynamic Delegate is a small library that allows you to create implementations of the Business Delegate design pattern on the fly.
[top] |
It works using Java Reflection and more specifically using Dynamic Proxies
[top] |
You can read about the Business Delegate J2EE design pattern at the Sun's Blueprints web site.
[top] |
In order to use this library, your EJBs must implement the Business Interface EJB design pattern.
See the example for more information.
[top] |
DynamicDelegateFactory
has two strategy interfaces. The first is the
ThrowableConverter
that handles the conversion of the exceptions thrown
from the EJB and the second is the EJBHomeFactory
that retrieves the
EJB homes from the JNDI.
Feel free to provide your own implementations of the above interfaces, to make Dynamic Delegate better integrate with your environment.
[top] |
Dynamic Delegate is a library, just put the distribution jar in your classpath.
[top] |
Dynamic Delegate is compiled with -source 1.4 and -target 1.4, so I assume that it is compatible with JDK 1.4. I have only tested Dynamic Delegate in JDK 5.
[top] |
Dynamic Delegate should work with all application servers. I have only tested it with JBoss 4 and Sun's SJAS 8.1.
If you have used it with a different application server please let me know.
[top] |