Saturday, August 23, 2014

Spring framework

Introduction
https://www.youtube.com/watch?v=Jjp_EYEn4bc
https://www.youtube.com/watch?v=8a2vcpxZdME
https://www.youtube.com/watch?v=fGQ8hxdhGjY

Spring tutorials
http://docs.spring.io/docs/Spring-MVC-step-by-step/
http://docs.spring.io/spring/docs/4.0.6.RELEASE/spring-framework-reference/htmlsingle/
https://www.youtube.com/watch?v=3zOZvencaew
Spring MVC
https://www.youtube.com/watch?v=gwdISLtlWic
http://spring.io/guides/gs/securing-web/

Spring template tiles tutorial
http://richardbarabe.wordpress.com/2014/02/02/apache-tiles-3-integration-with-spring-mvc/
http://www.springbyexample.org/examples/simple-tiles-spring-mvc-webapp-jsp-example.html

Spring MVC framework tiles for temlate views
http://dhruvgairola.blogspot.de/2013/03/spring-mvc-with-apache-tiles-3.html
Download different version of tiles jar from
 http://www.apache.org/dyn/closer.cgi/tiles/v3.0.4/tiles-3.0.4-bin.zip

spring hibernet,mysql example
http://www.developer.am/documentation/hibernate/?page=maven-spring-hibernate-mysql-example

http://www.developer.am/documentation/hibernate/?page=why-i-choose-hibernate-for-my-project

http://gerrydevstory.com/2013/06/29/spring-mvc-hibernate-mysql-quick-start-from-scratch/
https://www.youtube.com/watch?v=rdYQOqxq9F0

http://hibernate.org/orm/documentation/getting-started/

Jar download
http://www.java2s.com/Code/Jar/o/Downloadorgspringframeworkorm312RELEASEjar.htm


Links used during app development

Spring MVC-Hibernate error: BasicDataSource is not found

http://stackoverflow.com/questions/16329092/spring-mvc-hibernate-error-basicdatasource-is-not-found

http://viralpatel.net/blogs/spring3-mvc-hibernate-maven-tutorial-eclipse-example/

http://www.mkyong.com/hibernate/hibernate-transaction-handle-example/

http://stackoverflow.com/questions/19414734/understanding-spring-autowired-usage


http://www.dineshonjava.com/2012/12/spring-mvc-with-hibernate-crud-example.html#.VBLU-PmSySo





Saturday, August 9, 2014

Play framework 2.3.x scala template

http://www.playframework.com/documentation/2.1.0/ScalaTemplateUseCases

Ways of defining scala templating syntax
http://stackoverflow.com/questions/10624983/include-scala-html-files-in-play-2-0-scala

Error : Compilation error
Unclosed character literal link to css
<link rel="stylesheet" href="@routes.Assets.at('stylesheets/main.css')">

It was because I used single quote at'stylesheets/main.css' because java expects a character within single quote so solution is

<link rel="stylesheet" href="@routes.Assets.at("stylesheets/main.css")">

About Form sumbmission
http://www.playframework.com/documentation/2.1.1/JavaForms

Routes syntax
https://www.playframework.com/documentation/2.2.x/JavaRouting

Using gson
http://www.mkyong.com/java/how-do-convert-java-object-to-from-json-format-gson-api/

Godaddy + Heroku + java + scala + play framework 2.3.x deployment