Re: [xwt-users] Sample Code
Charles Goodwin <[email protected]>
| Newsgroups | gmane.comp.java.xwt.users |
|---|---|
| Message-ID | <308906BE5D07D5119285009027D61C5722F80E@NTFPS1> |
> Can any one help me with a sample code to access COM components from XWT. Unfortunately not, Arvin. XWT is not designed to access COM components. You are better off having your server code accessing the COM components and XWT talking through xmlrpc to your server code. Think of XWT as the GUI _only_ and not anything else. If you want to do some complex processing or access the details of a machine, that's the job of the 'Application Server', not 'UI Client'. The idea being, that you can then access the 'UI Client' from anywhere whilst the 'Application Server' does all the hard work. XWT abstracts the UI from an application. That's XWT's purpose. What were you hoping to acheive through direct COM access? Perhaps if you were to elaborate on your goals then we could better answer your queries? - Charlie