users@glassfish.java.net

Re: JavaMail

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Tue, 15 Mar 2011 11:24:15 -0700

That's correct, the Java EE 6 Web Profile does not require JavaMail.
Still, JavaMail can be added to a Web Profile product if your
application needs it. Unfortunately, it doesn't look like it's been
separated out into its own package to make it easy to add it to a
GlassFish Web Profile installation, but you can always package the
jar file with your application.


Gregory Gerard wrote on 03/14/11 05:56 PM:
> I thought the web profile lacked JavaMail.
>
> greg
>
> On Mar 14, 2011, at 17:35, bill.shannon_at_oracle.com wrote:
>
>> (Note that there is no "J2EE6"; we haven't called it "J2EE" for at
>> least 5 years.)
>>
>> You can find lots of basic JavaMail documentation on the JavaMail web
>> page:
>> http://www.oracle.com/technetwork/java/javaee/index-141777.html
>>
>> JavaMail use in Java EE doesn't seem to be covered explicitly, but
>> you'll see it used
>> in an example in Chapter 27 and Chapter 44 of the Java EE 6 Tutorial:
>> http://www.oracle.com/technetwork/java/javaee/documentation/tutorials-1
>> 37605.html
>>
>> You'll also find information in Chapter 17 of the GlassFish Application
>> Developers Guide:
>> http://download.oracle.com/docs/cd/E18930_01/html/821-2418/index.html
>>
>> Don't forget to read the JavaMail FAQ:
>> http://www.oracle.com/technetwork/java/javamail/faq/index.html
>