I want to get the data from DB and send the data by Http communication while considering the order.

Asked 1 years ago, Updated 1 years ago, 57 views

If you would like to do the following, please let me know if you have any good middleware (library) or methods.

There is an API server that accepts requests from clients and
This server writes records to DB in consideration of the order of transmission.

For example, suppose that the data types are numbered A, B, and C in order from 1
Assume that those with different data types can be transmitted simultaneously, and the serial number must be transmitted in order within the same data type.
(Example A-1 and B-2 can be sent at the same time; A-2 can be sent after A-1 has been sent)
Also, we expect to resend it when it is not sent.

If you want to do this, I think it's better to build a system separately from accepting online requests.
(Resident and notify the DB to be written or new system for processing.Resend at any time)

Current API Server Environment
(I don't know the version, but it was built around 2013)

OS:RHEL
Application: Java Servlet (running on Tomcat)
DB:postgresql

We would like to build Java from the current system configuration as much as possible, but we will consider any other useful ones.Freeware only.

I would appreciate it if you could reply.

java tomcat

2022-09-30 10:27

1 Answers

I think we can build a general Java web framework, but if you are worried about the selection, it would be better to select one that has a lot of information and one that is complete.

If you would like all the Japanese information available, please refer to the following for your reference.

https://osdn.jp/projects/terasoluna/wiki/Server_Framework_for_Java_Web

It is based on the Spring framework and supports access to the database access.
I hope it will be helpful.


2022-09-30 10:27

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.