Samer Abdelkafi Blog

Blog about DEV for Dev.

  • Angular Routing with sticky state

    Angular Routing with sticky state

    Routing is one of the basics of SPA (Single Page Application) development. It seams simple and easy in first approach when you reading or viewing some tutorials. But it could become very tricky and complexe in some real use cases. The aim of this article is to provide a solution to one of requirement that…

  • Liquibase in Spring Boot project

    Liquibase in Spring Boot project

    Spring Boot integrates Liquibase to initialize a database in very simple way. That makes it a default choice for many developers for data base initialization. In this article we provide an overview of some use cases of Liquibase. It could be used as a database initializer, SQL script generator, production database update and versioning.

  • Develop a web application with Angular2

    Develop a web application with Angular2

    Angular2 promises many improvements over the previous version. It’s simpler to learn thanks to easier and more concise concepts like component-based architecture. The Angular2 module system makes it easier to develop complex and larger projects. Angular2 is faster than its ancestor thanks to completely rewritten data binding and change detection.

  • Social login with Spring-Social

    Social login with Spring-Social

    Spring provides social API and implements it for most of famous social networking site like LinkedIn, Facebook and Twitter. This API integrates easily to a Spring security project to provide authentication using OAuth2 protocol. This post presents how to use Spring social to authenticate users for an Angular and Spring based project.

  • Secure AngularJs application with Spring Security

    Secure AngularJs application with Spring Security

    Most of JEE developers are aware of web applications security requirements and are familiar with security frameworks like Spring-Security. But when we have to secure a web application based on front-end framework like AngularJs, we will have to deal with some specific features and we will need to customize the server-side configuration. For example, some…

  • MapStruct

    MapStruct

    MapStruct is a serious alternative for Dozer bean mapping project. It’s a code generator which simplifies the implementation of mappings between Java bean types based on a convention over configuration approach. MapStruct solves some traditional mapping issues like a lack of performance, difficult mapping code debugging and late errors détection (usually in code execution). This…

  • Integrate Gulp on a Maven managed project

    Integrate Gulp on a Maven managed project

    Using front-end frameworks for a java web application like AngularJs and Bootstrap needs some caution to manage JavaScript and Css dependencies. There are two tools family for front-end libraries management. The Java ones like Wro4j and Jawr witch have the advantage to integrate easily to Java project management softs like maven and grails and don’t…

  • REST API documentation with Swagger, SpringMVC and AngularJS.

    REST API documentation with Swagger, SpringMVC and AngularJS.

    New front-end frameworks like AngularJS consume Rest API’s. As a result, we develop more Rest web services than SOAP ones. Unlike SOAP, REST doesn’t provide wsdl (Web Services Description Language) to provide a definition of how the webservice works. Well documented API make life easier for front-end developer and it is essential requirement for defining…

  • Dozer – Bean mapping

    Dozer – Bean mapping

    Mapping frameworks helps to structure beans mapping code and to avoid a mess of nonfunctional code all over the application classes. Dozer is commonly used mapping framework. It provides deferent beans mappings modes (XML, API and annotation). But if you have a complex beans mapping case, you may need to use Dozer API with a…

  • Deploy your application to OpenShift

    Deploy your application to OpenShift

    OpenShift provides free Tomcat application server hosting, which could be useful for hosting a demo application. Deploying a web application can be done in many ways. You can use Git to push application code on the server, or use an Openshift IDE plugin, or connect with an SSH connection to checkout your code, build your…

  • Chocolatey

    Chocolatey

    If you are a Windows OS user and you would like to install your favorite software without downloading and launching the installer, you will like Chocolatey. Chocolatey is a Machine Package Manager, somewhat like apt-get for linux OS, but built with Windows in mind.     You can find all about Chocolaty in this web page…

  • Develop a web application with AngularJS and Spring MVC

    Develop a web application with AngularJS and Spring MVC

    Nowadays customers have a rich web experience with Gmail, Google Apps, Facebook and Twitter. A basic server side rendered web pages doesn’t fit anymore to the new HMI (human-machine interface) needs. AngularJs is one of the most successful front-end frameworks for RIA (Rich Internet Application Development) development. AngularJs encourages the use of the Model-View-Controller (MVC)…

  • Beautify your Java web application with Bootstrap

    Beautify your Java web application with Bootstrap

    Bootstrap is one of the most popular front-end framework for developing responsive web design. It includes buttons, form inputs, links, columns, and tons of other pre-formatted page objects. The mixt of Bootstrap and Spring MVC gives a powerfull toolbox to develop a web application running in both desktop and mobile devices.     This post presents…

  • Spring MVC – Full java based config

    Spring MVC – Full java based config

    Spring MCV is a very powerful and flexible framework for web application development. It doesn’t just implement the MVC pattern, it allows you to develop Rest web services.     This post presents a web project sample with a full java configuration using Spring MVC 4 and Servlet 3 api. The source code is available in…

  • Spring-Data-JPA

    Spring-Data-JPA

    Implementing persistence layer may need some effort to configure and develop some DAO classes. Spring-Data-JPA framework can simplify the creation of JPA based repositories and to reduce the amount of code needed to communicate with a database     Photo credit Ivan Kmit This post is an introduction to Spring-Data-JPA. It describes, how you can configure…

Got any book recommendations?


Design a site like this with WordPress.com
Get started