Re:A Java Language Cumulative Feature Rollup
by nitwit005 on Thursday August 29, 2024 @01:41PM
(#41393358)
> Storing a date as an ISO UTC by default and sharing it with Json needed layer upon layer of code.
Storing it in a database, I assume?
It feels like your didn't like a framework instead of Java. "Manually" parsing JSON, parsing a date, and inserting into a DB really only needs a couple of lines. Assuming you've set up HTTP and DB libraries, of course.
I agree that maven and gradle are annoying, but I've never liked any build tool I've ever used.
Re:A Java Language Cumulative Feature Rollup
by vips7L on Thursday August 29, 2024 @02:00PM
(#41393572)
Yeah AFAIK every orm will easily store an Instant/Date/LocalDateTime pretty easily into a database. And serializing them with any JSON library just works out of the box.
Storing it in a database, I assume?
It feels like your didn't like a framework instead of Java. "Manually" parsing JSON, parsing a date, and inserting into a DB really only needs a couple of lines. Assuming you've set up HTTP and DB libraries, of course.
I agree that maven and gradle are annoying, but I've never liked any build tool I've ever used.