There is a table phonenumbers
with two columns: id
, and number
. There are about half a million entries
in the table. Database is MySQL
.
The requirement is to develop a simple Java EE application, connected to that database, that allows a user to download all number
values in comma separated style
by following a specific URL.
If we get all the values in a huge String array
and then concatenate them (with comma in between all the values) in a String
and then send it down to the user, does it sound a proper solution?
The application is not public and will be used by a limited no. of people.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…