Announcement Announcement Module
No announcement yet.
spring war in osgi environment Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring war in osgi environment


    I am new in spring.
    I am trying to build war in spring 3.0.5 and glassfish 3.1 osgi environment (with felix) and currently I cannot make "component-scan" work (spring is deployed as a bundle, and my demo.jar is deployed as bundle).
    1) Is there a hellow-world demo for osgi spring applications that work with annotations? Or maybe a step-by-step process that describes what dependencies are needed, etc.
    2) Are there known problems with spring annotations like Component, Autowired in OSGI environments?

    thanks for any tip

  • #2
    I've seen in forum that spring component-scanning works only if war is unpacked on the file system. Is it true? Someone encountered such problems?