1

Recently i read this documenentation and also this announcement, basically targetting the weld-osgi releases.

I am really interested in how to get this to work in JBoss AS 7.1.x. Can someone please point me to a solution that works?

Thanks

Björn Pollex
  • 75,346
  • 28
  • 201
  • 283
Paul Plato
  • 1,471
  • 6
  • 28
  • 36
  • 1
    I would appreciate if you could share what you mean with "get this to work"? I assume you want to bundle (aka include) it in your application and deploy onto JBoss, don't you? Or perhaps you want to tweak JBoss a bit so it runs with the new Weld releases? Just curious. – Jacek Laskowski Dec 16 '12 at 15:27
  • The former is my intention, not the latter – Paul Plato Dec 17 '12 at 16:30

2 Answers2

5

The Weld-OSGI release introduced Weld SPI changes. There is currently no stable JBoss AS release supporting the new SPI. An option is to build the current JBoss AS 7 master from source. Then you should be able to upgrade to 1.2.0.Beta1 simply by replacing weld jars.

  • I think i will just have to wait for release before i proceed. or make do with IBM WEBSHPERE. Thanks for the reply though – Paul Plato Dec 20 '12 at 10:12
0

Sure thing: Helloworld OSGi quickstart

Ondra Žižka
  • 43,948
  • 41
  • 217
  • 277
  • The example listed in the page above (from my own understanding) does not support CDI Annotations for OSGI as well as other cool features listed in Link 1 of my question. I am specifically interested in setting up a project that uses Weld-osgi jars. so that annotations like [code]@Publish, @OsgiService, e.t.c can be used – Paul Plato Dec 17 '12 at 16:35