Showing posts with label Spring. Show all posts
Showing posts with label Spring. Show all posts

Tuesday, 26 May 2015

Online Course: Getting Started with Spring Data JPA

Going through this course on spring data jpa today, did not realise how powerful spring data jpa is and how much less work i could have saved in the past if only i took this course earlier. The query DSL (query methods with keywords) are fantastic, the paging and sorting as well as the auditing are all something which have troubled me when using spring jpa in the past. But the course makes it very easy to understand.

Link: http://www.pluralsight.com/courses/spring-data-jpa-getting-started

Wednesday, 20 May 2015

Online Course: Spring Security Fundamental

Just completes this course. Very nice introductory course for spring security, talks about role and permission based authentication and authorization as well as various login mechanism (default, http-basics, form-login) and other cool features such as permission evaluator, ldap server, https channels.

Link: http://www.pluralsight.com/courses/spring-security-fundamentals

Notes: For some reasons the <form-login> section described in the course does not work with the latest spring security 4.0.1.RELEASE:

Firstly for the example in the course to work with spring security 4.0.1.RELEASE, use-expressions="false" must be included in the <http auto-config="true"> in the security-config.xml for the <intercept-url> which does not use expressions (it seems that spring security 4.0.1.RELEASE <http auto-config="true"> has default use-expressions="true")

Secondly, j_spring_security_check does not work with spring security 4.0.1. RELEASE, it always bounced back to the same login pages and j_spring_security_check issues 302 error messages, furthermore, the latest spring security has the csrf default to true in the <http>.

The examples in the course worked after I switch to spring security 3.2.6.RELEASE instead.

Monday, 18 May 2015

Online Course: Spring with JPA and Hibernate

Just completed the exercise for this course, very good and easy-to-understand on how to persist data in spring framework using hibernate, jpa and jdbc mysql.

Link: http://www.pluralsight.com/courses/spring-jpa-hibernate

Sunday, 17 May 2015

Sunday, 10 May 2015

Online Course: Spring Fundamental

Go through this course to refresh my understanding of spring's fundamental concepts such as java or xml configuration, annotation, autowire, scope, IoC and DI. Very efficient way of getting a quick look as picking up and reading a spring book always made me dose off.

Link: http://www.pluralsight.com/courses/spring-fundamentals