How to create bean without XML configuration in Spring / How to create bean in Spring using Annotations
2016-11-11
Create a class which you want to get as a bean, say a user and annotate it with @Configuration as:Read More →
Create a class which you want to get as a bean, say a user and annotate it with @Configuration as:Read More →
XML stands for eXtended Markup Language and is a widely used standard for transmitting information across systems mainly due to the flexibility it provides in creating the structure and data it can contain. That is, application developers can create their own structure which suits their application as there are no pre-defined tags in XML. Scenario Since it is a widely used standard, there arises a vital requirement to create an XML document either in the form of a String or a physical file from java application. Practical scenario isRead More →