It's possible to have significant amounts of business logic. Google is able to share 70% of it's code (written in Java) for the Google Inbox apps[0][1].
[0]: http://gmailblog.blogspot.ca/2014/11/going-under-hood-of-inb...
[1]: http://arstechnica.com/information-technology/2014/11/how-go...