File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Application Frameworks and the fly likes Component design in spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Component design in spring" Watch "Component design in spring" New topic

Component design in spring

Ashutosh kumar singh

Joined: Feb 27, 2008
Posts: 26
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.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

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.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Ashutosh kumar singh

Joined: Feb 27, 2008
Posts: 26
I agree. Here's the link:
subject: Component design in spring
It's not a secret anymore!