Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. COI'm developing a email client web application which will be communicated from a mobile for new emails.In the web app, there are 2 resource intensive classes. 1.MailGetter (iterates over the numerous emailids provided by user and obtains emails for emailids) 2. MailFormatter (parses Multipart content into simple text by removing html tags which will be sent to mobile and and this class also downloads bulk attachments)So I'm trying to implement MailGetter and MailFormatter as 2 web applications which will be in different servers. So I need to share message objects between these applications.
      singulars
    2. COI'm assuming you want to store the 'simple text' and 'attachments', in which case, I'd be inclined to define domain classes and store the data in a database (which will take care of lock contention between the two web-apps on the data). The MailFormatter then becomes responsible for retrieving messages (using Javamail), converting to and storing instances of your domain classes. MailGetter's 'emails for emailids' then becomes a query, rather than an iteration in your code. The result being a common jar that contains the domain classes and DAOs, which is used by both web-apps.
      singulars
    3. COthanks for answering.Can you please illustrate the domain classes? What are these classes? So MailFormatter after obtaining emails from remote persists email headers, concised email body content and attachments in database.MailGetter queries the db for recently arrived email data. Am I comprehending it right? Can you please illustrate your concept?
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload