Ask questions and see you at December, 3rd, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Please keep the questions Java EE-stic. Means: as short and as concise as only possible.
Ask questions and see you at December, 3rd, 6.PM. CET: http://www.ustream.tv/channel/adambien
Also checkout recent episode:
Please keep the questions Java EE-stic. Means: as short and as concise as only possible.
Hello, as Adam says it depends on Application Server, as i know for instance WildFly does not use pools.
Regarding behaviour on GlassFish / Payara Application Servers:
If you are injecting component via @Inject and this is Stateless component - it will use object pools.
If you are injecting POJO with @Inject - it depends on scope of injected component.
So my recommendation is - use @Inject everywhere.
Thanks.