call applet in spring class
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 instantiatingClassPathXmlApplicationContext
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.
精彩评论