A library to serve remote content as Spring Resources
- The hibernate-maven-plugin is a plugin for generating a database-schema
- from your Hibernate-Mappings and create or update your database
- accordingly.
- Its main usage is to automatically create and populate a test-database
- for unit-tests in cooperation with the
- dbunit-maven-plugin.
+ In theory, Spring can deal with remote resources out of the box.
+ Spring Resources
+ come with a build-in handler for remote resources
+ (UrlResource).
+ But the implementation is only a simple wrapper around java.net.URL and does not
+ address more sophisticated use-cases, that need efficient cached access to remote resources.
- The plugin was designed with three main goals in mind:
-
-
-
-
-
It should be easy to use.
-
-
It should be maximal unlikely, to erase a producation-database by accident.
-
-
It should not slow down the development cycle.
-
-
-
- To achieve the first goal, the convention-over-configuration paradigma
- was applied and the plugin was stuffed with usefull logging-messages.
- So, if in doubt, just turn on the debugging output with the mvn -X ....
+ This project aims to fill this gap.
+ It was developed as part of a project, that hat to separate the
+ development of the server-side logic from the process of the draft and
+ creation of the web user interface.
+ As we belive, that this is a very common requirement, we decided to
+ reveal our solution as open source.
- To achieve the second goal, the precedence in which the configuration
- locations are consulted was layouted in a way that makes it possible, to
- prevent overwrites of the wrong database by accident.
+ http-resources was developed alongside with a
+ cooperating project called thymeproxy,
+ that adds tooling to fetch all templates and resources, that are
+ needed to render content with
+ Thymeleaf.
- Last but not least, in order to not slow down the development cycle, the
- hibernate-maven-plugin only executes the generated SQL, if the mapping
- or the configuration has changed (or if you force it to do so).
+ Find out how you can use http-resources in your
+ project: Getting Started
- See Configuration Examples for Usage-Explanations
- and simple examples of how to use this plugin.
-
-
-
- See hibernate:create,
- See hibernate:drop and
- Plugin Documentation for the full
- autogenerated documentation. These are mostly configuration-options
- from the Hibernate-Tooling, that does the work in the background.
-