Hi Harald!

Those days I recommend to use DeltaSpike cdictrl [1]. The work is based on the 
stuff we did in OWB cdi-test, but we also added implementations not only for 
OpenWebBeans, but also for JBoss Weld and Apache TomEE. Others might follow ;)


I also wrote a small blog about it recently [2][3].


LieGrue,
strub


[1] 
https://cwiki.apache.org/confluence/display/DeltaSpike/Temporary+Documentation#TemporaryDocumentation-WithJavaSE
[2] 
http://struberg.wordpress.com/2012/03/17/controlling-cdi-containers-in-se-and-ee/
[3] 
http://struberg.wordpress.com/2012/03/27/unit-testing-strategies-for-cdi-based-projects/

>________________________________
> From: Romain Manni-Bucau <[email protected]>
>To: [email protected] 
>Sent: Friday, June 22, 2012 7:28 PM
>Subject: Re: Booting in Java SE?
> 
>
>Hi, in openwebbeans-test you have the CdiContainer.
>In deltaspike project you have a common api between owb and weld.
>Both are fine.
>- Romain
>Le 22 juin 2012 19:25, "Harald Wellmann" <[email protected]> a 
>écrit :
>
>What's the proper way of starting OWB in a Java SE environment?
>>
>>The corresponding section in the User Guide is empty.
>>
>>samples/standalone-sample/src/main/java/org/apache/webbeans/se/sample/Boot.java
>>uses WebBeansContext.getInstance(), but this method is deprecated and
>>does not document its replacement.
>>
>>Best regards,
>>Harald
>>
>
>

Reply via email to