by Neil Olson | Apr 14, 2016 | Java, Spring Framework
Do you need to specify what namespace prefixes are used in your JAXB marshaled XML? For example, do you want to see <soap:envelope/> in the generated XML instead of <ns1:envelope/>? If so, this JAXB tutorial will walk you through those steps. If you are...
by Neil Olson | Feb 16, 2016 | Java, Spring Framework
JAXB Tutorial: How to Marshal and Unmarshal XML This JAXB tutorial describes how to use JAXB to marshal and unmarshal XML strings using either Spring or the standard javax.xml.bind interfaces. The samples below are using XML strings instead of files, but could easily...
by Jim White | Feb 3, 2014 | Java, Spring Framework, Web Development
Last week, I was just outside our nation’s capital teaching Spring Web MVC Framework to a wonderful group of people working for the National Institute of Health (NIH). They are getting ready to move a collection of Struts 1 projects to Spring Web MVC. Some...
by Jim White | Jan 17, 2014 | Java, Spring Framework, Web Development
How to use Spring’s WebApplicationInitializer The DispatcherServlet has always served as the doorway component or “front controller” in a Spring Framework Web MVC application. It’s job has been and still is to marshal requests to other...
by Jim White | Dec 26, 2013 | Java, Spring Framework
This post is part of my series on some of the new Spring 4 features. As of Spring 4, generic types can be used to determine what bean should be dependency injected (either by XML or annotation). Wiring By Generic Type An example can help clarify this new feature. ...