The creator is used like so:
Yes, that??™s truly it! No filters to configure, no extra converters to add, just use the pageflow
creator, and you??™re good to go.
CHAPTER 3 n ADVANCED DWR 121
Hibernate
Now we come to the bookend of this section in integration: Hibernate (bookend in the sense
that we began with Spring, which is ostensibly not a web application framework, although it
does contain components of one, then we tackled a number of web application frameworks
and the support DWR offers for them, and now we end with another non-web application
framework, Hibernate).
The key to using the Hibernate support in DWR is to ensure that your Hibernate configuration
works independently of DWR (which is generally outside the scope of this book,
although in a later chapter we??™ll in fact get into it a little bit). Hibernate is a great piece of technology,
but it can sometimes be a little tricky to get working how you want, so if you don??™t have
everything working properly with it alone before you introduce DWR into the mix, you??™re in for
a lot of headaches.
DWR introduces two new converters for using Hibernate, and they are the very
creatively named hibernate2 and hibernate3 converters (in earlier versions
of DWR, there was a single hibernate converter that worked for both Hibernate 2 and 3,
but in later versions there are two, and the latter is the situation we??™ll be dealing with in this
book).
Pages:
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250