Submitted by heartin on Fri, 09/09/2016 - 01:13
These are additional exercises you can try out once after learning and practicing all the previous exercises in this section. There will be also hints to make things easier.
Provide examples for autowire for type and autowire by constructor.
Rewrite the following programming using annotations and java configuration: http://javajee.com/autowiring-in-spring-through-xml-configuration-example.
Submitted by heartin on Tue, 09/06/2016 - 20:15
Traditionally Spring applications were configured using only xml configurations. Later annotations such as @Component came and complemented the xml configuration. However later XML configurations were completely replaced by Java configurations that use annotations such as @Bean.
In xml configuration, you use xml to configure beans.
We can load an xml configuration file from a standalone application as: [node:read-more:link]
Submitted by heartin on Tue, 07/05/2016 - 21:03
Below JAX-RS annotations aid in mapping a resource class (a POJO) as a web resource:
Submitted by heartin on Tue, 07/05/2016 - 20:28
REST follows resource oriented architecture as opposed to the popular service oriented architecture followed by SOAP web services.
Resource-Oriented Architecture has four important concepts:
Submitted by heartin on Sun, 07/03/2016 - 21:57
Java is one of the most popular programming languages. However, recently many other programming languages have come and some of them even running on top of the Java Virtual Machine (JVM). Many of these languages support newer programming practices like functional programming and comes with a bunch of out of the box functionalities that abstract away most of the low level details from the programmer.