Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Join the Celebration of 30 Years of Java

  • February 03, 2025
  • 3134 Unique Views
  • < 1 min read

On Thursday, March 13, Azul is hosting a virtual celebration of 30 years of Java, starting at 09:00 PST / 17:00 GMT / 18:00 CET.

In addition to discussion panels, including a Friends of OpenJDK Panel with Marit Van Dijk, Ondro Mihályi, and Simon Martinelli, the highlighted speakers and topics of the program are:

  • "30 Years of Java" by Simon Ritter
  • "AI for Busy Java Developers" by Frank Greco
  • "Behind-the-Scenes Innovations in Java" by Venkat Subramaniam
  • "Reading Code" by Marit van Dijk
  • "We Hate Code - The Joy of Maintaining Dead and Unused Code" by Gerrit Grunwald

The whole program is here.

Recordings for the event will be done during the upcoming Devnexus.

Register for this unique and free celebration here!

Also... you can hold a watch party with your JUG, organization, or group of friends, and get free pizza, sign up for that here.

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Comments (2)

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Tobiloba avatar

Tobiloba

3 years ago

I see that you save the point of interest as text in the DB but the response gotten from ChatGPT is JSON. Does this mean you convert the response into string using libraries like gson before saving it in the database?

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Denis Magda avatar

Denis Magda

3 years ago

Hey, The response is a String object in the JSON format [1]. The repository takes this JSON string as is and stores to the database [2]. Presently, Spring Data auto-generates the CREATE TABLE statement on the startup and sets the "point of interest" column's type to "text" (or "varchar", don't remember). However, it's always possible to ask Spring Data to use the "json" or "jsonb" type for the column if you wish to query the JSON at the database level. Finally, Vaadin displays a list of PointsOfInterests. Those are generated using the org.json library [3]. Let me know if you have other questions. Hope this helps. [1] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L103 [2] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L74 [3] https://github.com/YugabyteDB-Samples/budget-journey-gpt/blob/main/src/main/java/com/yugabyte/com/TripsAdvisorService.java#L114

12

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard