tags:

views:

29

answers:

1

how to call a applet in spring control class?

+1  A: 

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.

Bozho