Building the Release Definition
The Release definition in VSTS allows you to define the steps needed to be taken to deploy a build of your application to your deployment environments. On the Releases tab of your project you click on...
View ArticleAdding The People By Location Controller
Now that we have the main landing page of the application created it is time to build our next page. To start the process of I have gone to VSTS and dragged the ‘See All Staff In A Single Location’...
View ArticleAdding Locations Data To The UI
Now that we have our demo data and we have confirmed that it exists when we start the application it is time to add it to the Thymeleaf based UI. First we need to add it to the data model that is used...
View ArticleChecking Your Demo Data
Now that we have the demo data how do we know that it is actually working and getting in to the database. It would be rather pointless trying to add the data to the UI if there is no data to add. If...
View ArticleAdding Some Demo Data
Before we can start displaying data in our application we need to add some demo data. You could point the data source to be an external persistent data source that contains test data instead of using...
View ArticleAdding Bootstrap To The Frontend
Web applications need more than just html. You also need CSS, JavaScript, Images maybe even Fonts. All of these can be added to the resources/static folder in your SpringBoot application. Here I have...
View ArticleStarting The Frontend
For the frontend we are going to be using Thymeleaf. When you add Thymeleaf to your project using the spring-boot-thymeleaf-starter you will get support for both Thymeleaf V2.x and Thymeleaf V3.x. By...
View ArticleControlling The Frontend
Before we can start building our frontend we need to tell our Spring Boot application how to handle the incoming requests and what html page to display. This is done using Spring MVC which we added...
View ArticleExtending Your Entity Repositories
Now that the basic CRUD interface is working it would be nice if we could extend the interface to make it even more useful. What if we wanted to return a list of all the locations in a particular state...
View ArticleThats just a load of CRUD
CRUD stands for Create, Read, Update and Delete which are probably the most basic of things that you can do to a piece of data. Spring Boot gives you a very easy way to setup an interface between your...
View ArticleGetting To The Java Roots of XPages – Part 14
Adding additional methods to an existing class by extending it is not the only thing that you can do with Extends. You can also override existing methods in the extended class. In our StaffInfo class...
View ArticleGetting To The Java Roots of XPages – Part 13
In todays part I’m going to talk about Extending a class in Java. The concept is very simple, There is an existing class that does 90% of what you need it to do but your application needs some extra...
View ArticleGetting To The Java Roots of XPages – Part 12
So following on from the last part I now have two packages in the scary.java.demo package, StaffInfo and AboutMe. Both of these classes do pretty much the exact same thing, AboutMe goes to the nab and...
View ArticleGetting To The Java Roots of XPages – Part 11
So far I’ve been dealing with a very simple class which just gets the current users information from the NAB, While this is useful wouldn’t it be better if I could get this info for any staff member?...
View ArticleGetting To The Java Roots of XPages – Part 10
If I wanted to add some more methods to my class to get additional details it could be as easy as duplicating the code I already have and end up with something like this for each method. public String...
View ArticleGetting To The Java Roots of XPages – Part 9
In the last part we looked at recycling domino handles in java but I mentioned that the class has some other serious issues. The biggest problem that I see now is that every time the...
View ArticleGetting To The Java Roots of XPages – Part 8
Anybody who already knows java probably took a look at the java class that I created in the previous parts and saw all kinds of mistakes. This was done on purpose. If I had of shown a bigger java class...
View ArticleGetting To The Java Roots of XPages – Part 7
In the last part we setup our bean as an unmanaged bean by creating a DataContext and creating the bean in there. To make things even easier you can create what is known as a managed bean. Basically...
View ArticleGetting To The Java Roots of XPages – Part 6
So we now have a java class that can be used as a bean. From a java point of view it is still just a java class, the bean bit comes into play over on the xpage side of things. You may have heard of...
View ArticleGetting To The Java Roots of XPages – Part 5
So in the last part we looked at how to call our new java class from ssjs but that still introduces a tiny bit of overhead as the ssjs interpreter is called to kick off the java code. To avoid using...
View Article