here's the way i understand the mail situation going forward in jboss, with respect to jca and jbmail (jbmail = this forum's Mail Services) and this forum thread; please post corrections to this where i err:
1. there's currently an mbean called 'jboss:service=Mail' which uses mbean code org.jboss.mail.MailService. this service installs a javax.naming.Reference to javax.mail.Session into JNDI, by default at java:/Mail. the properties of this Session object are configured by the mbean deployment descriptor, but 'user' and 'password' attributes can be changed dynamically. thus, one javax.mail.Session object is created per JNDI lookup, with the current global set of properties. 2. the jboss:service=Mail mbean is appropriate for server-wide shared use, and not for specific clients. it represents the server itself as a 'user', and not human-users a'la pop3. thus, jboss-logging and other jboss modules can share it, all operating under the same account. 3. the jboss:service=Mail mbean relies on sun's implementation of javax.mail.Session, which uses the network to deliver and store email --- via smtp, pop3, etcetera. the nasty bug i reported at the start of this thread, re 'MethodNotSupportedException', seemed to indicate that sun's implementation does not support pop3, which i find difficult to believe! but that's another story... 4. we can develop another implementation of javax.mail.Session (steve's project), which relies on native jbmail operations (message driven beans, etc) when using host 'localhost' (i.e., no smtp/pop3/networking/etc, unlike sun's implementation), and make the Session available under the JCA specification. presumably 'JCA' here means a resource adapter to javax.mail.Session "connections" that also may enable pooling, transactions etc... (see http://java.sun.com/j2ee/connector/index.jsp) 5. in the short term, to get JCA started quickly (rather than going for step #4 at first), i imagine we may just implement a wrapper around sun's javax.mail.Session and connect to jbmail on localhost via smtp and pop3. this is basically what i was trying when playing with the idea of webmail, sans the JCA part. ------------------- btw, i'm composing this post in EMACS due to risk of losing the text of the post when resizing browser window... i should probably post this bug report on the nukes forum. sorry! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836084#3836084 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836084 ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development