Skip to content

Server Side Actions? #673

Answered by rsoika
rsoika asked this question in Q&A
Jun 2, 2022 · 5 comments · 5 replies
Discussion options

You must be logged in to vote

@planger - ok after digging deeper into guice I now understand that what I expected is not possible.

Guice assumes that you bind your dependencies programmatically.
In JakartaEE we have this magic CDI Container which scans .jar files for CDI beans and binds them automatically.

This is, why I can add some maven dependencies from some external libraries to my Jakarta EE server app. This will provide new functionality without the need to register or configure this library in any way. And I expected the same magic in Guice. But Guice assumes that you know all implementations at compile time so you can programmatically bind your handlers and listeners. This is what we do in GLSP in the Diagram…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@planger
Comment options

Comment options

You must be logged in to vote
1 reply
@planger
Comment options

Comment options

You must be logged in to vote
3 replies
@CamilleLetavernier
Comment options

@rsoika
Comment options

@CamilleLetavernier
Comment options

Answer selected by tortmayr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants