Announcement Announcement Module
Collapse
No announcement yet.
How to restrict the class visibility in the child project Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to restrict the class visibility in the child project

    Hi Everyone,
    I have an ear file with following configuration.
    em-ear
    em-services
    em-client
    em-web
    I have configured a sharedContext.xml in em-client for enabling sharing the context for multiple web applications.
    I followed the below link for configuring a shared context.
    http://blog.springsource.com/2007/06...g-application/

    I have brought in a dependency by adding the required jars in the MANIFEST.MF files of each project.
    i.e.
    Inside MANIFEST.MF of em-web I have mentioned em-client.jar as a dependency.
    Similarly inside MANIFEST.MF of em-client has a em-services.jar as dependency.
    My web application is working properly.
    But,I want em-web to depend only on em-client. But I am able to access my the em-service classes inside em-web even though there is no direct dependency. Is it because, em-service has been included in em-client? Is there any way I can block the visibility of my service classes in em-web.
Working...
X