Professional Documents
Culture Documents
Corresponding Notes
Corresponding Notes
Correspondence Module
========================
=> When eligibiliry determined notice trigger will be inserted for the citizen with
"Pending" status in "co_notices" table.
=> When we print notice, then pdf will be generated with citizen eligibility
details and it will be sent to citizen in email as an attachment.
=> In Correspondence UI, we have screens to display Pending & History notices.
=======================================
Spring Boot with AWS S3 Integration
======================================
<dependency>
<groupId>com.amazonaws</groupId>
<artifactId>aws-java-sdk</artifactId>
<version>1.12.318</version>
</dependency>
3) Generte Access Keys For IAM user account (Access & Secret Access Key)
4) Create S3 Buket
accessKey=
secret=
bucketName=
region=
7) Create S3Utils class and inject AmazonS3 object and use AmazonS3 method to
upload object into s3 bucket.
=================
Batch Processing
=================
====================================
Renewal Reminder Notice Generation
=====================================
Note: To resolve this performance issue we can implement Multi Threading in the
project.
==================================
How to implement Multi Threading
==================================
=> If we extend properties from Thread class then we can't extend props from any
other class in future.
=> We can implement Runnable interface and we can override run () method
=> We can implement Callable interface and we can override call ( ) method
=======================
Executors Framework
=======================
=> We can create multiple threads at a time (with single line of code)
public class Test {