Skip to content

Tag: playframework

If we can directly do action composition using @With annotation then why do we need to create custom annotations using interfaces?

When we are using Play Framework Action Composition we can directly use the @With annotation, as explained here. Alternatively, we can define custom action annotations. But what are the advantages of defining your own annotations? It’s like we are just adding a middle-man (interface). And one more doubt: while implementing the action class we use generics to specify a corresponding

Add the play script to your PATH in Mac

I’m not good with the terminal, so I have no idea what this means…. you should add the framework installation directory to your system PATH. On UNIX systems, this means doing something like: On Windows you’ll need to set it in the global environment variables. This means update the PATH in the environment variables and don’t use a path with