
Therefore you can find Pojo in place of bean classes at many places. In other words Bean class is also referred as Pojo which is Plain Old Java Object. Ĭreate a new class in your application that acts as Bean class (containing getter, setter methods, Constructors and toString() method).

However you can use these dependencies in your application keeping in mind that their version should be same else it will throw an error.

Similarly I have added these dependencies in our project. Now click Next and then select “maven-archtype-quickstart” as Artifact IdĪfter that just enter Group Id and Artifact Id (which is Name of your project)Īfter entering all the details click on finish and your project will be created.įor our basic application, we need to add two dependencies which are basically “Spring Core” and “Spring Context” in the pom.xml file inside the tag.įor instance,You can search over the web where you can find the code to add dependencies.

Go to File menu – New – Other – Search for “Maven”.
