users@jersey.java.net

Re: SV: [Jersey] Weld on SE with Jersey and Grizzly

From: Morten <mortench2004_at_yahoo.dk>
Date: Wed, 28 Apr 2010 02:20:03 -0700 (PDT)

--- Den ons 28/4/10 skrev Paul Sandoz <Paul.Sandoz@Sun.COM>: > It would be most helpful if you could have a play. I know > Weld itself has an OSGI-related distribution. Yes, not easy to find but it is there at "http://download.java.net/maven/glassfish/org/jboss/weld/weld-osgi-bundle/1.0.1-Final/" > As Jakub says we are having issues with the maven repo at > the moment. So it you want to verify you will need to check > out the trunk and build yourself. Uha, I am not a maven fan but I will try to se if I can build jersey for you which I think is maven (so I finally have the need to install maven I can see). Alternatively - if I get into trouble - I will get back to you and plead for you sending me the jars to test :-) ? > Note that there is no OSGi specified in Java EE 6. There is > some support in GF for OSGi bundle deployment. But there > needs to be some fixes to that before Jersey can work > correctly (and correctly override the Jersey version > distributed with GF). I would really hope that we can get all these things ironed out before glassfish 3.01, so that from glassfish 3.01 on everything works ? As for the OSGI Jersey work I do not know who is doing it, but can you ask him/her to verify for Weld/CDI support ? > I think we may need some sort of public helper or > JCDIServletContainer or something like that for SE. Perhaps > as a separate module to ensure appropriate dependencies get > picked up. Then a simple sample. We don't want developers > depending on impl specific classes as these can change at > any time. Yes, if you write a draft helper. I am willing to test it on a real project (my own) + give feedback. Cheers, MOrten