请问Jfianl中有没有可能进行Spring的远程调用?
认证服务器使用Spring。然后子系统需要通过认证服务器进行认证?类似实现下面的功能:
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("app-client.xml"); MyService service = (MyService) applicationContext.getBean("myService"); List<OrgUnitBean> units = service.getTopOrgUnitList(); String token = service.login("user", "pwd");
感觉重点在这个包里:
import org.springframework.context.support.ClassPathXmlApplicationContext;
项目:JFinal