Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The processing flow is described as follows:

  1. user User enters data, such as first and last name, date of birth, and place of birth, etc, in the web application form.
  2. Web Form needs to submit the request to a servlet running in an application server.
  3. The servlet creates a record for the submitter in a datbase table. Let's say the table contains a RECORD ID, USERNAME and TAXID fields
  4. The servlet then responds to the user with a page that has a message and a link. The message says, " Check your email for a message that will contain a link for checking TIN status." It also sends an email to the person with a link that says "Click here to retrieve your record." The link contains the record ID and points to a jsp or servlet in the container that can retrieve the user's record. Initially the TAXID field will say "PENDING".
  5. The servlet then publishes the request to the submission topic.
  6. The applicationFormReceiver, which is a JMS Binding component that subscribes to the submission topic, receives the request.
  7. The applicationFormReceiver sends the data to the formProcessor via the NMR
  8. The formProcessor assigns the appropriate TIN to the user. The formProcessor then publishes the response to the result topic.
  9. A message driven bean (MDB) is also running in the same application server as the servlet. The MDB is listening on the Result topic for the result from the formProcessor.
  10. When the MDB reads the TIN it updates the user's record in the database.
  11. Now, when the user clicks the link, the TAXID field will have the TIN and no longer say, "PENDING"

...