mkowalik
mkowalik

Reputation: 133

How to externally populate play! model

What would be the best idea to fill the play! models with data from an external source?

So far my application is small enough, that simply writing a Scala app doing JDBC inserts wouldn't be problem at all, but I really hate this idea.

Preferably I'd love to be able to use play! models from a standalone shell scala app, but so far I wasn't able to figure out how to do it. is really creating a view and calling it with curl (for example) the only chance to do it?

Thanks, Michal

Upvotes: 0

Views: 81

Answers (1)

i.am.michiel
i.am.michiel

Reputation: 10404

A Json api should be good enough?

Upvotes: 1

Related Questions