All Projects → genedelisa → spring-mvc3-javaconfig

genedelisa / spring-mvc3-javaconfig

Licence: other
A Java Spring MVC 3 app configured without XML. Also uses Servlet 3 API to bypass web.xml

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to spring-mvc3-javaconfig

spec
Just Data. Save up to 85% network bandwidth and storage.
Stars: ✭ 86 (+273.91%)
Mutual labels:  xml
synapse
Apache Synapse is a lightweight and high-performance Enterprise Service Bus (ESB)
Stars: ✭ 43 (+86.96%)
Mutual labels:  xml
xmlresolver
The xmlresolver project provides an advanced implementation of the SAX EntityResolver (and extended EntityResolver2), the Transformer URIResolver, the DOM LSResourceResolver, the StAX XMLResolver, and a new NamespaceResolver. It uses the OASIS XML Catalogs V1.1 Standard to provide a mapping from external identifiers and URIs to local resources.
Stars: ✭ 31 (+34.78%)
Mutual labels:  xml
pyEDAA.IPXACT
An IP-XACT DOM for IEEE 1685-2014 in Python.
Stars: ✭ 13 (-43.48%)
Mutual labels:  xml
vscode-odoo-snippets
Develop Odoo modules faster and with no Typing Errors.
Stars: ✭ 20 (-13.04%)
Mutual labels:  xml
SNAP
Easy data format saving and loading for GameMaker Studio 2.3.2
Stars: ✭ 49 (+113.04%)
Mutual labels:  xml
QSerializer
This repo for Qt/C++ serialization objects in JSON or XML based on QtCore
Stars: ✭ 33 (+43.48%)
Mutual labels:  xml
edireader
EDIReader is a flexible and lightweight EDI parser, written in pure Java with many integration options. It has handled millions of transactions in a wide variety of products, services, industries, platforms, and custom integrations. Available as the open source Community Edition and the Premium Edition with added-value modules.
Stars: ✭ 80 (+247.83%)
Mutual labels:  xml
libcitygml
C++ Library for CityGML Parsing and Visualization
Stars: ✭ 69 (+200%)
Mutual labels:  xml
python-sepaxml
SEPA Direct Debit XML generation in python
Stars: ✭ 71 (+208.7%)
Mutual labels:  xml
sitewriter
A rust library to generate sitemaps.
Stars: ✭ 18 (-21.74%)
Mutual labels:  xml
datamaker
Data generator command-line tool and library. Create JSON, CSV, XML data from templates.
Stars: ✭ 23 (+0%)
Mutual labels:  xml
XPathTools
A Visual Studio Extension which can run any XPath and XPath function; navigates through results at the click of a button. Can show and copy any XPath incl. XML namespaces, avoiding XML namespace induced headaches. Keeps track of the current XPath via the statusbar.
Stars: ✭ 40 (+73.91%)
Mutual labels:  xml
vxquery
Mirror of Apache VXQuery
Stars: ✭ 19 (-17.39%)
Mutual labels:  xml
overpass-api-ruby
A Ruby wrapper for OpenStreetMap Overpass API
Stars: ✭ 22 (-4.35%)
Mutual labels:  xml
web-mode-edit-element
Helper-functions for attribute- and element-handling
Stars: ✭ 18 (-21.74%)
Mutual labels:  xml
config-loader
Simple C++ Config Loader Framework(Serialization & Reflection)
Stars: ✭ 87 (+278.26%)
Mutual labels:  xml
magic-api-spring-boot-starter
magic-api的spring-boot-starter版本
Stars: ✭ 30 (+30.43%)
Mutual labels:  xml
trx2junit
Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML and the other way round
Stars: ✭ 42 (+82.61%)
Mutual labels:  xml
laravel-xml-middleware
A Laravel Middleware to accept XML requests
Stars: ✭ 17 (-26.09%)
Mutual labels:  xml

Spring @MVC 3.1 Java config

This is a simple example that uses Spring's Java configuration instead of XML. This example is explained in my blog post.

This is a fake login app. In real life you'd probably use Spring Security instead.

There is a service and data access layer, but the repository is just a hard coded stub. It would be simple to modify this to use Spring Data. (See next blog...)

The JSP pages are written in HTML5. The pages use [Twitter Bootstrap] (http://twitter.github.com/bootstrap/) for layout and CSS styling. Take a look at the login form and you won't see the typical table tags used for layout. For compatibility with older browsers, Modernizr is used.

This project also uses the Servlet 3.0 ability to replace web.xml

Maven

The pom.xml requires Maven 3. Some dependencies/plugins aren't needed in this project (e.g. the persistence libraries) but are there for easy migration.

You can run the project with Jetty. The Tomcat 7 plugin is a bit flaky, but the "real" Tomcat 7 works fine.

mvn jetty:run

The site plugin with several reporting plugins is also configured. Take a look at src/site.

mvn site

Resources

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].