[jboss-jira] [JBoss JIRA] Reopened: (JBAS-1796) Review project dependencies and create proper abstractions

Adrian Brock (JIRA) jira-events at lists.jboss.org
Fri Feb 13 08:52:44 EST 2009


     [ https://jira.jboss.org/jira/browse/JBAS-1796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adrian Brock reopened JBAS-1796:
--------------------------------



I can't be bothered doing it, is not a valid reason to close a bug report.

This is meant to be a holder task with subtasks for each (sub-)project.
So even if nobody can possibly do the whole thing, different people can certainly look at the
parts they understand. 

* Like the example above, why is there direct dependency on a xerces class in a particular project?
* Why is a project dependening on implementation details of another project, instead of using a spi,
e.g. dependency on hibernate when it should be jpa, etc.

> Review project dependencies and create proper abstractions
> ----------------------------------------------------------
>
>                 Key: JBAS-1796
>                 URL: https://jira.jboss.org/jira/browse/JBAS-1796
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>            Reporter: Adrian Brock
>            Priority: Critical
>         Attachments: 20090210.zip
>
>
> I am getting singlularly fed up with people doing their own integrations
> in such a way that every project needs to depend directly on everything
> in thirdparty and every other project.
> Some people need to go on a course to learn the meaning of abstraction.
> e.g.
> The server module is an integration project. It should not be directly dependent
> on implementation details of Xerces:
> package org.jboss.webservice.metadata.wsdl;
> import org.apache.xerces.xs.XSComplexTypeDefinition;
> import org.apache.xerces.xs.XSTypeDefinition;
> import org.jboss.webservice.metadata.wsdl.WSDLConstants;
> import org.jboss.webservice.metadata.wsdl.xsd.XSDComplexType;
> import org.jboss.webservice.metadata.wsdl.xsd.XSDElement;
> import org.jboss.webservice.metadata.wsdl.xsd.XSDSchema;
> import org.jboss.webservice.metadata.wsdl.xsd.XSDSimpleType;
> import org.jboss.webservice.metadata.wsdl.xsd.XSDType;
> import javax.xml.namespace.QName;
> import java.io.File;
> import java.io.FileWriter;
> import java.io.IOException;
> import java.lang.reflect.Field;
> import java.lang.reflect.Method;
> import java.lang.reflect.Modifier;
> import java.net.URL;
> import java.util.ArrayList;
> import java.util.HashMap;
> import java.util.Iterator;
> import java.util.List;
> import java.util.Map;
> public class WSDLUtils
> {
>    private String newline = System.getProperty("line.separator");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list