Most important Spring Framework annotations with examples


In the Spring Framework, annotations are regularly used to perform Spring core tasks like Inversion of Control (IoC) and Dependency Injection (DI). Before annotations were introduced in Java 5, the Spring Framework used XML files to manage Inversion of Control and Dependency Injection. Today, most Spring applications out there do this with annotations. Annotations are not […]

How to connect SourceTree 4 to your GitLab account


Today we’re going to connect our Gitlab account to SourceTree to be able to clone remote git repositories, make local changes and push them back to our VCS. Download SourceTree for your operating system from https://www.sourcetreeapp.com Continue to login to GitLab with your credentials.Click on your avatar in the upper right corner and select Settings. […]

JSP with JDBC connection to a MySQL database


Before we start with this example for connecting and reading data from a MySQL database, we assume that you already have a JSP/Servlet container like Apache Tomcat, Jetty etc. and a MySQL database installed on your computer. An easy to understand article about installing Apache Tomcat can be found in previous tutorials here on Librescript. […]

JavaScript unit testing with Jasmine


For this tutorial, we first need to install the latest version of Jasmine. We will use Jasmine 3.4 as a standalone version Download the latest version of Jasmine from https://jasmine.github.io and unpack the file in your workspace Alternatively, you can install Jasmine from the command line: #Global installation npm install -g jasmine #Local installation: npm […]