Communication between Jetty webserver and SFS extension.

Post here your questions about Actionscript and Java server side extensions development.

Moderators: Lapo, Bax

Post Reply
GrinReaper
Posts: 43
Joined: 06 Aug 2012, 09:48

Communication between Jetty webserver and SFS extension.

Post by GrinReaper »

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.
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Communication between Jetty webserver and SFS extension.

Post by rjgtav »

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
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.
Post Reply