"show me money" sample application needs refactoring
----------------------------------------------------

                 Key: GERONIMO-5804
                 URL: https://issues.apache.org/jira/browse/GERONIMO-5804
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: sample apps
            Reporter: Jarek Gawor


The "show me money" sample application is not very well structured. The 
application is composed of a regular war file (front-end) and OSGi application 
composed of 2 bundles: api & server. The front-end uses api class to lookup a 
service in service registry registered by the server bundle. Because the api & 
server bundles are in the same OSGi application, as soon as the OSGi 
application is deployed (for example somebody changed the service 
implementation), the front-end application will break since the classloader for 
the api bundle has changed. To fix this the api bundle needs to be moved out of 
the OSGi application. 


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to