Samples on Play

http://ics-software-engineering.github.io/play-example-mysql/ http://pedrorijo.com/blog/play-slick/   https://github.com/daxyonis https://alexgaribay.com/2014/06/16/authentication-in-play-framework-using-java/ Chat Application http://matthiasnehlsen.com/blog/2013/06/23/angularjs-and-play-framework/ Reactive, real-time log search with Play, Akka, AngularJS and Elasticsearch Forums built with Play https://github.com/hakandilek/publicplay https://devhub.io/repos/eljaydub-play2-crud http://www.programcreek.com/java-api-examples/index.php?source_dir=play2-crud-master/project-code/app/play/utils/crud/views/Utils.java#showField-FieldMetadata-fieldMetadata-Object-o Improving Play! 2.1 with Knockout.js   http://vyazici.blogspot.in/2012/03/chat-application-with-play-framework.html http://www.vdzon.com/2015/08/24/creating-a-web-application-with-play-akka-and-java/ http://geeks.aretotally.in/tag/play-framework-2/ https://dzone.com/articles/persistence-and-dao-testing-0 https://github.com/ianrae/mettle-framework https://www.toptal.com/java/building-modern-web-applications-with-angularjs-and-play-framework https://github.com/unterstein/play-knockout-sample http://www.ibm.com/developerworks/library/wa-playful-web-dev-1-trs-bluemix/   Optimizing Static Asset Loading with Play Framework FORMS https://github.com/JoseVte/template-api-rest-java-playframework.git https://github.com/opensas/play-demo/wiki/Step-6—styling-form JPA Neat Explanation of using JPA…

NoSuchMethodError in javax.persistence.Table.indexes()[Ljavax/persistence/Index

URL url = Thread.currentThread().getContextClassLoader() .getResource(“javax/persistence/Table.class”); System.out.println(url); I’ve ran into the same problem. The question here is that play-java-jpa artifact (javaJpa key in the build.sbt file) depends on a different version of the spec (version 2.0 -> “org.hibernate.javax.persistence” % “hibernate-jpa-2.0-api” % “1.0.1.Final”). When you added hibernate-entitymanager 4.3 this brought the newer spec (2.1) and a different…

Ubuntu not showing eclipse menu

Open your eclipse.desktop file: sudo -H gedit /usr/share/applications/eclipse.desktop (If you can’t find it in this path, try in ~/.local/share/applications/eclipse.desktop. Otherwise, you could have to find yours using locate command). Replace the Exec= line with this: Exec=env UBUNTU_MENUPROXY= eclipse Where “eclipse” is the path to your eclipse executable. In this case it’s just “eclipse” since there’s…

Setting up Play Development Environment on Ubuntu

# Configure apt for java # http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html apt-get update apt-get install -y python-software-properties add-apt-repository -y ppa:webupd8team/java echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections # Update apt sources apt-get update apt-get install -y unzip wget git vim oracle-java8-installer oracle-java8-set-default # Install scala cd /opt wget http://www.scala-lang.org/files/archive/scala-2.12.0.tgz tar -zxvf scala-2.12.0.tgz # end scala #Installing playframework on ubuntu…

Installing SBT on Ubuntu

Sbt is the default build tool for Scala. This post talks about steps to install sbt on ubuntu.   Steps to Install SBT on Ubuntu #Add typesafe repository wget http://apt.typesafe.com/repo-deb-build-0002.deb ` #Install the repository sudo dpkg -i repo-deb-build-0002.deb #Refresh sudo apt-get update #Install sbt sudo apt-get install sbt #check whether sbt is installed sbt Add…