Menu

#306 Move GUI-related stuff out of XINS Common

open
nobody
2
2010-02-04
2009-12-29
No

In my opinion, a regular XINS deployment in a Java EE container should have no dependencies on graphical libraries like AWT, SWT and Swing.
Currently, there is GUI-related functionality in the XINS/Java Common Library. I propose moving this elsewhere.

For my branch of XINS, at GitHub, I'll probably just deprecate the existing functionality and copy it to a different library, in a different package structure.

Discussion

  • Anthony Goubard

    Anthony Goubard - 2010-01-02

    Note that there is no runtime dependency (and no compile dependency for XINS APIs) on AWT, SWT or Swing.
    The classes are utilities classes that are not used by XINS APIs (such as Sprin classes or the internal servlet container).

     
  • Ernst de Haan

    Ernst de Haan - 2010-01-04

    I understand they are not a runtime dependency. But from a software architecture POV, it would IMO be better to move them into their own package (structure), so that the "common" hierarchy really has no dependencies on GUI-related functionality.

    It's not a major issue, though. It's just that this would improve the software architecture in my opinion.

     
  • Ernst de Haan

    Ernst de Haan - 2010-02-04

    This is low priority, I agree with Anthony on that.

     
  • Ernst de Haan

    Ernst de Haan - 2010-02-04
    • priority: 5 --> 2
     

Log in to post a comment.