Results 1 to 1 of 1
- 10-04-2007, 09:24 PM #1
Why Resources are needed in Spring FrameWork
To access low-level resources java provides java.net.URL interface that is not adequate So There was need for some new technique like access a resource that needs to be obtained from class path, or relative to a ServletContext. So there are Built-in Resource implementations like URL Resource, classpath resource, FileSystemResource etc to fulfill particular purpose For Example the Following Code is used to Represents a classpath resource:
Java Code:Resource res = new ClassPathResource("RmiSampleService.xml"); BeanFactory factory = new XmlBeanFactory(res);
Similar Threads
-
Why Resources are needed in Spring FrameWork
By Java Tip in forum Spring FrameworkReplies: 0Last Post: 04-02-2008, 10:40 AM -
What is RMI concept in Spring Framework
By Java Tip in forum Spring FrameworkReplies: 0Last Post: 04-02-2008, 10:36 AM -
What is use of NamedParameterJdbcTemplate in Spring Framework
By Java Tip in forum Java TipReplies: 0Last Post: 04-01-2008, 10:39 AM -
What is RmiServiceExporter in Spring framework
By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 09:21 PM -
What is RMI concept in Spring Framework
By JavaBean in forum Java TipReplies: 0Last Post: 10-04-2007, 09:21 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks