522 questions
Advice
0
votes
1
replies
80
views
Stack performance in Flutter?
In my android application, there is a 4X4 board for 2 player and 4 play buttons together. One board square is made of one stack each. And there is 5-7 layers to several widgets on one stack depending ...
0
votes
1
answer
59
views
LexikJWTAuthenticationBundle subscriber event wont trigg?
is anyone comfortable with the Lexik bundle?
I created a subscriber based on the AuthenticationSuccessEvent, but when I log in, it doesn’t go through my event, and I don’t understand why.
providers:
...
0
votes
1
answer
28
views
Do I need a CDI<->Hk2 bridge to make @Stateless EJBs available to Hk2 in a REST endpoint?
I have a Jakarta 10 application that runs fine on OpenLiberty where all injection is handled by WELD.
When attempting to run the same application on Payara community edition it fails.
There is a @...
0
votes
0
answers
26
views
Java application in memory alternative to move the application to stateless
I have an application which runs on a single server, The application processes some information while keeping them in collection Maps and Lists.
I am working on containerizing this application and ...
0
votes
2
answers
440
views
Logic App Stateless workflow calls stateful workflow, but doesn't return message body
I'm trying to call Logic App stateful workflow from Stateless workflow, but it seems I don't receive the body message;
To demonstrate the issue - The parent logic app workflow invokes two child ...
2
votes
1
answer
2k
views
Does Starlette SessionMiddleware store session data on the server or on the client?
I am developing a stateless FastAPI app. The authentication is handled via Google OAuth (openid email profile scope). I am using Authlib and it uses SessionMiddleware (request.session) to store ...
0
votes
0
answers
54
views
How refers to only one element of a LazyColumn using ViewModel and UiState
I started recently a course on jetpack Compose and I was suddenly enthusiast about it. Now I learned how to use Viewmodel and UiState to manage different data states.
Very interesting and exciting for ...
0
votes
0
answers
64
views
Wildfly 22.0.1 failing to deploy WAR that uses @Stateless classes
I am getting a strange error on Wildfly where it is not deploying a WAR file.
My exact setup is per the below:
OS : Windows 10
JDK : Amazon Correto 17.0.11.9.1
WildFly : 22.0.1.Final
IntelliJ : ...
0
votes
1
answer
955
views
Laravel 11 Specifying a Custom Model for Sanctum
I need to specify a custom table name and schema for Sanctum in Laravel 11 because we use multiple schemas. To do this, I must create a custom model overriding PersonAccessToken.
Sanctum provides a ...
0
votes
1
answer
61
views
SOLVED! setState() or markNeedsBuild() called during build ,stuck on this although the app work normally
This is my home screen and it is working fine but it is throwing error each time I navigate to it.
I don't know what to do , all of the app is working normally , it is just throwing this errors and I ...
0
votes
1
answer
65
views
Persistence does not ocur in a stateless bean, using JPA when duplicate key exception is thrown
In a stateless bean, i´ve persisted a customer, but when I try to persist an entity product, this trows a duplicate key exception.
So the customer is not persisted in db. Why is that?
@Stateless
...
-3
votes
1
answer
101
views
Flutter stateless and stateful widget question [closed]
I just wanna ask few questions
Should i wrap my normal widget with stateless or stateful when using?
What is the different of using it as is?
I just wanna build re usable widget and wondering if i ...
2
votes
2
answers
565
views
Stateless and Stateful widget, can i use both?
Is it possible to combine the two widgets?
Now I'm studying flutter and if I want to keep my AppBar fixed or something else. Can I have both widgets? If it's possible, should I use the build widget on ...
1
vote
0
answers
633
views
How to run timers in stateless microservice
I am working on a stateless microservice and need to run some timers in it. Now timers are inherently stateful and I need to run them in a way that the service remains stateless. The major point in ...
0
votes
1
answer
145
views
Translate workflow into state machine with respect to SOLID and OOP
Lets say you start with a method that accepts two complex objects. This method is some sort handler and it needs to process workflow (see workflow flowchart)
public Task Handler(Object A, List<...