[weld-dev] Maintenance release

Gavin King gavin.king at gmail.com
Thu Dec 31 11:45:48 EST 2009


On Thu, Dec 31, 2009 at 6:47 AM, Mark Struberg <struberg at yahoo.de> wrote:
> How will this play together with the new @Optional you proposed for the MR?

I'm not actually a fan of @Optional, and I definitely have not
proposed introducing it in the MR. In fact, I think we probably won't
grow this feature unless JSR-330 does.

> As far as I've seen in the EJB-3.0 spec and from javax.persistence, the container is not explicitly
> obligated to throw an Exception if the right EntityManagerFactory or an EntityManager cannot
> be found.

I don't think this behavior is consistent across all containers.


-- 
Gavin King
gavin.king at gmail.com
http://in.relation.to/Bloggers/Gavin
http://hibernate.org
http://seamframework.org


More information about the weld-dev mailing list