开发者

call applet in spring class

开发者 https://www.devze.com 2023-01-04 12:53 出处:网络
how to ca开发者_运维问答ll a applet in spring control class?Spring is mostly used on server-side, and applets - on client side. So I\'d assume two scenarios:

how to ca开发者_运维问答ll a applet in spring control class?


Spring is mostly used on server-side, and applets - on client side. So I'd assume two scenarios:

  • you want to use spring in your applet - then simply ship the spring jars, the applicationContext.xml and start with instantiating ClassPathXmlApplicationContext for example.

  • you want to reuse functionality from an applet on the server side - in that case move that functionality to a helper class, and import it in both the applet and the spring beans.

0

精彩评论

暂无评论...
验证码 换一张
取 消