I trying to migrate my project from Seam2 to Seam3. I did not get an equivalent for @Factory. @Produces and @Unwraps are quite different than @Factory.
Please suggest an equivalent for @Factory annotation, so that it creates an instance only once.
You have to scope it correctly for it to only be called one. It will be called once per scope. If it's session scoped, it will be called once per session, conversation scoped once per conversation. If there isn't a scope, that means it's DependentScoped which is very similar (to think about) use the new keyword.