openwebbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Struberg <strub...@yahoo.de>
Subject Re: Booting in Java SE?
Date Fri, 22 Jun 2012 18:32:48 GMT
Hi Harald!

WebBeansContext.currentInstance() is an INTERNAL method - I really suggest to use NONE of
them in a customer project.

cdictrl shields all this away from your customer project!

LieGrue,
strub


----- Original Message -----
> From: Harald Wellmann <hwellmann.de@googlemail.com>
> To: user@openwebbeans.apache.org
> Cc: 
> Sent: Friday, June 22, 2012 8:02 PM
> Subject: Re: Booting in Java SE?
> 
> Am 22.06.2012 19:51, schrieb Romain Manni-Bucau:
>>  Getunstance is replaced by currentinstance, just a semantic change.
>> 
> 
> Ok. so I'll use WebBeansContext.currentInstance(). You might want to add a 
> reference to the getInstance() Javadoc, though. Users tend to get confused when 
> you deprecate a method and don't tell them what to use instead ;-)
> 
> 
> 
>>  There is no standard api that's why it is in test module but it is
>>  comparable to weldse. Deltaspike is the proof. If you want sthg standard
>>  there is the EJBContainer and openejb for instance.
> 
> Yes, but there are no EJBs in Java SE...
> 
> Best regards,
> Harald
> 

Mime
View raw message