[ would like to use my data for my continued education of Vaadin - how can I use my data instead of the array data in the example ]
I have a JSF web app
managed bean – MODEL
managed bean – CONTROLLER
remote MySql connection pool – CONTEXT.xml
remote data source resource ref – WEB.xml
mapping data calls – DAO implementation using JDBC
Would I follow the same example as in the first tutorial: https://vaadin.com/docs/-/part/framework/tutorial.html
and replace CUSTOMERSERVICE.java (controller) with my controller
OR
would there be a better tutorial that demonstrates remote data connectivity to Vaadin Grid from within an existing JSF application?
Well, Vaadin and JSF are not that different. The connection pool is (usually) defined on the appserver but instead of writing a template with EL pulling in the data, you write the view and stick the data directly to it. If you CDI-enable Vaadin you could @Inject a DAO which has an injected DataSource or PersistenceContext etc or whatever you did in JSF.
Nicklas Karlsson:
Well, Vaadin and JSF are not that different. The connection pool is (usually) defined on the appserver but instead of writing a template with EL pulling in the data, you write the view and stick the data directly to it. If you CDI-enable Vaadin you could @Inject a DAO which has an injected DataSource or PersistenceContext etc or whatever you did in JSF.
Can We also inject managed-bean in the vaadin flow view?
If yes, how can we then add remove the value of our managed-bean fields?