Data Binding with Spring Framework
How to Program with Java Podcast - En podkast av Trevor Page: Java Guru | Programmer | Teacher
Kategorier:
So, the Spring framework is a wonderful help for programmers, but sometimes it needs a bit of help. It does a good job of trying to match fields on a webpage to Java objects (aka Java Beans), but sometimes when the "mapping" is complex, Spring needs our help. In this episode I will explain exactly how you can go about something known as "custom binding". This process allows you to take any text from the presentation layer and convert/bind it to the appropriate Java object (Java Bean) on the server side.