my dog learned polymorphism*
The moose likes Spring and the fly likes If Someone Would Help Me to Understand a Spring Configuration Snippet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "If Someone Would Help Me to Understand a Spring Configuration Snippet" Watch "If Someone Would Help Me to Understand a Spring Configuration Snippet" New topic
Author

If Someone Would Help Me to Understand a Spring Configuration Snippet

Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
I have done some reading about the Spring. However, it is still difficult for me to be proficient in reading Spring configuration that is alreday written. Here is a code snippet:

What does this code snippet tell? It seems to me that

1. Inside the <list> tag, there are two types of transformations to be done; one is to convert XML files to other kind of XML files using XSL, and the other is to transform XML files using JAXB.
2. To do the first type of transformation using XSL, what does mean? Must the "transformerFactory" exist somewhere?
3. What is the role of in this XML to XML transformation? Does it supply something to be transformed?
4. To do the second type of transformation using JAXB, what does mean? Does it supply something to be transformed? Why is used?
5. Outside the <list> tag, there is . How is the "transformers" to be used? I think when we want to do transformations, we should use the "inboundBatchTransformer" of the . What do we need the "transformers" for?

Thank you very much.

Nicky Eng
Ranch Hand

Joined: Mar 26, 2005
Posts: 378
maybe you might wanna read this

The IoC container Spring


From NickyEng
Diploma in Computer Studies
SCJP 1.4
SCWCD 1.4
Formula 1 app by Maxis (Playbook)
Natalie Kopple
Ranch Hand

Joined: May 06, 2003
Posts: 325
Thanks for the link thay you provided. Now, the Spring configuration file makes more sense to me.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: If Someone Would Help Me to Understand a Spring Configuration Snippet