How to ensure that
<class> classInstance = (class)beanManager.getReference(bean,
bean.getBeanClass(), beanManager.createCreationalContext(bean));
Always creates a new object on every call?
If you are using CDI you should annotate your bean class with @RequestScoped.
for example:
@Named
@RequestScoped
public class SomeBean{
...
}