Micro services in Play

489 views
Skip to first unread message

sifi mohamed amine

unread,
Feb 8, 2015, 4:37:34 PM2/8/15
to play-fr...@googlegroups.com
Hi , 
I am looking for a tutorial for building Microservices in using scala in Play. 
I will be glad if someone can help me with the issue .

Thanks

James Roper

unread,
Feb 8, 2015, 8:27:53 PM2/8/15
to play-framework
Can you explain what you mean by Microservices?  To build a microservice in play, you write an ordinary Play app, but make sure it only implements one concern, as opposed to a monolithic app that does everything.

--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
James Roper
Software Engineer

Typesafe – Build reactive apps!
Twitter: @jroper

Onezino Gabriel Moreira

unread,
Feb 12, 2015, 1:36:04 PM2/12/15
to play-fr...@googlegroups.com
Maybe a multi-project, each one with your especific concern, but at all  all project must be running and I think need to have some remote communication among them.At all:

1-) Can play easy consume resource like a rest api?

2-) Could have more than one project or play server under the same project ?

Aaron Cohn

unread,
Feb 12, 2015, 8:25:32 PM2/12/15
to play-fr...@googlegroups.com
Hey Onezio,

Check out this link for information on multiple projects:


-Aaron

Megazord

unread,
Feb 12, 2015, 9:11:30 PM2/12/15
to play-fr...@googlegroups.com
Notice that a multi-project application is different from a multi (micro) services application.

Onezio,

1-) Can play easy consume resource like a rest api?

The real question here is: can java/scala easily consume resources from a rest api? If there is a library that enables you to easily consume rest apis, than you can use it in your play application. The only thing that plays recommends is that you consume the services asynchronously.

2-) Could have more than one project or play server under the same project ?

You can have sub projects. I don't get what you want with more than one server under the same project. Could you please elaborate your problem?

HTH

Kushang Parikh

unread,
Sep 25, 2017, 6:05:06 PM9/25/17
to Play Framework
Hi, 
is there any setting in play frame work so I can use same port when application is running as collection of micro services ? 
Reply all
Reply to author
Forward
0 new messages