Java - Spring framework - adding property file in application
1. Add the following code in applicationContext-config.xml 1 2 3 4 5 6 7 8 <bean id="myProperties" class="org.springframework.beans.factory.config.P...
1. Add the following code in applicationContext-config.xml 1 2 3 4 5 6 7 8 <bean id="myProperties" class="org.springframework.beans.factory.config.P...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 5...
1. Bower - create a file .bowerrc in C:\Users\userId directory. - content example 1 2 3 4 { "proxy":"http://user:pass@host:portId", "https-proxy":"http://u...
1 2 3 4 5 6 7 import javax.ws.rs.core.Response; Entity entity = service.getById(uuid); if(entity == null) { return Response.status(Response.S...
Useful commands 1 2 3 4 5 6 7 8 9 10 1. Prepare mvn release:prepare 2. Perform release mvn release:perform 3. Update develop version number mvn release...