Windows service questions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Windows service questions

Carl Gundel-2
Hi,
 
Does a VA Smalltalk application running as a service need to be a headless application?
 
Can a VA Smalltalk application running as a service render graphics?  I ask this because a VW headless app cannot draw graphics, so I'm wondering if VA Smalltalk has similar restrictions.
 
Thanks,
 
-Carl Gundel
 

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

SebastianHC
Hi Carl,

you can package a headless application/image including widget classes...
I once needed to instantiate a widget in a headless server to access
business logic that was included in the controller class of a former fat
client implementation(" :-/ "). You simply do not open that widget....
just instantiate it with, I hope I remember right, "createPart".

Maybe it is also worth haaving a look at Totally Object's "Notification
Area (System Tray)". I had to tweak it a little though it really
minimizes properly.
But I think running this application as a service didn't work for me,
since I needed access to user related data.
Could perhaps work for you...

Sebastian

Am 04.09.2013 09:25, schrieb Carl Gundel:

> Hi,
> Does a VA Smalltalk application running as a service need to be a
> headless application?
> Can a VA Smalltalk application running as a service render graphics?  
> I ask this because a VW headless app cannot draw graphics, so I'm
> wondering if VA Smalltalk has similar restrictions.
> Thanks,
> -Carl Gundel
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [hidden email].
> To post to this group, send email to [hidden email].
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

Carl Gundel-2
Thanks Sebastian,
 
The application I want to make as a service is a print server.  It needs to be able to render report pages with text and graphics and send them to printers.
 
I'll have a look at the Totally Objects stuff.  :-)
 
-Carl

On Wednesday, September 4, 2013 12:54:30 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

you can package a headless application/image including widget classes...
I once needed to instantiate a widget in a headless server to access
business logic that was included in the controller class of a former fat
client implementation(" :-/ "). You simply do not open that widget....
just instantiate it with, I hope I remember right, "createPart".

Maybe it is also worth haaving a look at Totally Object's "Notification
Area (System Tray)". I had to tweak it a little though it really
minimizes properly.
But I think running this application as a service didn't work for me,
since I needed access to user related data.
Could perhaps work for you...

Sebastian

Am 04.09.2013 09:25, schrieb Carl Gundel:

> Hi,
> Does a VA Smalltalk application running as a service need to be a
> headless application?
> Can a VA Smalltalk application running as a service render graphics?  
> I ask this because a VW headless app cannot draw graphics, so I'm
> wondering if VA Smalltalk has similar restrictions.
> Thanks,
> -Carl Gundel
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="fjuE35inIaYJ">va-smalltalk...@googlegroups.com.
> To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="fjuE35inIaYJ">va-sma...@....
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

SebastianHC
Hi Carl,

what do you need the UI for in this case?

Sebastian

Am 04.09.2013 10:28, schrieb Carl Gundel:
Thanks Sebastian,
 
The application I want to make as a service is a print server.  It needs to be able to render report pages with text and graphics and send them to printers.
 
I'll have a look at the Totally Objects stuff.  :-)
 
-Carl

On Wednesday, September 4, 2013 12:54:30 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

you can package a headless application/image including widget classes...
I once needed to instantiate a widget in a headless server to access
business logic that was included in the controller class of a former fat
client implementation(" :-/ "). You simply do not open that widget....
just instantiate it with, I hope I remember right, "createPart".

Maybe it is also worth haaving a look at Totally Object's "Notification
Area (System Tray)". I had to tweak it a little though it really
minimizes properly.
But I think running this application as a service didn't work for me,
since I needed access to user related data.
Could perhaps work for you...

Sebastian

Am 04.09.2013 09:25, schrieb Carl Gundel:
> Hi,
> Does a VA Smalltalk application running as a service need to be a
> headless application?
> Can a VA Smalltalk application running as a service render graphics?  
> I ask this because a VW headless app cannot draw graphics, so I'm
> wondering if VA Smalltalk has similar restrictions.
> Thanks,
> -Carl Gundel
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="fjuE35inIaYJ">va-smalltalk...@googlegroups.com.
> To post to this group, send email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="fjuE35inIaYJ">va-sma...@....
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

Carl Gundel-2
I don't know if I do need a UI, but with VisualWorks if you don't have the UI stuff loaded then you cannot draw graphics.  So I wanted to make sure that VA wasn't similarly hampered.  I am thinking that an administration UI for this service might make a nice Seaside project.  I've done a bit of work with Seaside so that should be pretty easy.
 
-Carl

On Wednesday, September 4, 2013 1:37:57 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

what do you need the UI for in this case?

Sebastian

Am 04.09.2013 10:28, schrieb Carl Gundel:
Thanks Sebastian,
 
The application I want to make as a service is a print server.  It needs to be able to render report pages with text and graphics and send them to printers.
 
I'll have a look at the Totally Objects stuff.  :-)
 
-Carl

On Wednesday, September 4, 2013 12:54:30 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

you can package a headless application/image including widget classes...
I once needed to instantiate a widget in a headless server to access
business logic that was included in the controller class of a former fat
client implementation(" :-/ "). You simply do not open that widget....
just instantiate it with, I hope I remember right, "createPart".

Maybe it is also worth haaving a look at Totally Object's "Notification
Area (System Tray)". I had to tweak it a little though it really
minimizes properly.
But I think running this application as a service didn't work for me,
since I needed access to user related data.
Could perhaps work for you...

Sebastian

