Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Component design in spring

 
Ashutosh kumar singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to spring help document, there is mention that we can design component based application. If any body have idea or example then help me ASAP.

My confusion is that how i dovelop component inside spring framework.

If any example then you can me mail also because there is not a single component example available on site.

ashutosh.singh@prospectasoftware.com
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you might be misunderstanding what Component means, because every example out there on Spring is components. Meaning your Java class is a component. So if you have a Java class you have a component. Component based just means each Java class is a POJO, a simple Java object, nothing more. No extending a special technology class to make it an EJB Session Bean, no throwing RemoteException because you want your class to work in RMI, etc.

Then in Spring you just tell Spring your components in either xml or using Annotations.

Mark
 
Ashutosh kumar singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic