Java

1703 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 2 years ago
MODERATORS
1
2
 
 

🎂 Happy 30th anniversary to #Java! 🎂

This is still my favorite backpack to this day (yes I still use it, ask @Sharat_Chander )

Here's to a superb programming language 🥂

@java #programming

3
4
 
 

Hello,

I am trying to make an anonymous chat website like Omegle. I only know Spring Boot and Thymeleaf which means I have to utilize SSR.

Has anyone made a web app using only SSR? Is it even possible?

5
 
 

Hello folks,

I made a very basic game named 2dBallAnimation, it's using basic vector math in order to make the Animation happen.

there is only 3 classes in the entire app:

  • MainActivity.java : it gets executed when the app start
  • DefaultScreenView.java : it's responsible to make the animation work by doing vector math
  • V2.java : contains the x,y values of a vector and methods for vector addition, subtraction, multiplication, normalization etc..

are you Android dev or Java dev? share your thoughts about the app? feel free to give me some suggestion too.

6
 
 

So far I have worked on many different projects, seeing many different approaches to modern web application development including among others:

Thymeleaf, Freemarker, ZK, Angular2, Vue.js, React and Vaadin

to facilitate rendering of a UI. Obviously, there are always advantages and disadvantages and different paradigms involved.

With all the advantages that do exist with modern js frameworks, it also almost always feels like a lot of bloat and overhead to me to work with these frameworks.

More recently, I did work with Vaadin, and as a Java developer at heart, I rarely felt that much „at home“ for creating a UI.

I have to admit, it is still quite handy to know your js and css for special behaviours and edge cases, but something in me just loves working with Vaadin.

So now we can talk a lot about Performance and stuff, but Vaadin‘s simplistic approach is imho very much appealing to people who Like Java.

It might not be the best fit for everything, but it can surely get you far, and it seems that indeed quite a few companies are leveraging its advantages.

I am curious, anyone else with a positive opinion about Vaadin out there?

Best

7
8
submitted 2 months ago* (last edited 2 months ago) by Custodian6718@programming.dev to c/java@programming.dev
 
 

Java champions and Senior engineers speaking out against lombok

8
9
 
 

On March 18, a new Java version is set to arrive! Let's take a peek at new features, including the long-awaited final implementation of Stream Gatherers!

10
-2
What's new in Java 24 (pvs-studio.com)
submitted 3 months ago* (last edited 1 month ago) by CodiUnicorn@programming.dev to c/java@programming.dev
 
 

On March 18, a new Java version is set to arrive! Let's take a peek at new features, including the long-awaited final implementation of Stream Gatherers!

11
12
13
 
 

PVS-Studio has collected the most intriguing Java errors detected in open-source projects

14
 
 

Java equips developers with convenient tools for serializing objects. Although they seem primitive at first glance, their internal implementation contains a wealth of interesting insights. In this article, we'll explore the essentials of serialization and its nuances. Let's see how it operates under the hood!

15
16
 
 

cross-posted from: https://lemmy.ml/post/22574276

If there was one reason I liked coding in Java, it'd be AssertJ and its brilliant extensibility.

The image is an example of it from bjForth

The ability to create custom assertions makes the test code concise and read naturally.

17
 
 

Not a lot of information out there about running Java on k8s

I have also been looking into benchmarks between HTTP servers.

There is this but its just "Hello world"

18
 
 

Even though I don't use Azure, I found this quite interesting.

19
20
21
22
23
24
 
 

Hey Guys,

For my current spring boot project I have been using a @Scheduled annotation and using cron syntax for running jobs, but now I don't want to schedule jobs on holiday (based on US calendar).

So is there any approach to skip the schedule on holiday.

Thanks for your help in advanced.

25
view more: next ›