Why no section for smartfox2x server api.

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

ratanaly
Posts: 1
Joined: 16 Feb 2020, 07:01

Why no section for smartfox2x server api.

Postby ratanaly » 16 Feb 2020, 08:46

I am new to smartfox2x.

i want to build java ee servlet api build as war in run on smartfox2x server.

i got problem during developement. do i need each time to test my function to export as war on put in smartfox server2x.

any way that i can test from ide like eclipe or netbean ???

i really need both extention login and extension api

Thank!!!
User avatar
Lapo
Site Admin
Posts: 23026
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Why no section for smartfox2x server api.

Postby Lapo » 17 Feb 2020, 08:26

Hi,
yes you should be able to test locally in your IDE. For example Netbeans should have a local servlet container that allows you to test your code directly. Once you're satisfied you can move the .war file to SmartFoxServer.

The only limitation is that if you need to invoke any of the SFS server API then the local Netbeans testing won't work.
If this is the case it should be relatively easy to configure either Netbeans or Eclipse to deploy the .war file under the correct path of your local SmartFoxServer. This way it should be equally easy to test your work.

Hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Stevenor and 97 guests