Tuesday, October 29, 2019
Java Spring MVC Programming Introduction Essay Example | Topics and Well Written Essays - 1000 words
Java Spring MVC Programming Introduction - Essay Example This module of the spring framework supports all popular data access frameworks in Java: oracle, JDBC, oracle toplink, Apache OJB, JPA, JDO, Hibernate, Apache Cayenne etc. For all the supported frameworks, spring provides Resource management, Exception handling, Transaction participation, Resource unwrapping, Abstraction The transaction management module brings a mechanism of abstraction to the Java platform with the following capabilities: ability to work with nested transactions, ability to work with savepoints, ability to work on local and global transactions, ability to work on almost all Java platform environments. It provides a first class support which is used for the purpose of testing spring MVC apps without a servlet container and with a fluent API. Tests on the server side use the DispatcherServlet while tests on the client side make use of the RestTemplate. This class has a @ExceptionHandler method which is used to handle standard spring MVC exceptions and return a ResponseEntity that allows customization and writing of responses with HTTP message converters. The structural elements of a spring application contains various elements which include introduction page, A page controller, A unit test class for the page controller (Risberg, et al., 2009), A view page and the DispatcherServlet (this is known as the Front Controller and is used by the web server based on the configuration on in
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.