Khi chúng tôi tiến hành chuyển đổi các tập lệnh Perl cũ CountTokenStockQuantities.pl và…
- User
Khi chúng tôi tiến hành chuyển đổi các tập lệnh Perl cũ CountTokenStockQuantities.pl và tokenstockmail.pl thành app Java Spring Framework, nhờ bạn soạn giúp Q&A bằng tiếng anh để tôi hỏi đồng nghiệp, tôi sẽ đưa ra 2 cấu trúc và nhờ đồng nghiệp chọn cấu trúc phù hợp: Cấu trúc 1 là từ script perl countTokenStockQuantities.pl và TokenStockMail.pl sẽ chuyển đổi sang java thành 1 app duy nhất mang tên là counttokenstock
├───core │ └───src │ ├── main │ │ ├── java │ │ │ └── jp.co.example.hoge.app.batch.core │ │ │ ├───domain │ │ │ │ └───entity │ │ │ ├───infrastructure │ │ │ │ └───datastore │ │ │ └───logging │ │ └── resources │ └───test └───counttokenstock └───src ├── main │ ├── java │ │ └── jp.co.example.hoge.app.batch.counttokenstock │ │ ├── application │ │ ├── service │ │ ├── domain │ │ │ ├── entity │ │ │ └── repository │ │ ├── infrastructure │ │ │ └── datastore │ │ └── logging │ └── resources │ └── infrastructure │ └── datastore └── testCấu trúc 2 là từ script perl countTokenStockQuantities.pl và TokenStockMail.pl sẽ chuyển đổi sang java thành 2 app mang tên là count_token_stock_quantities và app token_stock_mail
├───core │ └───src │ ├── main │ │ ├── java │ │ │ └── jp.co.example.hoge.app.batch.core │ │ │ ├───domain │ │ │ │ └───entity │ │ │ ├───infrastructure │ │ │ │ └───datastore │ │ │ └───logging │ │ └── resources │ └───test ├───count_token_stock_quantities │ └───src │ ├── main │ │ ├── java │ │ │ └── jp.co.example.hoge.app.batch.count_token_stock_quantities │ │ │ ├── application │ │ │ ├── service │ │ │ ├── domain │ │ │ │ ├── entity │ │ │ │ └── repository │ │ │ ├── infrastructure │ │ │ │ └── datastore │ │ │ └── logging │ │ └── resources │ │ └── infrastructure │ │ └── datastore │ └── test └───token_stock_mail └───src ├── main │ ├── java │ │ └── jp.co.example.hoge.app.batch.token_stock_mail │ │ ├── application │ │ ├── service │ │ ├── domain │ │ │ ├── entity │ │ │ └── repository │ │ ├── infrastructure │ │ │ └── datastore │ │ └── logging │ └── resources │ └── infrastructure │ └── datastore └── testNhờ đồng nghiệp xem xét cấu trúc nào sẽ phù hợp
- Assistant