spring cloud config
Written by Mottola Michele - Italy - Reggio Emilia   
Wednesday, 03 May 2023 15:41
AddThis Social Bookmark Button

target

My main target here is to show how spring cloud config work with a real example

what is spring cloud config

As you know, spring cloud has many projects (modules) and spring cloud config is one of these.
His target is to help the programmer to build a server that work as configuration server and also to let the clients to get the configuration from the server.
No one force you to use spring cloud config to build this kind of stuff, but if you use it, you will save a lot of time, because, as we are going to see, with spring cloud is very simple build what i said.

Last Updated on Wednesday, 03 May 2023 16:28
 
Quick Sort algorithm with Java and R
Written by Mottola Michele - Italy - Reggio Emilia   
Wednesday, 04 July 2018 06:45
AddThis Social Bookmark Button

Algorithm description

Quick description

Quick sort is an algorithm to sort elements (we will use a vector)

In short, the procedure for sorting is done in this way: i take a vector's element (the pivot) (for example the first element of the vector) and then i move the pivot and all the elements, with value less than the value of pivot, at left of the pivot and all the elements, with value more hight, to the right of the pivot.

Last Updated on Wednesday, 04 July 2018 07:08
 
SAX xml parser and Java
Written by Mottola Michele - Italy - Reggio Emilia   
Monday, 22 August 2016 07:37
AddThis Social Bookmark Button

Summary

In this article i want to show
- an introduction to sax
- a simple use case that dimostrate the basic functionality of SAX
- how to validate an xml document with SAX
- how to use the filters

Last Updated on Tuesday, 23 August 2016 10:16
 
JAXB: binding java with xml
Written by Mottola Michele - Italy - Reggio Emilia   
Thursday, 21 July 2016 11:44
AddThis Social Bookmark Button

JAXB allow binding between java objects and xml instance.
Basically with JAXB you can do 'marshall' and 'unmarshall' operations.

Marshall means the process of conversion from java objects to xml instance. With unmarshall means the opposite.

Marshall example

To start with marshalling we need at least our domain class. Suppose we have a city with many person and i want to have an xml file with a root element city wich contains more element of kind people. To do that we need one object of type city wich contains a collection of person objects

Last Updated on Saturday, 30 July 2016 14:48
 
<< Start < Prev 1 2 3 4 5 Next > End >>

Page 1 of 5