문제

I have an inbox application, jsf web application, using javamail at the business layer and JAMES3 as a mailserver. Actually i didn't find any benefit from deploying my application in glassfish at the level of messaging. Does anybody know what are the benefits of the session created in application server ?

Is there any reference or pdf or something like tutorial to illustrate everything related to javamail in enterprise environmet not standard one ?

도움이 되었습니까?

해결책

The application server manages the JavaMail Session object for you as an administered object, allowing you to reconfigure it without changing your application code. Of course, this depends on you accessing the Session as a Java EE resource, e.g., using @Resource to inject it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top