Is there any way to communicate between a webapp deployed on the embedded Jetty server and the SFS extension?
For example, if an external message were sent to the webapp, could the webapp somehow pass that message on to the extension and call a method of the extension?
Please, let me know whether or not there is a way to do it.
Communication between Jetty webserver and SFS extension.
-
GrinReaper
- Posts: 43
- Joined: 06 Aug 2012, 09:48
Re: Communication between Jetty webserver and SFS extension.
Hello,
Yes there is, if you create a simple servlet and deploy it on Jetty you can then call the SFS API.
Unfortunately I've never tried creating a servlet myself and integrating it with SFS, but on the forums you'll find some resources if you search for "servlet".
I've found these topics which may shed some light on the topic:
http://forums.smartfoxserver.com/viewto ... let#p28189
http://forums.smartfoxserver.com/viewto ... let#p27919
And also check the documentation at:
http://www.smartfoxserver.com/docs/1x/d ... bility.htm
Hope this helps
Yes there is, if you create a simple servlet and deploy it on Jetty you can then call the SFS API.
Unfortunately I've never tried creating a servlet myself and integrating it with SFS, but on the forums you'll find some resources if you search for "servlet".
I've found these topics which may shed some light on the topic:
http://forums.smartfoxserver.com/viewto ... let#p28189
http://forums.smartfoxserver.com/viewto ... let#p27919
And also check the documentation at:
http://www.smartfoxserver.com/docs/1x/d ... bility.htm
Hope this helps
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.