THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
The processing flow is described as follows:
- user User enters data, such as first and last name, date of birth, and place of birth, etc, in the web application form.
- Web Form needs to submit the request to a servlet running in an application server.
- 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
- 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".
- The servlet then publishes the request to the submission topic.
- The applicationFormReceiver, which is a JMS Binding component that subscribes to the submission topic, receives the request.
- The applicationFormReceiver sends the data to the formProcessor via the NMR
- The formProcessor assigns the appropriate TIN to the user. The formProcessor then publishes the response to the result topic.
- 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.
- When the MDB reads the TIN it updates the user's record in the database.
- Now, when the user clicks the link, the TAXID field will have the TIN and no longer say, "PENDING"
...