[Glass] Starting Seaside block the develpment environment

James Foster james.foster at gemtalksystems.com
Sun Nov 3 14:04:02 PST 2013


Hi Bruno,

You are experiencing a limitation of GemStone’s interaction process. Specifically, code only runs in GemStone when the client has sent a command to the server and is waiting for a response. Once a response is received, then control is back on the client. Think of it as a ping-pong ball that is passing back and forth across a net between two players. The ball is either on the client or on the server, and to do something you have to have the ball. 

This is different from the typical client Smalltalk environment (e.g., Pharo) where you can fork a process and it keeps running while your UI is still active.

In GemStone the right thing to do would be to use two sessions. One running the background process (the web server) and another to do your development. While it might be possible to log in two sessions with Jade, I’d suggest that you just go ahead an launch Jade twice (two OS processes), and rely on commits in one to make things visible in the other.

James

On Nov 3, 2013, at 6:25 PM, BrunoBB <smalltalk at adinet.com.uy> wrote:

> Hi,
> 
> Why starting Seaside block my development environment ?
> 
> I'm using Jade but the same happens with Topaz.
> 
> If i evaluate in a workspace:
> WAGsSwazooAdaptor startOn: 8888.
> 
> My development environment hangs. If i close the "Hard Break - SoftBreak"
> window the i can use the DE again.
> 
> [WAGsSwazooAdaptor startOn: 8888.] forkAt: xx. Does not work either.
> 
> The following links have usefull information but after read it i can not run
> Seaside without blocking the Jade environment. The same with Topaz i can run
> Seaside from topaz after that i can not use Topaz anymore. Ctrl + C free
> topaz but shutdown seaside.
> 
> Which is the best way to run Seaside without blocking the develpment
> environment ?
> 
> https://code.google.com/p/glassdb/wiki/ControllingSeaside30Gems
> http://forum.world.st/Starting-Swazoo-from-GemTools-td3649293.html#a3650200
> http://gemstonesoup.wordpress.com/2009/04/15/glass-beta-update-working-with-soap-preview/#GsProcesses
> 
> Regards,
> Bruno
> 
> 
> 
> --
> View this message in context: http://forum.world.st/Starting-Seaside-block-the-develpment-environment-tp4718950.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> Glass at lists.gemtalksystems.com
> http://lists.gemtalksystems.com/mailman/listinfo/glass



More information about the Glass mailing list