Skip to main content
Filter by
Sorted by
Tagged with
1 vote
2 answers
27 views

I'm not able to set the initial window size. The app always displays 200x200. public class tcase extends Application { @Override public void start(Stage primaryStage) {...
codeDr's user avatar
  • 1,734
Advice
1 vote
2 replies
63 views

I am currently a 3rd-year Computer Engineering student from a tier-3 college in India. I know basic Java, DSA, and I have started learning web development. I am confused about career direction because ...
Musab Shaikh's user avatar
-1 votes
0 answers
33 views

I configured my spring application to interact with flyway for a data migration but flyway seems not to be working. My application.properties file is in the resources package spring.application.name=...
Gnome's user avatar
  • 41
Advice
0 votes
2 replies
54 views

If I run Java 25 JShell with Java Object Layout library (JOL) without any JVM settings and measure the memory cost in bytes of a Predicate<String> I see the following: $ jshell --class-path ~/....
Donald Raab's user avatar
  • 6,991
0 votes
0 answers
65 views

I use: @Configuration public class AsyncConfig { @Bean(name = "virtualExecutor") public ExecutorService newExecutor() { return Executors.newThreadPerTaskExecutor( ...
Roshin Raphel's user avatar
1 vote
2 answers
92 views

I am new with Spring still learning it and I see a post that when I use @Autowired in a class but this post not specified where the annotation is Spring use reflection to create the bean and then ...
Mostafa Abdelfatah's user avatar
0 votes
1 answer
56 views

When using hibernate legacy Criteria API and filtering on a `many-to-one` association while only retrieving the base entity type, the produced SQL still adds all columns of the association to the ...
djmj's user avatar
  • 5,594
1 vote
2 answers
81 views

I have a quite old Java spring app with beans defined in XML. I need to conditionally switch off one of those beans (it's a dbcp2 data source to a database server that's being shut down), so what I'd ...
nigelg's user avatar
  • 181
Advice
0 votes
5 replies
133 views

So I was looking up java interview questions and this one got me confused. I checked on Geek for Geeks and it says that they are stored in Metaspace with Class'es meta info and bytecodes while ...
Akbar  Amanov's user avatar
Advice
0 votes
4 replies
79 views

I am code tracing some practice problems for a beginner Java course I am taking. Below is one example from a practice worksheet I was given: public void printStr(String s){ if (s.length() < 6){ ...
CSP.AT.MASH's user avatar
-3 votes
0 answers
45 views

I am currently exploring the Async HBase Client (official version) and trying to understand its capabilities, performance benefits, and internal architecture. However, I am having trouble finding ...
Alireza Asgarian's user avatar
0 votes
1 answer
85 views

The App is a Swing GUI app that display a JTable. Data is loaded from a file. The first column is an image rendered on the fly from the data in the file. This works in general. This is an old app ...
beginner_'s user avatar
  • 7,664
-2 votes
0 answers
46 views

I’m working on a Spring Boot project using Testcontainers, but I’m facing an issue where Testcontainers is unable to connect to Docker. Error: Testcontainers is failing to connect to your local Docker ...
Maanvi Chetwani's user avatar
0 votes
0 answers
84 views

I'm implementing flat combining (original paper). When the combiner applies a node class Node { volatile Function<T, R> action; //Used through its VarHandle volatile Node next; R ...
Kusoro Adeolu's user avatar
4 votes
1 answer
91 views

I am getting this error when I try to start a Spring Boot application. Parameter 0 of constructor in org.codefinity.com.codefinity.firstrestapibooks.controller.BookController required a bean of type '...
Gnome's user avatar
  • 41

15 30 50 per page
1
2 3 4 5
127754