This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "Component design in spring" Watch "Component design in spring" New topic
Author

Component design in spring

Ashutosh kumar singh
Greenhorn

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.

ashutosh.singh@prospectasoftware.com
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Ashutosh kumar singh
Greenhorn

Joined: Feb 27, 2008
Posts: 26
thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Component design in spring
 
Similar Threads
Implemention of spring features without using spring.
Integrating Struts with springs
org.springframework.ws.client.WebServiceTransportException: Method Not Allowed [405]
Inversion of Control:question
Architecture design using using struts + Spring + hibernate