Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.

Paste

Pasted as Java by Naresh ( 12 years ago )
package org.gontuseries.springcore;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class TestSpringProject {

 public static void main(String[] args) {
  
   ApplicationContext c ClassPathXmlApplicationContext("SpringConfig.xml");
  Restaruant restaruantObj = (Restaruant) context.getBean("restaruantBean");
  restaruantObj.greetCustomer();
 }
}

 

Revise this Paste

Your Name: Code Language: