Skip to content

Documentation could use a couple of "how to" #10

@chrisowensboston

Description

@chrisowensboston

As a Vaadin noob, I could use either a concise instruction or a snippet of example code. I am very familiar with CDI and related concepts but I know nothing about the Vaadin scopes.

For example, how would I modify the MainView class in the Vaadin Flow Tutorial to allow @Inject to work?

Also, I have a bunch of ejb @stateless beans that are part of an imported module that is not Vaadin aware. How would I make them available for injection in a Vaadin view?

The use case, I imagine, is pretty common: consider a DAO or any back-end service that is implemented as an EJB but is not Vaadin-aware; I'd like my GUI components to be able to get hold of an instance or proxy by injection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions