Java

andybrunner, (edited )
@andybrunner@swiss.social avatar

Freeware: Java Utility Package (Version 2024.05.24) released

  • KHTTPClient: Support for PUT, PATCH, OPTIONS and DELETE methods
  • KSMTPMailer: New mail header X-TLS-Connnection, added TLS host name check
  • K: Many new utility methods
  • Added sample code
  • Some minor code/cleanup and document changes

https://java-util.k43.ch

jonoabroad,

people, is Java Concurrency in Practice still the text to brush up on Java concurrency, or has it been surpassed?

kittylyst,
@kittylyst@mastodon.social avatar

@jonoabroad Oh, and I have an upcoming class - https://learning.oreilly.com/live-events/java-concurrency-in-2-weeks/0636920087672/0642572001421/ - but it might be in the dead of night if you're in NZ.

jonoabroad,

@kittylyst thank you!

I'll have a look, see where I get to.

kittylyst,
@kittylyst@mastodon.social avatar

I wrote about the latest Ecosystem report from New Relic: https://www.infoq.com/news/2024/05/new-relic-java-2024/ - some interesting takeaways. In particular:

1.) Yes, you should definitely be thinking of Java 8 as a legacy version now

2.) continue to lose ground as a vendor (from 75% market share in 2020, to 34.5% in 2022 to 20.8% in 2024) - now just a couple of points clear of Eclipse's Adoptium distribution and Amazon's Corretto,

Sharat_Chander,
@Sharat_Chander@mastodon.social avatar

Happy Birthday, !

29 years and going strong!

How has Java inspired you?

nipafx,
@nipafx@mastodon.social avatar

What is data-oriented programming and how does it work in ? After Brian Goetz first described it in his seminal article "Data-Oriented Programming in Java" in June 2022, I propose a revised version 1.1 and give detailed advice on how to implement it in a six-part article series on inside.java.

Here's the first part with the revised four guiding principles:

https://inside.java/2024/05/23/dop-v1-1-introduction/

openjdk,
@openjdk@mastodon.social avatar

Proposed to target JDK 23: JEP 481: Scoped Values (Third Preview): https://openjdk.org/jeps/481

openjdk,
@openjdk@mastodon.social avatar

Targeted to JDK 23: JEP 477: Implicitly Declared Classes and Instance Main Methods (Third Preview): https://openjdk.org/jeps/477

lutindiscret, French
@lutindiscret@mastodon.libre-entreprise.com avatar

@pears des questions si on voulait créé une instance . Est-ce qu'on peut faire des trucs un peu riches genre indexer stackoverflow mais que les questions avec un tag java ?

Comment faire pour réutiliser le fait qu'un anglophone va vouloir des ressources en anglais alors qu'un français peut lire du français et de l'anglais ? Deux instances (la francophone tapant aussi sur l'anglophone) ?

lutindiscret,
@lutindiscret@mastodon.libre-entreprise.com avatar

@pears même question pour github, on va pas réindexer tout github 😱 alors est-ce que y'a moyen d'indexer juste les projets java?

asynchronaut,
@asynchronaut@fosstodon.org avatar

As it turns out efficiency actually matters:

https://arxiv.org/abs/2405.11182

kerfuffle,
@kerfuffle@mastodon.online avatar

Sometimes, when I talk to frontend developers about how requires you to have more presentation awareness in the projection side of your server application as you generate content in HTML, which in the world is pretty much what we did with , Freemarker and Thymeleaf, I'm met with amazement.

No dis, but be aware: There's a generation of capable professional frontend developers who don't know backend servers can serve HTML just fine, and not just Json over HTTP.

openjdk,
@openjdk@mastodon.social avatar

Proposed to target JDK 23: JEP 471: Deprecate the Memory-Access Methods in sun.misc.Unsafe for Removal: https://openjdk.org/jeps/471

openjdk,
@openjdk@mastodon.social avatar

Proposed to target JDK 23: JEP 482: Flexible Constructor Bodies (Second Preview): https://openjdk.org/jeps/482

openjdk,
@openjdk@mastodon.social avatar

Proposed to target JDK 23: JEP 480: Structured Concurrency (Third Preview): https://openjdk.org/jeps/480

andybrunner, (edited )
@andybrunner@swiss.social avatar

Freeware: Java Package ch.k43.util (Release 2024.05.17)

  • KSMTPMailer: New class to compose and send multipart SMTP email with text, HTML and file attachments
  • KSocketServerThread: Added getAuthenthicatedClientCN() to return common name
  • KSocketClient: Added getAuthenticatedClient() and getAuthenticatedClientCN()
  • KFile: Added readPropertiesFile() and writePropertiesFile()
  • K: Added dnsQuery() to return any DNS record

https://java-util.k43.ch

fstab,
@fstab@mastodon.social avatar

The library 1.3.0 is released! PushGateway support is back. https://github.com/prometheus/client_java/releases

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Java
  • modclub
  • DreamBathrooms
  • InstantRegret
  • magazineikmin
  • cubers
  • GTA5RPClips
  • thenastyranch
  • Youngstown
  • rosin
  • slotface
  • tacticalgear
  • ethstaker
  • kavyap
  • Durango
  • anitta
  • everett
  • Leos
  • provamag3
  • mdbf
  • ngwrru68w68
  • cisconetworking
  • tester
  • osvaldo12
  • megavids
  • khanakhh
  • normalnudes
  • JUstTest
  • lostlight
  • All magazines