Back Forum Reply New

SPring difference in using bean id and bean name in configuration file

Hi , please tell me if is there any difference in using bean id and bean name in configuration filesThanks in advance .

I suggest you read the reference guide. It explains it quite clearly.

Basically they are almost the same, however ID is limited by the xml specification as it is an XML keywork. NAME isn't and can also include characters which wouldn't be allowed in an ID field. Name can also contain a list of names.

Thank you Marten
¥
Back Forum Reply New