Am 04.09.2013 09:25, schrieb Carl Gundel:
> Hi,
> Does a VA Smalltalk application running as a service need to be a
> headless application?
> Can a VA Smalltalk application running as a service render graphics?  
> I ask this because a VW headless app cannot draw graphics, so I'm
> wondering if VA Smalltalk has similar restrictions.
> Thanks,
> -Carl Gundel
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to va-smalltalk...@googlegroups.com.
> To post to this group, send email to [hidden email].
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0c10R7kZ8vkJ">va-smalltalk...@googlegroups.com.
To post to this group, send email to <a href="javascript:" target="_blank" gdf-obfuscated-mailto="0c10R7kZ8vkJ">va-sma...@....
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

SebastianHC
What do you exactly mean with graphics?


Sebastian




Am 04.09.2013 10:43, schrieb Carl Gundel:
I don't know if I do need a UI, but with VisualWorks if you don't have the UI stuff loaded then you cannot draw graphics.  So I wanted to make sure that VA wasn't similarly hampered.  I am thinking that an administration UI for this service might make a nice Seaside project.  I've done a bit of work with Seaside so that should be pretty easy.
 
-Carl

On Wednesday, September 4, 2013 1:37:57 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

what do you need the UI for in this case?

Sebastian

Am 04.09.2013 10:28, schrieb Carl Gundel:
Thanks Sebastian,
 
The application I want to make as a service is a print server.  It needs to be able to render report pages with text and graphics and send them to printers.
 
I'll have a look at the Totally Objects stuff.  :-)
 
-Carl

On Wednesday, September 4, 2013 12:54:30 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

you can package a headless application/image including widget classes...
I once needed to instantiate a widget in a headless server to access
business logic that was included in the controller class of a former fat
client implementation(" :-/ "). You simply do not open that widget....
just instantiate it with, I hope I remember right, "createPart".

Maybe it is also worth haaving a look at Totally Object's "Notification
Area (System Tray)". I had to tweak it a little though it really
minimizes properly.
But I think running this application as a service didn't work for me,
since I needed access to user related data.
Could perhaps work for you...

Sebastian

Am 04.09.2013 09:25, schrieb Carl Gundel:
> Hi,
> Does a VA Smalltalk application running as a service need to be a
> headless application?
> Can a VA Smalltalk application running as a service render graphics?  
> I ask this because a VW headless app cannot draw graphics, so I'm
> wondering if VA Smalltalk has similar restrictions.
> Thanks,
> -Carl Gundel
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to va-smalltalk...@googlegroups.com.
> To post to this group, send email to [hidden email].
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="0c10R7kZ8vkJ">va-smalltalk...@googlegroups.com.
To post to this group, send email to <a moz-do-not-send="true" href="javascript:" target="_blank" gdf-obfuscated-mailto="0c10R7kZ8vkJ">va-sma...@....
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

Ben van Dijk
In reply to this post by Carl Gundel-2
Carl,

We use the standard printing stuff from VA to send letters to a printer from a headless image running as a service.
We also use graphics to print an autograph on the letters.


Op woensdag 4 september 2013 19:28:26 UTC+2 schreef Carl Gundel:
Thanks Sebastian,
 
The application I want to make as a service is a print server.  It needs to be able to render report pages with text and graphics and send them to printers.
 
I'll have a look at the Totally Objects stuff.  :-)
 
-Carl

On Wednesday, September 4, 2013 12:54:30 PM UTC-4, Sebastian Heidbrink wrote:
Hi Carl,

you can package a headless application/image including widget classes...
I once needed to instantiate a widget in a headless server to access
business logic that was included in the controller class of a former fat
client implementation(" :-/ "). You simply do not open that widget....
just instantiate it with, I hope I remember right, "createPart".

Maybe it is also worth haaving a look at Totally Object's "Notification
Area (System Tray)". I had to tweak it a little though it really
minimizes properly.
But I think running this application as a service didn't work for me,
since I needed access to user related data.
Could perhaps work for you...

Sebastian

Am 04.09.2013 09:25, schrieb Carl Gundel:

> Hi,
> Does a VA Smalltalk application running as a service need to be a
> headless application?
> Can a VA Smalltalk application running as a service render graphics?  
> I ask this because a VW headless app cannot draw graphics, so I'm
> wondering if VA Smalltalk has similar restrictions.
> Thanks,
> -Carl Gundel
> --
> You received this message because you are subscribed to the Google
> Groups "VA Smalltalk" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to va-smalltalk...@googlegroups.com.
> To post to this group, send email to [hidden email].
> Visit this group at http://groups.google.com/group/va-smalltalk.
> For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

Marten Feldtmann-2
In reply to this post by Carl Gundel-2
I am really conservative about headless system:

* all GUI stuff should be removed from such an image

* Windows allows pretty much, much more than a standard Linux headless system.

* a standard test for Linux headless systems are NOT desktop distributions, but only real server Linux distributions.

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.
Reply | Threaded
Open this post in threaded view
|

Re: Windows service questions

Carl Gundel-2
GUI stuff should be removed from a headless image, fine.  Graphics drawing is not the same thing.  Drawing graphics, saving and loading graphics files, etc. are perfectly reasonable (and useful) things for a web application server to be able to do, for example.
 
-Carl

On Sunday, September 8, 2013 4:05:18 AM UTC-4, Marten Feldtmann wrote:
I am really conservative about headless system:

* all GUI stuff should be removed from such an image

* Windows allows pretty much, much more than a standard Linux headless system.

* a standard test for Linux headless systems are NOT desktop distributions, but only real server Linux distributions.

Marten

--
You received this message because you are subscribed to the Google Groups "VA Smalltalk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To post to this group, send email to [hidden email].
Visit this group at http://groups.google.com/group/va-smalltalk.
For more options, visit https://groups.google.com/groups/opt_out.