Hi there, I'm trying to find an answer to a design question.
I would like to build a web interface to an IMAP/SMTP server. Think hotmail. At first, I thought it would make sense to create a mail service the screens could use to access the IMAP and SMTP server. Now, however, I'm losing confidence in that idea because I can't find a way to really hide the workings of Javamail, which is what I'm using. My layers, as I saw it, were: Screen (vm) --> Screen (java) -- > TurbineMailService --> Javamail -(IMAP/SMTP proto)-> Mail Server But, the problem is that the TurbineMailService would wind up having to convert Javamail objects to custom objects for the screens. This just doesn't make sense to me. So, the bottom line questions is, what would be a better approach to this? I could just use the Javamail tools directly in the screens? Seems messy, but more straight forward. Thanks for your suggestions. Regards, Philip
