DJBinder Professional version

The new DJBinder Professional version will be packed with new functionalities. The following are among the most interesting :

 

Virtual typing

Virtual typing is the possibility to use a type different of the Java class name to look for a dynamic interface implementation. For example you could assign the virtual type French to an instance of the Person class. In that case the DI_French__Citizen class could implement the Citizen interface for this object. Different instances of the same Person class could have different virtual types. This extra flexibility is very useful to communicate with legacy applications or legacy databases.

 

Several interfaces implemented by a single DI_* class

Several interfaces like Citizen and Employee could be implemented by a single DI_ class. The main advantage is that the methods of the different interface implementations can share some member fields. For example a field of DI_Person class could be initialized by a method of the Citizen interface and used by a method of the Employee interface.

 

Full support of the serialization and cloning mechanism

In DJBinder Basic version the serialization and cloning mechanism are partially supported. In the DJBinder Professional version the DI_* classes that implement the Serializable interface will be included in the resulting stream and recreated at the same time that the main object. Concerning the cloning, the DI_* classes that support the Cloneable interface will be cloned at the same time that the main object.

 

Servlets support

DJBinder Professional version can be used within servlets. In other words classes used by a servlet can dynamically implement interfaces or access dynamically implemented interfaces.

 

Sealed and certified DA_* classes

In the same way that Java allows to seal a package, DJBinder Professional version allows to seal DA_* classes. A sealed DA_ class cannot be modified and therefore you can be sure that your protected and private members are not going to be accessed by strangers. Another security feature is the possibility that DJBinder ignore DA_* classes no certified by an organization you trust.

 

Direct execution of some DJBinder services

You can directly invoke some DJBinder services such like :

  • get the list of the dynamic interface implementations for a given object.
  • explicitly create an instance of a dynamic interface implementation. Notice that in the Basic version the only way to create a dynamic implementation is implicitly through a cast expression.
  • start and stop the generation of DJBinder traces.

top of this page


DJBinder downloads tutorials consulting contact us links Amslib