Hi Gav, to quote Sean 'it depends'. I think it's reasonable to have an Application cfc/cfm, say for example to enforce a security model, load a framework, etc. But it's totally possible to develop one or more services that stand alone and don't need to depend on anything like the application scope.
Note: when you say service, I think of soap, rest, http, XML... I think Robin could chime in here because "service" is a pretty broad term and this might deserve a Galaxy specific answer. From the little I understand, Galaxy seem to use the term "service" as a piece of code to wrap and access an existing application (?). Sent from my iPhone On 24/11/2010, at 3:33 PM, Gavin Beau Baumanis <b...@palcare.com.au> wrote: > Hi Everyone, > > Most will be aware that (at my work) I'm currently altering our monolithic > application into several discreet services and that we're using Robin > Hilliard's (Rocketboots) open source "Galaxy" service, service. > > It's all progressing quite nicely - but I have an (almost) silly question. > Does a "service" normally get created with Application.cfc / cfm? > > My initially thought is - it possibly depends on the service. > But the more I think about it - the more I think that it doesn't require one > and possibly shouldn't have one at all. > Afterall - (I would think) - that its the responsibility of the real / > calling application to worry about session state / request start / end > processes etc - and that the service should be as "dumb" as it can possibly > can be. > > But since I don't actually know the answer - thought it best to ask. > > > > > As always, please contact me if I can be of any futher assistance. > > Gavin "Beau" Baumanis > Senior Application Developer > PalCare Pty. Ltd. > > P: +61 -3 9380 3513 > M: +61 -438 545 586 > E: b...@palcare.com.au > W: http://palcare.com.au > > -- > You received this message because you are subscribed to the Google Groups > "cfaussie" group. > To post to this group, send email to cfaus...@googlegroups.com. > To unsubscribe from this group, send email to > cfaussie+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/cfaussie?hl=en. > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.