users@glassfish.java.net

Re: JavaMail

From: Snjezana Sevo-Zenzerovic <snjezana.sevozenzerovic_at_oracle.com>
Date: Tue, 15 Mar 2011 11:46:30 -0700 (PDT)

Actually, in the case of GlassFish Web Profile distribution you do get JavaMail jar out of the box. It is in glassfish-common package since GlassFish container-common module implementation depends on it...

Thanks,

Snjezana

----- Original Message -----
From: bill.shannon_at_oracle.com
To: users_at_glassfish.java.net
Sent: Tuesday, March 15, 2011 11:24:34 AM GMT -08:00 US/Canada Pacific
Subject: Re: JavaMail

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
>