javaee / javaee-spec

Java EE Platform Specification
https://javaee.github.io/javaee-spec
Other
389 stars 69 forks source link

Define JavaMail Sessions Portably #24

Closed glassfishrobot closed 11 years ago

glassfishrobot commented 11 years ago

It is currently not possible to define JavaMail Sessions via standard annotations or XML. This is a potential usability issue, especially in cloud environments.

It may be very helpful to have portable annotations or XML for this, just like we now have for data sources and JMS resources.

Do let me know if anything needs to be explained further - I am happy to help.

Please note that these are purely my personal views and certainly not of Oracle's as a company.

glassfishrobot commented 11 years ago

Reported by reza_rahman

glassfishrobot commented 11 years ago

@bshannon said: Doesn't javax.mail.MailSessionDefinition do what you want? https://javaee-spec.java.net/nonav/javadocs/javax/mail/MailSessionDefinition.html There's a corresponding XML element as well.

glassfishrobot commented 11 years ago

reza_rahman said: Indeed it does - I did not know about it or forgot. Thanks much and this can be closed.

glassfishrobot commented 7 years ago

This issue was imported from java.net JIRA JAVAEE_SPEC-24

glassfishrobot commented 11 years ago

Marked as invalid on Monday, May 13th 2013, 4:56:09 pm