OpenWGA 7.0 - Updating to OpenWGA 7.0

Updating from OpenWGA 6.3 » To consider before updating

Need to recompile and adapt external Java functionalities

If you use any functionalities based on custom Java code in your OpenWGA projects or plugins you should recompile these against OpenWGA 7.0 libraries to use them with this version.

The reason for this are changes to the OpenWGA Server API: In earlier OpenWGA versions its methods used some classes as parameters or return values that were never documented, as these classes are not really part of the server API. Not all of their functionalities is meant for public use as some may be dangerous to the OpenWGA runtime.

Now the OpenWGA Server API uses interfaces of these classes as return or parameter types instead. These interfaces are now thoroughly documented and contain only those functionalities meant for public use. However this is a change of class interface which makes it necessary to recompile Java functionalities that use them.

Because of this you also might need to adapt your custom Java functionality to use these interfaces instead of their predecessor classes, so you can compile your custom Java code against the 7.0 libraries:

  • de.innovationgate.wgpublisher.webtml.utils.TMLContext becomes de.innovationgate.wga.server.api.tml.Context
  • de.innovationgate.wgpublisher.webtml.form.TMLForm becomes de.innovationgate.wga.server.api.tml.Form
  • de.innovationgate.wgpublisher.webtml.utils.TMLPortlet becomes de.innovationgate.wga.server.api.tml.Portlet
  • de.innovationgate.wgpublisher.webtml.utils.TMLUserProfile becomes de.innovationgate.wga.server.api.tml.UserProfile
  • de.innovationgate.wgpublisher.webtml.form.FormInfo becomes de.innovationgate.wga.server.api.tml.FormInfo