質問

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